modules.mk 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. #
  4. # Virtualization
  5. #
  6. $(eval $(call KMOD_template,KVM,kvm,\
  7. $(MODULES_DIR)/kernel/arch/${ARCH}/kvm/kvm \
  8. ,90))
  9. $(eval $(call KMOD_template,KVM_AMD,kvm-adm,\
  10. $(MODULES_DIR)/kernel/arch/${ARCH}/kvm/kvm-amd \
  11. ,95))
  12. $(eval $(call KMOD_template,KVM_INTEL,kvm-intel,\
  13. $(MODULES_DIR)/kernel/arch/${ARCH}/kvm/kvm-intel \
  14. ,95))
  15. #
  16. # Serial ATA devices
  17. #
  18. $(eval $(call KMOD_template,SATA_AHCI,sata-ahci,\
  19. $(MODULES_DIR)/kernel/drivers/ata/ahci \
  20. ,10))
  21. #
  22. # Ethernet network devices
  23. #
  24. $(eval $(call KMOD_template,NE2K_PCI,ne2k-pci,\
  25. $(MODULES_DIR)/kernel/drivers/net/8390 \
  26. $(MODULES_DIR)/kernel/drivers/net/ne2k-pci \
  27. ,20))
  28. $(eval $(call KMOD_template,8139CP,8139cp,\
  29. $(MODULES_DIR)/kernel/drivers/net/8139cp \
  30. ,20))
  31. $(eval $(call KMOD_template,8139TOO,8139too,\
  32. $(MODULES_DIR)/kernel/drivers/net/8139too \
  33. ,20))
  34. $(eval $(call KMOD_template,E100,e100,\
  35. $(MODULES_DIR)/kernel/drivers/net/e100 \
  36. ,20))
  37. $(eval $(call KMOD_template,E1000,e1000,\
  38. $(MODULES_DIR)/kernel/drivers/net/e1000/e1000 \
  39. ,20))
  40. $(eval $(call KMOD_template,SKY2,sky2,\
  41. $(MODULES_DIR)/kernel/drivers/net/sky2 \
  42. ,20))
  43. #
  44. # Wireless network devices
  45. #
  46. $(eval $(call KMOD_template,MAC80211,mac80211,\
  47. $(MODULES_DIR)/kernel/net/wireless/cfg80211 \
  48. $(MODULES_DIR)/kernel/net/mac80211/mac80211 \
  49. ,15, kmod-crypto-aes kmod-crypto-arc4 kmod-crypto-ecb))
  50. $(eval $(call KMOD_template,ATH5K,ath5k,\
  51. $(MODULES_DIR)/kernel/drivers/net/wireless/ath/ath \
  52. $(MODULES_DIR)/kernel/drivers/net/wireless/ath/ath5k/ath5k \
  53. ,20, kmod-led-class))
  54. $(eval $(call KMOD_template,P54_COMMON,p54-common,\
  55. $(MODULES_DIR)/kernel/drivers/net/wireless/p54/p54common \
  56. ,68))
  57. $(eval $(call KMOD_template,RTL8187,rtl8187,\
  58. $(MODULES_DIR)/kernel/drivers/net/wireless/rtl818x/rtl8187 \
  59. ,70))
  60. $(eval $(call KMOD_template,B43,b43,\
  61. $(MODULES_DIR)/kernel/drivers/net/wireless/b43/b43 \
  62. ,70))
  63. $(eval $(call KMOD_template,P54_USB,p54-usb,\
  64. $(MODULES_DIR)/kernel/drivers/net/wireless/p54/p54usb \
  65. ,70))
  66. $(eval $(call KMOD_template,RT2X00,rt2x00,\
  67. $(MODULES_DIR)/kernel/drivers/net/wireless/rt2x00/rt2x00lib \
  68. $(MODULES_DIR)/kernel/drivers/net/wireless/rt2x00/rt2x00pci \
  69. ,17))
  70. $(eval $(call KMOD_template,RT2400PCI,rt2400pci,\
  71. $(MODULES_DIR)/kernel/drivers/net/wireless/rt2x00/rt2400pci \
  72. ,20, kmod-led-class kmod-rt2x00))
  73. $(eval $(call KMOD_template,RT2500PCI,rt2500pci,\
  74. $(MODULES_DIR)/kernel/drivers/net/wireless/rt2x00/rt2500pci \
  75. ,20, kmod-led-class kmod-rt2x00))
  76. $(eval $(call KMOD_template,RT61PCI,rt61pci,\
  77. $(MODULES_DIR)/kernel/drivers/net/wireless/rt2x00/rt61pci \
  78. ,20, kmod-led-class kmod-rt2x00))
  79. #
  80. # Networking
  81. #
  82. $(eval $(call KMOD_template,ATM,atm,\
  83. $(MODULES_DIR)/kernel/net/atm/atm \
  84. ,50))
  85. $(eval $(call KMOD_template,ATM_BR2684,atm-br2684,\
  86. $(MODULES_DIR)/kernel/net/atm/br2684 \
  87. ,51))
  88. $(eval $(call KMOD_template,VLAN_8021Q,vlan-8021q,\
  89. $(MODULES_DIR)/kernel/net/8021q/8021q \
  90. ,5))
  91. $(eval $(call KMOD_template,BRIDGE,bridge,\
  92. $(MODULES_DIR)/kernel/net/llc/llc \
  93. $(MODULES_DIR)/kernel/net/802/stp \
  94. $(MODULES_DIR)/kernel/net/bridge/bridge \
  95. ,10))
  96. $(eval $(call KMOD_template,NET_IPGRE,net-ipgre,\
  97. $(MODULES_DIR)/kernel/net/ipv4/ip_gre \
  98. ,50))
  99. $(eval $(call KMOD_template,INET_TUNNEL,inet-tunnel,\
  100. $(MODULES_DIR)/kernel/net/ipv4/tunnel4 \
  101. ,20))
  102. $(eval $(call KMOD_template,NET_IPIP,net-ipip,\
  103. $(MODULES_DIR)/kernel/net/ipv4/ipip \
  104. ,60))
  105. $(eval $(call KMOD_template,IPV6,ipv6,\
  106. $(MODULES_DIR)/kernel/net/ipv6/ipv6 \
  107. ,19))
  108. $(eval $(call KMOD_template,IPV6_SIT,ipv6-sit,\
  109. $(MODULES_DIR)/kernel/net/ipv6/sit \
  110. ,25))
  111. $(eval $(call KMOD_template,PPP,ppp,\
  112. $(MODULES_DIR)/kernel/drivers/net/slhc \
  113. $(MODULES_DIR)/kernel/drivers/net/ppp_generic \
  114. $(MODULES_DIR)/kernel/drivers/net/ppp_async \
  115. ,50))
  116. $(eval $(call KMOD_template,PPP_MPPE,ppp-mppe,\
  117. $(MODULES_DIR)/kernel/drivers/net/ppp_mppe \
  118. ,55))
  119. $(eval $(call KMOD_template,PPPOATM,pppoatm,\
  120. $(MODULES_DIR)/kernel/net/atm/pppoatm \
  121. ,60))
  122. $(eval $(call KMOD_template,PPPOE,pppoe,\
  123. $(MODULES_DIR)/kernel/drivers/net/pppox \
  124. $(MODULES_DIR)/kernel/drivers/net/pppoe \
  125. ,60))
  126. $(eval $(call KMOD_template,TUN,tun,\
  127. $(MODULES_DIR)/kernel/drivers/net/tun \
  128. ,20))
  129. $(eval $(call KMOD_template,BONDING,bonding,\
  130. $(MODULES_DIR)/kernel/drivers/net/bonding/bonding \
  131. ,20))
  132. #
  133. # Traffic scheduling
  134. #
  135. $(eval $(call KMOD_template,NET_SCH_CBQ,net-sch-cbq,\
  136. $(MODULES_DIR)/kernel/net/sched/sch_cbq \
  137. ,40))
  138. $(eval $(call KMOD_template,NET_SCH_HTB,net-sch-htb,\
  139. $(MODULES_DIR)/kernel/net/sched/sch_htb \
  140. ,40))
  141. $(eval $(call KMOD_template,NET_SCH_HFSC,net-sch-hfsc,\
  142. $(MODULES_DIR)/kernel/net/sched/sch_hfsc \
  143. ,40))
  144. $(eval $(call KMOD_template,NET_SCH_ATM,net-sch-atm,\
  145. $(MODULES_DIR)/kernel/net/sched/sch_atm \
  146. ,40))
  147. $(eval $(call KMOD_template,NET_SCH_PRIO,net-sch-prio,\
  148. $(MODULES_DIR)/kernel/net/sched/sch_prio \
  149. ,40))
  150. $(eval $(call KMOD_template,NET_SCH_RED,net-sch-red,\
  151. $(MODULES_DIR)/kernel/net/sched/sch_red \
  152. ,40))
  153. $(eval $(call KMOD_template,NET_SCH_SFQ,net-sch-sfq,\
  154. $(MODULES_DIR)/kernel/net/sched/sch_sfq \
  155. ,40))
  156. # busybox netapps crash, when module loaded
  157. #$(eval $(call KMOD_template,NET_SCH_TEQL,net-sched-teql,\
  158. # $(MODULES_DIR)/kernel/net/sched/sch_teql \
  159. #,40))
  160. $(eval $(call KMOD_template,NET_SCH_TBF,net-sch-tbf,\
  161. $(MODULES_DIR)/kernel/net/sched/sch_tbf \
  162. ,40))
  163. $(eval $(call KMOD_template,NET_SCH_GRED,net-sch-gred,\
  164. $(MODULES_DIR)/kernel/net/sched/sch_gred \
  165. ,40))
  166. $(eval $(call KMOD_template,NET_SCH_DSMARK,net-sch-dsmark,\
  167. $(MODULES_DIR)/kernel/net/sched/sch_dsmark \
  168. ,40))
  169. $(eval $(call KMOD_template,NET_SCH_INGRESS,net-sch-ingress,\
  170. $(MODULES_DIR)/kernel/net/sched/sch_ingress \
  171. ,40))
  172. #
  173. # classifications
  174. #
  175. $(eval $(call KMOD_template,NET_CLS_BASIC,net-cls-basic,\
  176. $(MODULES_DIR)/kernel/net/sched/cls_basic \
  177. ,40))
  178. $(eval $(call KMOD_template,NET_CLS_TCINDEX,net-cls-tcindex,\
  179. $(MODULES_DIR)/kernel/net/sched/cls_tcindex \
  180. ,40))
  181. $(eval $(call KMOD_template,NET_CLS_ROUTE4,net-cls-route4,\
  182. $(MODULES_DIR)/kernel/net/sched/cls_route \
  183. ,40))
  184. $(eval $(call KMOD_template,NET_CLS_FW,net-cls-fw,\
  185. $(MODULES_DIR)/kernel/net/sched/cls_fw \
  186. ,40))
  187. $(eval $(call KMOD_template,NET_CLS_U32,net-cls-u32,\
  188. $(MODULES_DIR)/kernel/net/sched/cls_u32 \
  189. ,40))
  190. #
  191. # actions
  192. #
  193. $(eval $(call KMOD_template,NET_ACT_POLICE,net-act-police,\
  194. $(MODULES_DIR)/kernel/net/sched/act_police \
  195. ,45))
  196. $(eval $(call KMOD_template,NET_ACT_GACT,net-act-gact,\
  197. $(MODULES_DIR)/kernel/net/sched/act_gact \
  198. ,45))
  199. $(eval $(call KMOD_template,NET_ACT_MIRRED,net-act-mirred,\
  200. $(MODULES_DIR)/kernel/net/sched/act_mirred \
  201. ,45))
  202. $(eval $(call KMOD_template,NET_ACT_IPT,net-act-ipt,\
  203. $(MODULES_DIR)/kernel/net/sched/act_ipt \
  204. ,45))
  205. $(eval $(call KMOD_template,NET_ACT_PEDIT,net-act-pedit,\
  206. $(MODULES_DIR)/kernel/net/sched/act_pedit \
  207. ,45))
  208. #
  209. # IPsec
  210. #
  211. $(eval $(call KMOD_template,NET_KEY,net-key,\
  212. $(MODULES_DIR)/kernel/net/key/af_key \
  213. ,60))
  214. $(eval $(call KMOD_template,XFRM_USER,xfrm-user,\
  215. $(MODULES_DIR)/kernel/net/xfrm/xfrm_user \
  216. ,61))
  217. $(eval $(call KMOD_template,INET_AH,inet-ah,\
  218. $(MODULES_DIR)/kernel/net/ipv4/ah4 \
  219. ,65))
  220. $(eval $(call KMOD_template,INET_ESP,inet-esp,\
  221. $(MODULES_DIR)/kernel/net/ipv4/esp4 \
  222. ,65))
  223. $(eval $(call KMOD_template,INET_IPCOMP,inet-ipcomp,\
  224. $(MODULES_DIR)/kernel/net/ipv4/xfrm4_tunnel \
  225. $(MODULES_DIR)/kernel/net/xfrm/xfrm_ipcomp \
  226. $(MODULES_DIR)/kernel/net/ipv4/ipcomp \
  227. ,70))
  228. $(eval $(call KMOD_template,INET_XFRM_MODE_TRANSPORT,inet-xfrm-mode-transport,\
  229. $(MODULES_DIR)/kernel/net/ipv4/xfrm4_mode_transport \
  230. ,75))
  231. $(eval $(call KMOD_template,INET_XFRM_MODE_TUNNEL,inet-xfrm-mode-tunnel,\
  232. $(MODULES_DIR)/kernel/net/ipv4/xfrm4_mode_tunnel \
  233. ,75))
  234. $(eval $(call KMOD_template,INET_XFRM_MODE_BEET,inet-xfrm-mode-beet,\
  235. $(MODULES_DIR)/kernel/net/ipv4/xfrm4_mode_beet \
  236. ,75))
  237. ##
  238. ## Filtering / Firewalling
  239. ##
  240. #
  241. # Ethernet Bridging firewall
  242. #
  243. $(eval $(call KMOD_template,BRIDGE_NF_EBTABLES,bridge-nf-ebtables,\
  244. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebtables \
  245. ,55))
  246. $(eval $(call KMOD_template,BRIDGE_EBT_BROUTE,bridge-ebt-broute,\
  247. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebtable_broute \
  248. ,60))
  249. $(eval $(call KMOD_template,BRIDGE_EBT_T_FILTER,bridge-ebt-t-filter,\
  250. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebtable_filter \
  251. ,60))
  252. $(eval $(call KMOD_template,BRIDGE_EBT_T_NAT,bridge-ebt-t-nat,\
  253. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebtable_nat \
  254. ,60))
  255. $(eval $(call KMOD_template,BRIDGE_EBT_802_3,bridge-ebt-802-3,\
  256. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_802_3 \
  257. ,65))
  258. $(eval $(call KMOD_template,BRIDGE_EBT_AMONG,bridge-ebt-among,\
  259. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_among \
  260. ,65))
  261. $(eval $(call KMOD_template,BRIDGE_EBT_ARP,bridge-ebt-arp,\
  262. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_arpreply \
  263. ,65))
  264. $(eval $(call KMOD_template,BRIDGE_EBT_IP,bridge-ebt-ip,\
  265. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_ip \
  266. ,65))
  267. $(eval $(call KMOD_template,BRIDGE_EBT_REDIRECT,bridge-ebt-redirect,\
  268. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_redirect \
  269. ,65))
  270. #
  271. # Netfilter Core
  272. #
  273. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_CLASSIFY,netfiler-xt-target-classify,\
  274. $(MODULES_DIR)/kernel/net/netfilter/xt_CLASSIFY \
  275. ,50))
  276. CONNMARK:=xt_connmark
  277. MARK:=xt_mark
  278. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_CONNMARK,netfilter-xt-target-connmark,\
  279. $(MODULES_DIR)/kernel/net/netfilter/$(CONNMARK) \
  280. ,50))
  281. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_MARK,netfilter-xt-target-mark,\
  282. $(MODULES_DIR)/kernel/net/netfilter/$(MARK) \
  283. ,50))
  284. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_NFQUEUE,netfilter-xt-target-nfqueue,\
  285. $(MODULES_DIR)/kernel/net/netfilter/xt_NFQUEUE \
  286. ,50))
  287. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_TCPMSS,netfilter-xt-target-tcpmss,\
  288. $(MODULES_DIR)/kernel/net/netfilter/xt_TCPMSS \
  289. ,50))
  290. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_NOTRACK,netfilter-xt-target-notrack,\
  291. $(MODULES_DIR)/kernel/net/netfilter/xt_NOTRACK \
  292. ,50))
  293. #
  294. # IP: Netfilter
  295. #
  296. $(eval $(call KMOD_template,NF_CONNTRACK,nf-conntrack,\
  297. $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack \
  298. ,45))
  299. $(eval $(call KMOD_template,NF_CONNTRACK_IPV4,nf-conntrack-ipv4,\
  300. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_defrag_ipv4 \
  301. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_conntrack_ipv4 \
  302. ,50))
  303. $(eval $(call KMOD_template,NF_NAT,nf-nat,\
  304. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_nat \
  305. $(MODULES_DIR)/kernel/net/ipv4/netfilter/iptable_nat \
  306. ,50))
  307. $(eval $(call KMOD_template,NF_CONNTRACK_FTP,nf-conntrack-ftp,\
  308. $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack_ftp \
  309. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_nat_ftp \
  310. ,55))
  311. $(eval $(call KMOD_template,NF_CONNTRACK_IRC,nf-conntrack-irc,\
  312. $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack_irc \
  313. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_nat_irc \
  314. ,55))
  315. $(eval $(call KMOD_template,NF_CONNTRACK_NETBIOS_NS,nf-conntrack-netbios-ns,\
  316. $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack_netbios_ns \
  317. ,55))
  318. $(eval $(call KMOD_template,NF_CONNTRACK_TFTP,nf-conntrack-tftp,\
  319. $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack_tftp \
  320. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_nat_tftp \
  321. ,55))
  322. #$(eval $(call KMOD_template,NF_CONNTRACK_RTSP,nf-conntrack-rtsp,\
  323. # $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack_rtsp \
  324. # $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_nat_rtsp \
  325. #,55))
  326. # broken
  327. #$(eval $(call KMOD_template,NF_CONNTRACK_AMANDA,nf-conntrack-amanda,\
  328. # $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack_amanda \
  329. # $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_nat_amanda \
  330. #,55))
  331. $(eval $(call KMOD_template,NF_CONNTRACK_PPTP,nf-conntrack-pptp,\
  332. $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack_proto_gre \
  333. $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack_pptp \
  334. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_nat_pptp \
  335. ,55))
  336. $(eval $(call KMOD_template,NF_CONNTRACK_H323,nf-conntrack-h323,\
  337. $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack_h323 \
  338. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_nat_h323 \
  339. ,55))
  340. $(eval $(call KMOD_template,NF_CONNTRACK_SIP,nf-conntrack-sip,\
  341. $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack_sip \
  342. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_nat_sip \
  343. ,55))
  344. $(eval $(call KMOD_template,IP_NF_IPTABLES,ip-nf-iptables,\
  345. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_tables \
  346. ,50))
  347. $(eval $(call KMOD_template,IP_NF_MATCH_IPRANGE,ip-nf-match-iprange,\
  348. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_iprange \
  349. ,55))
  350. $(eval $(call KMOD_template,IP_NF_MATCH_TOS,ip-nf-match-tos,\
  351. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_tos \
  352. ,55))
  353. $(eval $(call KMOD_template,IP_NF_MATCH_RECENT,ip-nf-match-recent,\
  354. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_recent \
  355. ,55))
  356. $(eval $(call KMOD_template,IP_NF_MATCH_ECN,ip-nf-match-ecn,\
  357. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_ecn \
  358. ,55))
  359. $(eval $(call KMOD_template,IP_NF_MATCH_AH,ip-nf-match-ah,\
  360. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_ah \
  361. ,55))
  362. $(eval $(call KMOD_template,IP_NF_MATCH_TTL,ip-nf-match-ttl,\
  363. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_ttl \
  364. ,55))
  365. $(eval $(call KMOD_template,IP_NF_MATCH_OWNER,ip-nf-match-owner,\
  366. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_owner \
  367. ,55))
  368. $(eval $(call KMOD_template,IP_NF_MATCH_ADDRTYPE,ip-nf-match-addrtype,\
  369. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_addrtype \
  370. ,55))
  371. $(eval $(call KMOD_template,IP_NF_MATCH_HASHLIMIT,ip-nf-match-hashlimit,\
  372. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_hashlimit \
  373. ,55))
  374. $(eval $(call KMOD_template,IP_NF_MATCH_STATE,ip-nf-match-state,\
  375. $(MODULES_DIR)/kernel/net/netfilter/xt_state \
  376. ,55))
  377. $(eval $(call KMOD_template,IP_NF_MATCH_MULTIPORT,ip-nf-match-multiport,\
  378. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_multiport \
  379. ,55))
  380. #
  381. # Filtering
  382. #
  383. $(eval $(call KMOD_template,IP_NF_FILTER,ip-nf-filter,\
  384. $(MODULES_DIR)/kernel/net/ipv4/netfilter/iptable_filter \
  385. ,55))
  386. $(eval $(call KMOD_template,IP_NF_TARGET_REJECT,ip-nf-target-reject,\
  387. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_REJECT \
  388. ,60))
  389. $(eval $(call KMOD_template,IP_NF_TARGET_LOG,ip-nf-target-log,\
  390. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_LOG \
  391. ,60))
  392. $(eval $(call KMOD_template,IP_NF_TARGET_ULOG,ip-nf-target-ulog,\
  393. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_ULOG \
  394. ,60))
  395. $(eval $(call KMOD_template,IP_NF_TARGET_TCPMSS,ip-nf-target-tcpmss,\
  396. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_TCPMSS \
  397. ,60))
  398. $(eval $(call KMOD_template,IP_NF_TARGET_MASQUERADE,ip-nf-target-masquerade,\
  399. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_MASQUERADE \
  400. ,65))
  401. $(eval $(call KMOD_template,IP_NF_TARGET_REDIRECT,ip-nf-target-redirect,\
  402. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_REDIRECT \
  403. ,65))
  404. $(eval $(call KMOD_template,IP_NF_TARGET_NETMAP,ip-nf-target-netmap,\
  405. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_NETMAP \
  406. ,65))
  407. #
  408. # Mangle
  409. #
  410. $(eval $(call KMOD_template,IP_NF_MANGLE,ip-nf-mangle,\
  411. $(MODULES_DIR)/kernel/net/ipv4/netfilter/iptable_mangle \
  412. ,60))
  413. $(eval $(call KMOD_template,IP_NF_TARGET_TOS,ip-nf-target-tos,\
  414. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_TOS \
  415. ,65))
  416. $(eval $(call KMOD_template,IP_NF_TARGET_ECN,ip-nf-target-ecn,\
  417. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_ECN \
  418. ,65))
  419. $(eval $(call KMOD_template,IP_NF_TARGET_TTL,ip-nf-target-ttl,\
  420. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_TTL \
  421. ,65))
  422. #
  423. # IPv6: Netfilter
  424. #
  425. $(eval $(call KMOD_template,NF_CONNTRACK_IPV6,nf-conntrack-ipv6,\
  426. $(MODULES_DIR)/kernel/net/ipv6/netfilter/nf_conntrack_ipv6 \
  427. ,50))
  428. $(eval $(call KMOD_template,IP6_NF_IPTABLES,ip6-nf-iptables,\
  429. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6_tables \
  430. ,50))
  431. $(eval $(call KMOD_template,IP6_NF_MATCH_AH,ip6-nf-match-ah,\
  432. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6t_ah \
  433. ,55))
  434. $(eval $(call KMOD_template,IP6_NF_MATCH_EUI64,ip6-nf-match-eui64,\
  435. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6t_eui64 \
  436. ,55))
  437. $(eval $(call KMOD_template,IP6_NF_MATCH_FRAG,ip6-nf-match-frag,\
  438. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6t_frag \
  439. ,55))
  440. $(eval $(call KMOD_template,IP6_NF_MATCH_OPTS,ip6-nf-match-opts,\
  441. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6t_hbh \
  442. ,55))
  443. $(eval $(call KMOD_template,IP6_NF_MATCH_IPV6HEADER,ip6-nf-match-ipv6header,\
  444. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6t_ipv6header \
  445. ,55))
  446. $(eval $(call KMOD_template,IP6_NF_MATCH_MH,ip6-nf-match-mh,\
  447. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6t_mh \
  448. ,55))
  449. $(eval $(call KMOD_template,IP6_NF_MATCH_RT,ip6-nf-match-rt,\
  450. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6t_rt \
  451. ,55))
  452. $(eval $(call KMOD_template,IP6_NF_TARGET_LOG,ip6-nf-target-log,\
  453. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6t_LOG \
  454. ,55))
  455. #
  456. # IPv6: Filtering
  457. #
  458. $(eval $(call KMOD_template,IP6_NF_FILTER,ip6-nf-filter,\
  459. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6table_filter \
  460. ,55))
  461. $(eval $(call KMOD_template,IP6_NF_TARGET_REJECT,ip6-nf-target-reject,\
  462. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6t_REJECT \
  463. ,60))
  464. #
  465. # IPv6: Mangle
  466. #
  467. $(eval $(call KMOD_template,IP6_NF_MANGLE,ip6-nf-mangle,\
  468. $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6table_mangle \
  469. ,60))
  470. #
  471. # IPVS
  472. #
  473. IPVSPATH=$(MODULES_DIR)/kernel/net/netfilter/ipvs
  474. $(eval $(call KMOD_template,IP_VS,ip-vs,\
  475. $(IPVSPATH)/ip_vs \
  476. ,55))
  477. $(eval $(call KMOD_template,IP_VS_RR,ip-vs-rr,\
  478. $(IPVSPATH)/ip_vs_rr \
  479. ,55))
  480. $(eval $(call KMOD_template,IP_VS_WRR,ip-vs-wrr,\
  481. $(IPVSPATH)/ip_vs_wrr \
  482. ,55))
  483. $(eval $(call KMOD_template,IP_VS_LC,ip-vs-lc,\
  484. $(IPVSPATH)/ip_vs_lc \
  485. ,55))
  486. $(eval $(call KMOD_template,IP_VS_WLC,ip-vs-wlc,\
  487. $(IPVSPATH)/ip_vs_wlc \
  488. ,55))
  489. $(eval $(call KMOD_template,IP_VS_LBLC,ip-vs-lblc,\
  490. $(IPVSPATH)/ip_vs_lblc \
  491. ,55))
  492. $(eval $(call KMOD_template,IP_VS_LBLCR,ip-vs-lblcr,\
  493. $(IPVSPATH)/ip_vs_lblcr \
  494. ,55))
  495. $(eval $(call KMOD_template,IP_VS_DH,ip-vs-dh,\
  496. $(IPVSPATH)/ip_vs_dh \
  497. ,55))
  498. $(eval $(call KMOD_template,IP_VS_SH,ip-vs-sh,\
  499. $(IPVSPATH)/ip_vs_sh \
  500. ,55))
  501. $(eval $(call KMOD_template,IP_VS_SED,ip-vs-sed,\
  502. $(IPVSPATH)/ip_vs_sed \
  503. ,55))
  504. $(eval $(call KMOD_template,IP_VS_NQ,ip-vs-nq,\
  505. $(IPVSPATH)/ip_vs_nq \
  506. ,55))
  507. $(eval $(call KMOD_template,IP_VS_FTP,ip-vs-ftp,\
  508. $(IPVSPATH)/ip_vs_ftp \
  509. ,55))
  510. #
  511. # Block devices
  512. #
  513. $(eval $(call KMOD_template,BLK_DEV_LOOP,blk-dev-loop,\
  514. $(MODULES_DIR)/kernel/drivers/block/loop \
  515. ,20))
  516. $(eval $(call KMOD_template,BLK_DEV_NBD,blk-dev-nbd,\
  517. $(MODULES_DIR)/kernel/drivers/block/nbd \
  518. ,20))
  519. $(eval $(call KMOD_template,SCSI,scsi,\
  520. $(MODULES_DIR)/kernel/drivers/scsi/scsi_wait_scan \
  521. $(MODULES_DIR)/kernel/drivers/scsi/scsi_mod \
  522. ,20))
  523. $(eval $(call KMOD_template,BLK_DEV_SD,blk-dev-sd,\
  524. $(MODULES_DIR)/kernel/drivers/scsi/sd_mod \
  525. ,25))
  526. $(eval $(call KMOD_template,BLK_DEV_SR,blk-dev-sr,\
  527. $(MODULES_DIR)/kernel/drivers/cdrom/cdrom \
  528. $(MODULES_DIR)/kernel/drivers/scsi/sr_mod \
  529. ,25))
  530. #
  531. # RAID
  532. #
  533. $(eval $(call KMOD_template,BLK_DEV_MD,blk-dev-md,\
  534. $(MODULES_DIR)/kernel/drivers/md/md-mod \
  535. ,30))
  536. $(eval $(call KMOD_template,MD_RAID0,md-raid0,\
  537. $(MODULES_DIR)/kernel/drivers/md/raid0 \
  538. ,35))
  539. $(eval $(call KMOD_template,MD_RAID1,md-raid1,\
  540. $(MODULES_DIR)/kernel/drivers/md/raid1 \
  541. ,35))
  542. $(eval $(call KMOD_template,MD_RAID456,md-raid456,\
  543. $(MODULES_DIR)/kernel/crypto/xor \
  544. $(MODULES_DIR)/kernel/crypto/async_tx/async_tx \
  545. $(MODULES_DIR)/kernel/crypto/async_tx/async_xor \
  546. $(MODULES_DIR)/kernel/crypto/async_tx/async_memcpy \
  547. $(MODULES_DIR)/kernel/drivers/md/raid6_pq \
  548. $(MODULES_DIR)/kernel/crypto/async_tx/async_raid6_recov \
  549. $(MODULES_DIR)/kernel/drivers/md/raid456 \
  550. ,35))
  551. #
  552. # Device Mapper
  553. #
  554. $(eval $(call KMOD_template,BLK_DEV_DM,blk-dev-dm,\
  555. $(MODULES_DIR)/kernel/drivers/md/dm-mod \
  556. ,35))
  557. $(eval $(call KMOD_template,DM_CRYPT,dm-crypt,\
  558. $(MODULES_DIR)/kernel/drivers/md/dm-crypt \
  559. ,40))
  560. $(eval $(call KMOD_template,DM_MIRROR,dm-mirror,\
  561. $(MODULES_DIR)/kernel/drivers/md/dm-log \
  562. $(MODULES_DIR)/kernel/drivers/md/dm-region-hash \
  563. $(MODULES_DIR)/kernel/drivers/md/dm-mirror \
  564. ,40))
  565. $(eval $(call KMOD_template,DM_SNAPSHOT,dm-snapshot,\
  566. $(MODULES_DIR)/kernel/drivers/md/dm-snapshot \
  567. ,40))
  568. #
  569. # Crypto
  570. #
  571. $(eval $(call KMOD_template,CRYPTO_DEV_GEODE,crypto-dev-geode,\
  572. $(MODULES_DIR)/kernel/drivers/crypto/geode-aes \
  573. ,20))
  574. $(eval $(call KMOD_template,CRYPTO_ALGAPI,crypto-algapi,\
  575. $(MODULES_DIR)/kernel/crypto/crypto_algapi \
  576. $(MODULES_DIR)/kernel/crypto/pcompress \
  577. ,02))
  578. $(eval $(call KMOD_template,CRYPTO_AEAD,crypto-aead,\
  579. $(MODULES_DIR)/kernel/crypto/aead \
  580. ,03))
  581. $(eval $(call KMOD_template,CRYPTO_HASH,crypto-hash,\
  582. $(MODULES_DIR)/kernel/crypto/crypto_hash \
  583. ,04))
  584. $(eval $(call KMOD_template,CRYPTO_BLKCIPHER,crypto-blkcipher,\
  585. $(MODULES_DIR)/kernel/crypto/crypto_wq \
  586. $(MODULES_DIR)/kernel/crypto/crypto_blkcipher \
  587. ,05))
  588. $(eval $(call KMOD_template,CRYPTO_RNG2,crypto-rng2,\
  589. $(MODULES_DIR)/kernel/crypto/rng \
  590. $(MODULES_DIR)/kernel/crypto/krng \
  591. ,06))
  592. $(eval $(call KMOD_template,CRYPTO_MANAGER,crypto-manager,\
  593. $(MODULES_DIR)/kernel/crypto/cryptomgr \
  594. $(MODULES_DIR)/kernel/crypto/eseqiv \
  595. $(MODULES_DIR)/kernel/crypto/chainiv \
  596. ,07))
  597. $(eval $(call KMOD_template,CRYPTO_AUTHENC,crypto-authenc,\
  598. $(MODULES_DIR)/kernel/crypto/authenc \
  599. ,11))
  600. $(eval $(call KMOD_template,CRYPTO_HMAC,crypto-hmac,\
  601. $(MODULES_DIR)/kernel/crypto/hmac \
  602. ,11))
  603. $(eval $(call KMOD_template,CRYPTO_XCBC,crypto-xcbc,\
  604. $(MODULES_DIR)/kernel/crypto/xcbc \
  605. ,11))
  606. $(eval $(call KMOD_template,CRYPTO_NULL,crypto-null,\
  607. $(MODULES_DIR)/kernel/crypto/crypto_null \
  608. ,11))
  609. $(eval $(call KMOD_template,CRYPTO_MD4,crypto-md4,\
  610. $(MODULES_DIR)/kernel/crypto/md4 \
  611. ,11))
  612. $(eval $(call KMOD_template,CRYPTO_MD5,crypto-md5,\
  613. $(MODULES_DIR)/kernel/crypto/md5 \
  614. ,11))
  615. $(eval $(call KMOD_template,CRYPTO_SHA1,crypto-sha1,\
  616. $(MODULES_DIR)/kernel/crypto/sha1_generic \
  617. ,11))
  618. $(eval $(call KMOD_template,CRYPTO_SHA256,crypto-sha256,\
  619. $(MODULES_DIR)/kernel/crypto/sha256_generic \
  620. ,11))
  621. $(eval $(call KMOD_template,CRYPTO_SHA512,crypto-sha512,\
  622. $(MODULES_DIR)/kernel/crypto/sha512_generic \
  623. ,11))
  624. $(eval $(call KMOD_template,CRYPTO_WP512,crypto-wp512,\
  625. $(MODULES_DIR)/kernel/crypto/wp512 \
  626. ,11))
  627. $(eval $(call KMOD_template,CRYPTO_TGR192,crypto-tgr192,\
  628. $(MODULES_DIR)/kernel/crypto/tgr192 \
  629. ,11))
  630. $(eval $(call KMOD_template,CRYPTO_SEQIV,crypto-seqiv,\
  631. $(MODULES_DIR)/kernel/crypto/seqiv \
  632. ,5))
  633. $(eval $(call KMOD_template,CRYPTO_CTR,crypto-ctr,\
  634. $(MODULES_DIR)/kernel/crypto/ctr \
  635. ,10))
  636. $(eval $(call KMOD_template,CRYPTO_CCM,crypto-ccm,\
  637. $(MODULES_DIR)/kernel/crypto/ccm \
  638. ,10))
  639. $(eval $(call KMOD_template,CRYPTO_ECB,crypto-ecb,\
  640. $(MODULES_DIR)/kernel/crypto/ecb \
  641. ,10))
  642. $(eval $(call KMOD_template,CRYPTO_CBC,crypto-cbc,\
  643. $(MODULES_DIR)/kernel/crypto/cbc \
  644. ,10))
  645. $(eval $(call KMOD_template,CRYPTO_DES,crypto-des,\
  646. $(MODULES_DIR)/kernel/crypto/des_generic \
  647. ,10))
  648. $(eval $(call KMOD_template,CRYPTO_BLOWFISH,crypto-blowfish,\
  649. $(MODULES_DIR)/kernel/crypto/blowfish \
  650. ,11))
  651. $(eval $(call KMOD_template,CRYPTO_TWOFISH,crypto-twofish,\
  652. $(MODULES_DIR)/kernel/crypto/twofish_common \
  653. $(MODULES_DIR)/kernel/crypto/twofish \
  654. ,11))
  655. $(eval $(call KMOD_template,CRYPTO_TWOFISH_586,crypto-twofish-586,\
  656. $(MODULES_DIR)/kernel/arch/x86/crypto/twofish-i586 \
  657. ,12))
  658. $(eval $(call KMOD_template,CRYPTO_SERPENT,crypto-serpent,\
  659. $(MODULES_DIR)/kernel/crypto/serpent \
  660. ,11))
  661. $(eval $(call KMOD_template,CRYPTO_AES,crypto-aes,\
  662. $(MODULES_DIR)/kernel/crypto/aes_generic \
  663. ,10))
  664. $(eval $(call KMOD_template,CRYPTO_AES_586,crypto-aes-586,\
  665. $(MODULES_DIR)/kernel/arch/x86/crypto/aes-i586 \
  666. ,11))
  667. $(eval $(call KMOD_template,CRYPTO_CAST5,crypto-cast5,\
  668. $(MODULES_DIR)/kernel/crypto/cast5 \
  669. ,11))
  670. $(eval $(call KMOD_template,CRYPTO_CAST6,crypto-cast6,\
  671. $(MODULES_DIR)/kernel/crypto/cast6 \
  672. ,11))
  673. $(eval $(call KMOD_template,CRYPTO_TEA,crypto-tea,\
  674. $(MODULES_DIR)/kernel/crypto/tea \
  675. ,11))
  676. $(eval $(call KMOD_template,CRYPTO_ARC4,crypto-arc4,\
  677. $(MODULES_DIR)/kernel/crypto/arc4 \
  678. ,11))
  679. $(eval $(call KMOD_template,CRYPTO_KHAZAD,crypto-khazad,\
  680. $(MODULES_DIR)/kernel/crypto/khazad \
  681. ,11))
  682. $(eval $(call KMOD_template,CRYPTO_ANUBIS,crypto-anubis,\
  683. $(MODULES_DIR)/kernel/crypto/anubis \
  684. ,11))
  685. $(eval $(call KMOD_template,CRYPTO_CAMELLIA,crypto-camellia,\
  686. $(MODULES_DIR)/kernel/crypto/camellia \
  687. ,11))
  688. $(eval $(call KMOD_template,CRYPTO_FCRYPT,crypto-fcrypt,\
  689. $(MODULES_DIR)/kernel/crypto/fcrypt \
  690. ,11))
  691. ZLIB:=lib/zlib_deflate/zlib_deflate
  692. ifeq ($(ADK_LINUX_CRIS_FOXBOARD),)
  693. ifeq ($(ADK_LINUX_MIPS_AG241),)
  694. ZLIB+=lib/zlib_inflate/zlib_inflate
  695. endif
  696. endif
  697. $(eval $(call KMOD_template,CRYPTO_DEFLATE,crypto-deflate,\
  698. $(foreach mod, $(ZLIB),$(MODULES_DIR)/kernel/$(mod)) \
  699. $(MODULES_DIR)/kernel/crypto/deflate \
  700. ,10))
  701. $(eval $(call KMOD_template,CRYPTO_LZO,crypto-lzo,\
  702. $(MODULES_DIR)/kernel/lib/lzo/lzo_compress \
  703. $(MODULES_DIR)/kernel/lib/lzo/lzo_decompress \
  704. $(MODULES_DIR)/kernel/crypto/lzo \
  705. ,10))
  706. $(eval $(call KMOD_template,CRYPTO_MICHAEL_MIC,crypto-michael-mic,\
  707. $(MODULES_DIR)/kernel/crypto/michael_mic \
  708. ,11))
  709. $(eval $(call KMOD_template,CRYPTO_CRC32C,crypto-crc32c,\
  710. $(MODULES_DIR)/kernel/crypto/crc32c \
  711. ,11))
  712. $(eval $(call KMOD_template,OCF_CRYPTOSOFT,ocf-cryptosoft,\
  713. ${MODULES_DIR}/kernel/crypto/ocf/cryptosoft \
  714. ,12))
  715. $(eval $(call KMOD_template,OCF_SAFE,ocf-safe,\
  716. ${MODULES_DIR}/kernel/crypto/ocf/safe/safe \
  717. ,12))
  718. $(eval $(call KMOD_template,OCF_IXP4XX,ocf-ixp4xx,\
  719. ${MODULES_DIR}/kernel/crypto/ocf/ixp4xx/ixp4xx \
  720. ,12))
  721. $(eval $(call KMOD_template,OCF_HIFN,ocf-hifn,\
  722. ${MODULES_DIR}/kernel/crypto/ocf/hifn/hifn7751 \
  723. ,12))
  724. $(eval $(call KMOD_template,OCF_TALITOS,ocf-talitos,\
  725. ${MODULES_DIR}/kernel/crypto/ocf/talitos/talitos \
  726. ,12))
  727. #
  728. # Filesystems
  729. #
  730. $(eval $(call KMOD_template,AUFS_FS,aufs-fs,\
  731. $(MODULES_DIR)/kernel/fs/aufs/aufs \
  732. ,30))
  733. $(eval $(call KMOD_template,CIFS,cifs,\
  734. $(MODULES_DIR)/kernel/fs/cifs/cifs \
  735. ,30))
  736. $(eval $(call KMOD_template,CODA_FS,coda-fs,\
  737. $(MODULES_DIR)/kernel/fs/coda/coda \
  738. ,30))
  739. ifneq ($(ADK_KERNEL_EXT2_FS),y)
  740. $(eval $(call KMOD_template,EXT2_FS,ext2-fs,\
  741. $(MODULES_DIR)/kernel/fs/ext2/ext2 \
  742. ,30))
  743. endif
  744. $(eval $(call KMOD_template,EXT3_FS,ext3-fs,\
  745. $(MODULES_DIR)/kernel/fs/jbd/jbd \
  746. $(MODULES_DIR)/kernel/fs/ext3/ext3 \
  747. ,30))
  748. $(eval $(call KMOD_template,EXT4_FS,ext4-fs,\
  749. $(MODULES_DIR)/kernel/fs/mbcache \
  750. $(MODULES_DIR)/kernel/fs/jbd2/jbd2 \
  751. $(MODULES_DIR)/kernel/fs/ext4/ext4 \
  752. ,30))
  753. $(eval $(call KMOD_template,FUSE_FS,fuse-fs,\
  754. $(MODULES_DIR)/kernel/fs/fuse/fuse \
  755. ,30))
  756. $(eval $(call KMOD_template,HFSPLUS_FS,hfsplus-fs,\
  757. $(MODULES_DIR)/kernel/fs/hfsplus/hfsplus \
  758. ,30))
  759. $(eval $(call KMOD_template,SUNRPC,sunrpc,\
  760. $(MODULES_DIR)/kernel/net/sunrpc/sunrpc \
  761. ,24))
  762. $(eval $(call KMOD_template,SUNRPC_GSS,sunrpc-gss,\
  763. $(MODULES_DIR)/kernel/net/sunrpc/auth_gss/auth_rpcgss \
  764. ,25))
  765. $(eval $(call KMOD_template,RPCSEC_GSS_KRB5,rpcsec-gss-krb5,\
  766. $(MODULES_DIR)/kernel/net/sunrpc/auth_gss/rpcsec_gss_krb5 \
  767. ,26))
  768. $(eval $(call KMOD_template,LOCKD,lockd,\
  769. $(MODULES_DIR)/kernel/fs/lockd/lockd \
  770. ,27))
  771. ifneq ($(ADK_KERNEL_NFS_FS),y)
  772. $(eval $(call KMOD_template,NFS_FS,nfs-fs,\
  773. $(MODULES_DIR)/kernel/fs/nfs/nfs \
  774. ,30))
  775. endif
  776. $(eval $(call KMOD_template,EXPORTFS,exportfs,\
  777. $(MODULES_DIR)/kernel/fs/exportfs/exportfs \
  778. ,20))
  779. $(eval $(call KMOD_template,NFSD,nfsd,\
  780. $(MODULES_DIR)/kernel/fs/nfsd/nfsd \
  781. ,30))
  782. $(eval $(call KMOD_template,NTFS_FS,ntfs-fs,\
  783. $(MODULES_DIR)/kernel/fs/ntfs/ntfs \
  784. ,30))
  785. $(eval $(call KMOD_template,VFAT_FS,vfat-fs,\
  786. $(MODULES_DIR)/kernel/fs/fat/fat \
  787. $(MODULES_DIR)/kernel/fs/fat/vfat \
  788. ,30))
  789. $(eval $(call KMOD_template,XFS_FS,xfs-fs,\
  790. $(MODULES_DIR)/kernel/fs/xfs/xfs \
  791. ,30))
  792. $(eval $(call KMOD_template,YAFFS_FS,yaffs-fs,\
  793. $(MODULES_DIR)/kernel/fs/yaffs2/yaffs \
  794. ,30))
  795. $(eval $(call KMOD_template,REISERFS_FS,reiserfs-fs,\
  796. $(MODULES_DIR)/kernel/fs/reiserfs/reiserfs \
  797. ,30))
  798. $(eval $(call KMOD_template,ISO9660_FS,iso9660-fs,\
  799. $(MODULES_DIR)/kernel/fs/isofs/isofs \
  800. ,30))
  801. $(eval $(call KMOD_template,UDF_FS,udf-fs,\
  802. $(MODULES_DIR)/kernel/fs/udf/udf \
  803. ,30))
  804. #
  805. # Multimedia
  806. #
  807. $(eval $(call KMOD_template,SOUND,sound,\
  808. $(MODULES_DIR)/kernel/sound/soundcore \
  809. ,30))
  810. $(eval $(call KMOD_template,SND,snd,\
  811. $(MODULES_DIR)/kernel/sound/core/snd-page-alloc \
  812. $(MODULES_DIR)/kernel/sound/core/snd \
  813. $(MODULES_DIR)/kernel/sound/core/snd-timer \
  814. $(MODULES_DIR)/kernel/sound/core/snd-pcm \
  815. ,40))
  816. $(eval $(call KMOD_template,SND_RAWMIDI,snd-rawmidi,\
  817. $(MODULES_DIR)/kernel/sound/core/snd-hwdep \
  818. $(MODULES_DIR)/kernel/sound/core/snd-rawmidi \
  819. ,41))
  820. $(eval $(call KMOD_template,SND_OSSEMUL,snd-ossemul,\
  821. $(MODULES_DIR)/kernel/sound/core/oss/snd-mixer-oss \
  822. $(MODULES_DIR)/kernel/sound/core/oss/snd-pcm-oss \
  823. ,45))
  824. $(eval $(call KMOD_template,SND_AC97_CODEC,snd-ac97-codec,\
  825. $(MODULES_DIR)/kernel/sound/ac97_bus \
  826. $(MODULES_DIR)/kernel/sound/pci/ac97/snd-ac97-codec \
  827. ,50))
  828. $(eval $(call KMOD_template,SND_VIA82XX,snd-via82xx,\
  829. $(MODULES_DIR)/kernel/sound/drivers/mpu401/snd-mpu401-uart \
  830. $(MODULES_DIR)/kernel/sound/pci/snd-via82xx \
  831. ,55))
  832. $(eval $(call KMOD_template,SND_ENS1370,snd-ens1370,\
  833. $(MODULES_DIR)/kernel/sound/pci/snd-ens1370 \
  834. ,55))
  835. $(eval $(call KMOD_template,SND_CS5535AUDIO,sound-cs5535audio,\
  836. $(MODULES_DIR)/kernel/sound/pci/cs5535audio/snd-cs5535audio \
  837. ,55))
  838. V4L_COMPAT:=drivers/media/video/v4l1-compat
  839. ifeq ($(ADK_LINUX_64),y)
  840. V4L_COMPAT+=drivers/media/video/v4l2-compat-ioctl32
  841. endif
  842. $(eval $(call KMOD_template,VIDEO_DEV,video-dev,\
  843. $(foreach mod, $(V4L_COMPAT),$(MODULES_DIR)/kernel/$(mod)) \
  844. $(MODULES_DIR)/kernel/drivers/media/video/videodev \
  845. ,65))
  846. $(eval $(call KMOD_template,USB_VIDEO_CLASS,usb-video-class,\
  847. $(MODULES_DIR)/kernel/drivers/media/video/uvc/uvcvideo \
  848. ,70))
  849. $(eval $(call KMOD_template,PWC,pwc,\
  850. $(MODULES_DIR)/kernel/drivers/usb/pwc \
  851. ,70))
  852. #
  853. # PCMCIA/CardBus
  854. #
  855. $(eval $(call KMOD_template,PCCARD,pccard,\
  856. $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core \
  857. ,40))
  858. $(eval $(call KMOD_template,YENTA,yenta,\
  859. $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic \
  860. $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket \
  861. ,50))
  862. $(eval $(call KMOD_template,PCMCIA,pcmcia,\
  863. $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia \
  864. ,60))
  865. $(eval $(call KMOD_template,SERIAL_8250_CS,serial-8250-cs,\
  866. $(MODULES_DIR)/kernel/drivers/serial/serial_cs \
  867. ,70))
  868. #
  869. # Input
  870. #
  871. $(eval $(call KMOD_template,KEYBOARD_ATKBD,keyboard-atkbd,\
  872. $(MODULES_DIR)/kernel/drivers/input/keyboard/atkbd \
  873. ,45))
  874. $(eval $(call KMOD_template,INPUT_MOUSEDEV,input-mousedev,\
  875. $(MODULES_DIR)/kernel/drivers/input/mousedev \
  876. ,45))
  877. $(eval $(call KMOD_template,INPUT_EVDEV,input-evdev,\
  878. $(MODULES_DIR)/kernel/drivers/input/evdev \
  879. ,45))
  880. #
  881. # USB
  882. #
  883. ifeq ($(ADK_LINUX_CRIS_FOXBOARD),)
  884. $(eval $(call KMOD_template,USB,usb,\
  885. $(MODULES_DIR)/kernel/drivers/usb/core/usbcore \
  886. ,50))
  887. endif
  888. $(eval $(call KMOD_template,USB_OHCI_HCD,usb-ohci-hcd,\
  889. $(MODULES_DIR)/kernel/drivers/usb/host/ohci-hcd \
  890. ,60))
  891. $(eval $(call KMOD_template,USB_UHCI_HCD,usb-uhci-hcd,\
  892. $(MODULES_DIR)/kernel/drivers/usb/host/uhci-hcd \
  893. ,60))
  894. $(eval $(call KMOD_template,USB_EHCI_HCD,usb-ehci-hcd,\
  895. $(MODULES_DIR)/kernel/drivers/usb/host/ehci-hcd \
  896. ,60))
  897. $(eval $(call KMOD_template,USB_ACM,usb-acm,\
  898. $(MODULES_DIR)/kernel/drivers/usb/class/cdc-acm \
  899. ,70))
  900. $(eval $(call KMOD_template,USB_HID,usb-hid,\
  901. $(MODULES_DIR)/kernel/drivers/hid/usbhid/usbhid \
  902. ,70))
  903. $(eval $(call KMOD_template,USB_PRINTER,usb-printer,\
  904. $(MODULES_DIR)/kernel/drivers/usb/class/usblp \
  905. ,70))
  906. $(eval $(call KMOD_template,USB_SERIAL,usb-serial,\
  907. $(MODULES_DIR)/kernel/drivers/usb/serial/usbserial \
  908. ,70))
  909. $(eval $(call KMOD_template,USB_SERIAL_BELKIN,usb-serial-belkin,\
  910. $(MODULES_DIR)/kernel/drivers/usb/serial/belkin_sa \
  911. ,71))
  912. $(eval $(call KMOD_template,USB_SERIAL_FTDI_SIO,usb-serial-ftdi-sio,\
  913. $(MODULES_DIR)/kernel/drivers/usb/serial/ftdi_sio \
  914. ,71))
  915. $(eval $(call KMOD_template,USB_SERIAL_MCT_U232,usb-serial-mct-u232,\
  916. $(MODULES_DIR)/kernel/drivers/usb/serial/mct_u232 \
  917. ,71))
  918. $(eval $(call KMOD_template,USB_SERIAL_PL2303,usb-serial-pl2303,\
  919. $(MODULES_DIR)/kernel/drivers/usb/serial/pl2303 \
  920. ,71))
  921. $(eval $(call KMOD_template,USB_SERIAL_VISOR,usb-serial-visor,\
  922. $(MODULES_DIR)/kernel/drivers/usb/serial/visor \
  923. ,71))
  924. $(eval $(call KMOD_template,USB_STORAGE,usb-storage,\
  925. $(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage \
  926. ,75))
  927. $(eval $(call KMOD_template,USB_PEGASUS,usb-pegasus,\
  928. $(MODULES_DIR)/kernel/drivers/net/usb/pegasus \
  929. ,75))
  930. $(eval $(call KMOD_template,USB_HSO,usb-hso,\
  931. $(MODULES_DIR)/kernel/drivers/net/usb/hso \
  932. ,75))
  933. SNDUSB:=snd-usbmidi-lib
  934. $(eval $(call KMOD_template,SND_USB_AUDIO,snd-usb-audio,\
  935. $(MODULES_DIR)/kernel/sound/usb/$(SNDUSB) \
  936. $(MODULES_DIR)/kernel/sound/usb/snd-usb-audio \
  937. ,75))
  938. #
  939. # Bluetooth
  940. #
  941. $(eval $(call KMOD_template,BT,bt,\
  942. $(MODULES_DIR)/kernel/net/bluetooth/bluetooth \
  943. ,70))
  944. $(eval $(call KMOD_template,BT_HCIBCM203X,bt-hcibcm203x,\
  945. $(MODULES_DIR)/kernel/drivers/bluetooth/bcm203x \
  946. ,75))
  947. $(eval $(call KMOD_template,BT_HCIBTUSB,bt-hcibtusb,\
  948. $(MODULES_DIR)/kernel/drivers/bluetooth/btusb \
  949. ,76))
  950. $(eval $(call KMOD_template,BT_HCIUART,bt-hciuart,\
  951. $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart \
  952. ,75))
  953. $(eval $(call KMOD_template,BT_L2CAP,bt-l2cap,\
  954. $(MODULES_DIR)/kernel/net/bluetooth/l2cap \
  955. ,80))
  956. $(eval $(call KMOD_template,BT_SCO,bt-sco,\
  957. $(MODULES_DIR)/kernel/net/bluetooth/sco \
  958. ,85))
  959. $(eval $(call KMOD_template,BT_BNEP,bt-bnep,\
  960. $(MODULES_DIR)/kernel/net/bluetooth/bnep/bnep \
  961. ,85))
  962. $(eval $(call KMOD_template,BT_RFCOMM,bt-rfcomm,\
  963. $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm \
  964. ,85))
  965. #
  966. # Misc devices
  967. #
  968. $(eval $(call KMOD_template,SOFTDOG,softdog,\
  969. $(MODULES_DIR)/kernel/drivers/char/watchdog/softdog \
  970. ,95))
  971. $(eval $(call KMOD_template,FW_LOADER,fw-loader,\
  972. $(MODULES_DIR)/kernel/drivers/base/firmware_class \
  973. ,01))
  974. $(eval $(call KMOD_template,EEPROM_93CX6,eeprom-93cx6,\
  975. $(MODULES_DIR)/kernel/drivers/misc/eeprom/eeprom_93cx6 \
  976. ,05))
  977. $(eval $(call KMOD_template,LEDS_CLASS,leds-class,\
  978. $(MODULES_DIR)/kernel/drivers/leds/led-class \
  979. ,05))
  980. $(eval $(call KMOD_template,LEDS_TRIGGER_TIMER,leds-trigger-timer,\
  981. $(MODULES_DIR)/kernel/drivers/leds/ledtrig-timer \
  982. ,10))
  983. $(eval $(call KMOD_template,LEDS_TRIGGER_HEARTBEAT,leds-trigger-heartbeat,\
  984. $(MODULES_DIR)/kernel/drivers/leds/ledtrig-heartbeat \
  985. ,10))
  986. $(eval $(call KMOD_template,LEDS_TRIGGER_DEFAULT_ON,leds-trigger-default-on,\
  987. $(MODULES_DIR)/kernel/drivers/leds/ledtrig-default-on \
  988. ,10))
  989. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_LED,netfilter-xt-target-led,\
  990. $(MODULES_DIR)/kernel/net/netfilter/xt_LED \
  991. ,90))
  992. #
  993. # NLS
  994. #
  995. $(eval $(call KMOD_template,NLS,nls,\
  996. $(MODULES_DIR)/kernel/fs/nls/nls_base \
  997. ,10))
  998. $(eval $(call KMOD_template,NLS_CODEPAGE_437,nls-codepage-437,\
  999. $(MODULES_DIR)/kernel/fs/nls/nls_cp437 \
  1000. ,20))
  1001. $(eval $(call KMOD_template,NLS_CODEPAGE_737,nls-codepage-737,\
  1002. $(MODULES_DIR)/kernel/fs/nls/nls_cp737 \
  1003. ,20))
  1004. $(eval $(call KMOD_template,NLS_CODEPAGE_775,nls-codepage-775,\
  1005. $(MODULES_DIR)/kernel/fs/nls/nls_cp775 \
  1006. ,20))
  1007. $(eval $(call KMOD_template,NLS_CODEPAGE_850,nls-codepage-850,\
  1008. $(MODULES_DIR)/kernel/fs/nls/nls_cp850 \
  1009. ,20))
  1010. $(eval $(call KMOD_template,NLS_CODEPAGE_852,nls-codepage-852,\
  1011. $(MODULES_DIR)/kernel/fs/nls/nls_cp852 \
  1012. ,20))
  1013. $(eval $(call KMOD_template,NLS_CODEPAGE_857,nls-codepage-857,\
  1014. $(MODULES_DIR)/kernel/fs/nls/nls_cp857 \
  1015. ,20))
  1016. $(eval $(call KMOD_template,NLS_CODEPAGE_860,nls-codepage-860,\
  1017. $(MODULES_DIR)/kernel/fs/nls/nls_cp860 \
  1018. ,20))
  1019. $(eval $(call KMOD_template,NLS_CODEPAGE_861,nls-codepage-861,\
  1020. $(MODULES_DIR)/kernel/fs/nls/nls_cp861 \
  1021. ,20))
  1022. $(eval $(call KMOD_template,NLS_CODEPAGE_862,nls-codepage-862,\
  1023. $(MODULES_DIR)/kernel/fs/nls/nls_cp862 \
  1024. ,20))
  1025. $(eval $(call KMOD_template,NLS_CODEPAGE_863,nls-codepage-863,\
  1026. $(MODULES_DIR)/kernel/fs/nls/nls_cp863 \
  1027. ,20))
  1028. $(eval $(call KMOD_template,NLS_CODEPAGE_864,nls-codepage-864,\
  1029. $(MODULES_DIR)/kernel/fs/nls/nls_cp864 \
  1030. ,20))
  1031. $(eval $(call KMOD_template,NLS_CODEPAGE_865,nls-codepage-865,\
  1032. $(MODULES_DIR)/kernel/fs/nls/nls_cp865 \
  1033. ,20))
  1034. $(eval $(call KMOD_template,NLS_CODEPAGE_866,nls-codepage-866,\
  1035. $(MODULES_DIR)/kernel/fs/nls/nls_cp866 \
  1036. ,20))
  1037. $(eval $(call KMOD_template,NLS_CODEPAGE_869,nls-codepage-869,\
  1038. $(MODULES_DIR)/kernel/fs/nls/nls_cp869 \
  1039. ,20))
  1040. NLS_CODEPAGE_874_MODULES := fs/nls/nls_cp874
  1041. $(eval $(call KMOD_template,NLS_CODEPAGE_874,nls-codepage-874,\
  1042. $(foreach mod,$(NLS_CODEPAGE_874_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  1043. ,20))
  1044. NLS_CODEPAGE_932_MODULES := fs/nls/nls_cp932
  1045. NLS_CODEPAGE_932_MODULES += fs/nls/nls_euc-jp
  1046. $(eval $(call KMOD_template,NLS_CODEPAGE_932,nls-codepage-932,\
  1047. $(foreach mod,$(NLS_CODEPAGE_932_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  1048. ,20))
  1049. NLS_CODEPAGE_936_MODULES := fs/nls/nls_cp936
  1050. $(eval $(call KMOD_template,NLS_CODEPAGE_936,nls-codepage-936,\
  1051. $(foreach mod,$(NLS_CODEPAGE_936_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  1052. ,20))
  1053. NLS_CODEPAGE_949_MODULES := fs/nls/nls_cp949
  1054. $(eval $(call KMOD_template,NLS_CODEPAGE_949,nls-codepage-949,\
  1055. $(foreach mod,$(NLS_CODEPAGE_949_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  1056. ,20))
  1057. NLS_CODEPAGE_950_MODULES := fs/nls/nls_cp950
  1058. $(eval $(call KMOD_template,NLS_CODEPAGE_950,nls-codepage-950,\
  1059. $(foreach mod,$(NLS_CODEPAGE_950_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  1060. ,20))
  1061. $(eval $(call KMOD_template,NLS_CODEPAGE_1250,nls-codepage-1250,\
  1062. $(MODULES_DIR)/kernel/fs/nls/nls_cp1250 \
  1063. ,20))
  1064. $(eval $(call KMOD_template,NLS_CODEPAGE_1251,nls-codepage-1251,\
  1065. $(MODULES_DIR)/kernel/fs/nls/nls_cp1251 \
  1066. ,20))
  1067. $(eval $(call KMOD_template,NLS_ASCII,nls-ascii, \
  1068. $(MODULES_DIR)/kernel/fs/nls/nls_ascii \
  1069. ,20))
  1070. $(eval $(call KMOD_template,NLS_ISO8859_1,nls-iso8859-1, \
  1071. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-1 \
  1072. ,20))
  1073. $(eval $(call KMOD_template,NLS_ISO8859_2,nls-iso8859-2, \
  1074. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-2 \
  1075. ,20))
  1076. $(eval $(call KMOD_template,NLS_ISO8859_3,nls-iso8859-3, \
  1077. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-3 \
  1078. ,20))
  1079. $(eval $(call KMOD_template,NLS_ISO8859_4,nls-iso8859-4, \
  1080. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-4 \
  1081. ,20))
  1082. $(eval $(call KMOD_template,NLS_ISO8859_5,nls-iso8859-5, \
  1083. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-5 \
  1084. ,20))
  1085. $(eval $(call KMOD_template,NLS_ISO8859_6,nls-iso8859-6, \
  1086. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-6 \
  1087. ,20))
  1088. $(eval $(call KMOD_template,NLS_ISO8859_7,nls-iso8859-7, \
  1089. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-7 \
  1090. ,20))
  1091. NLS_ISO8859_8_MODULES := fs/nls/nls_cp1255
  1092. $(eval $(call KMOD_template,NLS_ISO8859_8,nls-iso8859-8, \
  1093. $(foreach mod,$(NLS_ISO8859_8_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  1094. ,20))
  1095. $(eval $(call KMOD_template,NLS_ISO8859_9,nls-iso8859-9, \
  1096. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-9 \
  1097. ,20))
  1098. $(eval $(call KMOD_template,NLS_ISO8859_13,nls-iso8859-13, \
  1099. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-13 \
  1100. ,20))
  1101. $(eval $(call KMOD_template,NLS_ISO8859_14,nls-iso8859-14, \
  1102. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-14 \
  1103. ,20))
  1104. $(eval $(call KMOD_template,NLS_ISO8859_15,nls-iso8859-15, \
  1105. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-15 \
  1106. ,20))
  1107. $(eval $(call KMOD_template,NLS_KOI8_R,nls-koi8-r, \
  1108. $(MODULES_DIR)/kernel/fs/nls/nls_koi8-r \
  1109. ,20))
  1110. $(eval $(call KMOD_template,NLS_KOI8_U,nls-koi8-u, \
  1111. $(MODULES_DIR)/kernel/fs/nls/nls_koi8-u \
  1112. $(MODULES_DIR)/kernel/fs/nls/nls_koi8-ru \
  1113. ,20))
  1114. $(eval $(call KMOD_template,NLS_UTF8,nls-utf8, \
  1115. $(MODULES_DIR)/kernel/fs/nls/nls_utf8 \
  1116. ,20))
  1117. #
  1118. # ISDN
  1119. #
  1120. ISDN_MODULES=drivers/isdn/i4l/isdn
  1121. $(eval $(call KMOD_template,ISDN,isdn, \
  1122. $(foreach mod,$(ISDN_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  1123. ,60))
  1124. $(eval $(call KMOD_template,ISDN_CAPI,isdn-capi, \
  1125. $(MODULES_DIR)/kernel/drivers/isdn/capi/kernelcapi \
  1126. $(MODULES_DIR)/kernel/drivers/isdn/capi/capi \
  1127. ,60))
  1128. $(eval $(call KMOD_template,SLHC,slhc, \
  1129. $(MODULES_DIR)/kernel/drivers/net/slhc \
  1130. ,65))
  1131. $(eval $(call KMOD_template,HISAX,hisax, \
  1132. $(MODULES_DIR)/kernel/drivers/isdn/hisax/hisax \
  1133. ,70))
  1134. MISDN_MODULES=drivers/isdn/hardware/mISDN/mISDN_core
  1135. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_l1
  1136. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_l2
  1137. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_dsp
  1138. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_dtmf
  1139. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_isac
  1140. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_x25dte
  1141. MISDN_MODULES+=drivers/isdn/hardware/mISDN/l3udss1
  1142. $(eval $(call KMOD_template,MISDN_DRV,misdn-drv, \
  1143. $(foreach mod, $(MISDN_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  1144. ,75))
  1145. $(eval $(call KMOD_template,MISDN_AVM_FRITZ,misdn-avm-fritz, \
  1146. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/avmfritz \
  1147. ,80))
  1148. $(eval $(call KMOD_template,MISDN_HFCPCI,misdn-hfcpci, \
  1149. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/hfcpci \
  1150. ,80))
  1151. $(eval $(call KMOD_template,MISDN_HFCMULTI,misdn-hfcmulti, \
  1152. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/hfcmulti \
  1153. ,80))
  1154. $(eval $(call KMOD_template,MISDN_HFCMINI,misdn-hfcmini, \
  1155. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/hfcsmini \
  1156. ,80))
  1157. $(eval $(call KMOD_template,MISDN_XHFC,misdn-xhfc, \
  1158. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/xhfc \
  1159. ,80))
  1160. $(eval $(call KMOD_template,MISDN_SPEEDFAX,misdn-speedfax, \
  1161. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/sedlfax \
  1162. ,80))
  1163. #
  1164. # Library modules
  1165. #
  1166. $(eval $(call KMOD_template,CRC_CCITT,crc-ccitt, \
  1167. $(MODULES_DIR)/kernel/lib/crc-ccitt \
  1168. ,01))
  1169. $(eval $(call KMOD_template,CRC_ITU_T,crc-itu-t, \
  1170. $(MODULES_DIR)/kernel/lib/crc-itu-t \
  1171. ,01))
  1172. $(eval $(call KMOD_template,CRC16,crc16, \
  1173. $(MODULES_DIR)/kernel/lib/crc16 \
  1174. ,01))
  1175. $(eval $(call KMOD_template,CRC32,crc32, \
  1176. $(MODULES_DIR)/kernel/lib/crc32 \
  1177. ,01))
  1178. $(eval $(call KMOD_template,LIBCRC32C,libcrc32c, \
  1179. $(MODULES_DIR)/kernel/lib/libcrc32c \
  1180. ,10))
  1181. #
  1182. # parallel port support
  1183. #
  1184. $(eval $(call KMOD_template,LP,lp,\
  1185. $(MODULES_DIR)/kernel/drivers/char/lp \
  1186. ,60))
  1187. $(eval $(call KMOD_template,PPDEV,ppdev,\
  1188. $(MODULES_DIR)/kernel/drivers/char/ppdev \
  1189. ,60))
  1190. $(eval $(call KMOD_template,PARPORT,parport,\
  1191. $(MODULES_DIR)/kernel/drivers/parport/parport \
  1192. ,50))
  1193. $(eval $(call KMOD_template,PLIP,plip,\
  1194. $(MODULES_DIR)/kernel/drivers/net/plip \
  1195. ,51))
  1196. #
  1197. # Profiling
  1198. #
  1199. $(eval $(call KMOD_template,OPROFILE,oprofile,\
  1200. $(MODULES_DIR)/kernel/arch/$(ARCH)/oprofile/oprofile \
  1201. ,10))
  1202. #
  1203. # I2C
  1204. #
  1205. $(eval $(call KMOD_template,I2C,i2c,\
  1206. $(MODULES_DIR)/kernel/drivers/i2c/i2c-core \
  1207. $(MODULES_DIR)/kernel/drivers/i2c/i2c-dev \
  1208. ,20))
  1209. $(eval $(call KMOD_template,SCx200_ACB,scx200-acb,\
  1210. $(MODULES_DIR)/kernel/drivers/i2c/busses/scx200_acb \
  1211. ,25))