modules.mk 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387
  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,E100,e100,\
  29. $(MODULES_DIR)/kernel/drivers/net/e100 \
  30. ,20))
  31. $(eval $(call KMOD_template,E1000,e1000,\
  32. $(MODULES_DIR)/kernel/drivers/net/e1000/e1000 \
  33. ,20))
  34. $(eval $(call KMOD_template,SKY2,sky2,\
  35. $(MODULES_DIR)/kernel/drivers/net/sky2 \
  36. ,20))
  37. #
  38. # Wireless network devices
  39. #
  40. $(eval $(call KMOD_template,MAC80211,mac80211,\
  41. $(MODULES_DIR)/kernel/net/wireless/cfg80211 \
  42. $(MODULES_DIR)/kernel/net/mac80211/mac80211 \
  43. ,15, kmod-crypto-aes kmod-crypto-arc4 kmod-crypto-ecb kmod-crc32))
  44. $(eval $(call KMOD_template,ATH5K,mac80211-ath5k,\
  45. $(MODULES_DIR)/kernel/drivers/net/wireless/ath/ath5k/ath5k \
  46. ,20, kmod-led-class))
  47. $(eval $(call KMOD_template,RT2X00,mac80211-rt2x00,\
  48. $(MODULES_DIR)/kernel/drivers/input/input-polldev \
  49. $(MODULES_DIR)/kernel/drivers/net/wireless/rt2x00/rt2x00lib \
  50. $(MODULES_DIR)/kernel/drivers/net/wireless/rt2x00/rt2x00pci \
  51. ,17))
  52. $(eval $(call KMOD_template,RT2400PCI,mac80211-rt2400pci,\
  53. $(MODULES_DIR)/kernel/drivers/net/wireless/rt2x00/rt2400pci \
  54. ,20, kmod-led-class kmod-mac80211-rt2x00))
  55. $(eval $(call KMOD_template,RT2500PCI,mac80211-rt2500pci,\
  56. $(MODULES_DIR)/kernel/drivers/net/wireless/rt2x00/rt2500pci \
  57. ,20, kmod-led-class kmod-mac80211-rt2x00))
  58. $(eval $(call KMOD_template,RT61PCI,mac80211-rt61pci,\
  59. $(MODULES_DIR)/kernel/drivers/net/wireless/rt2x00/rt61pci \
  60. ,20, kmod-led-class kmod-mac80211-rt2x00))
  61. #
  62. # Networking
  63. #
  64. $(eval $(call KMOD_template,ATM,atm,\
  65. $(MODULES_DIR)/kernel/net/atm/atm \
  66. ,50))
  67. $(eval $(call KMOD_template,BRIDGE,bridge,\
  68. $(MODULES_DIR)/kernel/net/llc/llc \
  69. $(MODULES_DIR)/kernel/net/802/stp \
  70. $(MODULES_DIR)/kernel/net/bridge/bridge \
  71. ,10))
  72. $(eval $(call KMOD_template,NET_IPGRE,gre,\
  73. $(MODULES_DIR)/kernel/net/ipv4/ip_gre \
  74. ,50))
  75. $(eval $(call KMOD_template,INET_TUNNEL,tunnel,\
  76. $(MODULES_DIR)/kernel/net/ipv4/tunnel4 \
  77. ,20))
  78. $(eval $(call KMOD_template,NET_IPIP,ipip,\
  79. $(MODULES_DIR)/kernel/net/ipv4/ipip \
  80. ,60))
  81. $(eval $(call KMOD_template,IPV6,ipv6,\
  82. $(MODULES_DIR)/kernel/net/ipv6/ipv6 \
  83. ,19))
  84. $(eval $(call KMOD_template,IPV6_SIT,ipv6-sit,\
  85. $(MODULES_DIR)/kernel/net/ipv6/sit \
  86. ,25))
  87. $(eval $(call KMOD_template,PPP,ppp,\
  88. $(MODULES_DIR)/kernel/drivers/net/slhc \
  89. $(MODULES_DIR)/kernel/drivers/net/ppp_generic \
  90. $(MODULES_DIR)/kernel/drivers/net/ppp_async \
  91. ,50))
  92. $(eval $(call KMOD_template,MPPE,mppe,\
  93. $(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc \
  94. ,55))
  95. $(eval $(call KMOD_template,PPPOATM,pppoatm,\
  96. $(MODULES_DIR)/kernel/net/atm/pppoatm \
  97. ,60))
  98. $(eval $(call KMOD_template,PPPOE,pppoe,\
  99. $(MODULES_DIR)/kernel/drivers/net/pppox \
  100. $(MODULES_DIR)/kernel/drivers/net/pppoe \
  101. ,60))
  102. $(eval $(call KMOD_template,TUN,tun,\
  103. $(MODULES_DIR)/kernel/drivers/net/tun \
  104. ,20))
  105. $(eval $(call KMOD_template,BONDING,bonding,\
  106. $(MODULES_DIR)/kernel/drivers/net/bonding/bonding \
  107. ,20))
  108. #
  109. # Traffic scheduling
  110. #
  111. $(eval $(call KMOD_template,NET_SCH_CBQ,net-sched-cbq,\
  112. $(MODULES_DIR)/kernel/net/sched/sch_cbq \
  113. ,40))
  114. $(eval $(call KMOD_template,NET_SCH_HTB,net-sched-htb,\
  115. $(MODULES_DIR)/kernel/net/sched/sch_htb \
  116. ,40))
  117. $(eval $(call KMOD_template,NET_SCH_HFSC,net-sched-hfsc,\
  118. $(MODULES_DIR)/kernel/net/sched/sch_hfsc \
  119. ,40))
  120. $(eval $(call KMOD_template,NET_SCH_ATM,net-sched-atm,\
  121. $(MODULES_DIR)/kernel/net/sched/sch_atm \
  122. ,40))
  123. $(eval $(call KMOD_template,NET_SCH_PRIO,net-sched-prio,\
  124. $(MODULES_DIR)/kernel/net/sched/sch_prio \
  125. ,40))
  126. $(eval $(call KMOD_template,NET_SCH_RED,net-sched-red,\
  127. $(MODULES_DIR)/kernel/net/sched/sch_red \
  128. ,40))
  129. $(eval $(call KMOD_template,NET_SCH_SFQ,net-sched-sfq,\
  130. $(MODULES_DIR)/kernel/net/sched/sch_sfq \
  131. ,40))
  132. # busybox netapps crash, when module loaded
  133. #$(eval $(call KMOD_template,NET_SCH_TEQL,net-sched-teql,\
  134. # $(MODULES_DIR)/kernel/net/sched/sch_teql \
  135. #,40))
  136. $(eval $(call KMOD_template,NET_SCH_TBF,net-sched-tbf,\
  137. $(MODULES_DIR)/kernel/net/sched/sch_tbf \
  138. ,40))
  139. $(eval $(call KMOD_template,NET_SCH_GRED,net-sched-gred,\
  140. $(MODULES_DIR)/kernel/net/sched/sch_gred \
  141. ,40))
  142. $(eval $(call KMOD_template,NET_SCH_DSMARK,net-sched-dsmark,\
  143. $(MODULES_DIR)/kernel/net/sched/sch_dsmark \
  144. ,40))
  145. $(eval $(call KMOD_template,NET_SCH_INGRESS,net-sched-ingress,\
  146. $(MODULES_DIR)/kernel/net/sched/sch_ingress \
  147. ,40))
  148. #
  149. # classifications
  150. #
  151. $(eval $(call KMOD_template,NET_CLS_BASIC,net-cls-basic,\
  152. $(MODULES_DIR)/kernel/net/sched/cls_basic \
  153. ,40))
  154. $(eval $(call KMOD_template,NET_CLS_TCINDEX,net-cls-tcindex,\
  155. $(MODULES_DIR)/kernel/net/sched/cls_tcindex \
  156. ,40))
  157. $(eval $(call KMOD_template,NET_CLS_ROUTE4,net-cls-route,\
  158. $(MODULES_DIR)/kernel/net/sched/cls_route \
  159. ,40))
  160. $(eval $(call KMOD_template,NET_CLS_FW,net-cls-fw,\
  161. $(MODULES_DIR)/kernel/net/sched/cls_fw \
  162. ,40))
  163. $(eval $(call KMOD_template,NET_CLS_U32,net-cls-u32,\
  164. $(MODULES_DIR)/kernel/net/sched/cls_u32 \
  165. ,40))
  166. #
  167. # actions
  168. #
  169. $(eval $(call KMOD_template,NET_ACT_POLICE,net-act-police,\
  170. $(MODULES_DIR)/kernel/net/sched/act_police \
  171. ,45))
  172. $(eval $(call KMOD_template,NET_ACT_GACT,net-act-gact,\
  173. $(MODULES_DIR)/kernel/net/sched/act_gact \
  174. ,45))
  175. $(eval $(call KMOD_template,NET_ACT_MIRRED,net-act-mirred,\
  176. $(MODULES_DIR)/kernel/net/sched/act_mirred \
  177. ,45))
  178. $(eval $(call KMOD_template,NET_ACT_IPT,net-act-ipt,\
  179. $(MODULES_DIR)/kernel/net/sched/act_ipt \
  180. ,45))
  181. $(eval $(call KMOD_template,NET_ACT_PEDIT,net-act-pedit,\
  182. $(MODULES_DIR)/kernel/net/sched/act_pedit \
  183. ,45))
  184. #
  185. # IPsec
  186. #
  187. $(eval $(call KMOD_template,NET_KEY,net-ipsec-netkey,\
  188. $(MODULES_DIR)/kernel/net/key/af_key \
  189. ,60))
  190. $(eval $(call KMOD_template,INET_AH,net-ipsec-ah,\
  191. $(MODULES_DIR)/kernel/net/ipv4/ah4 \
  192. ,65))
  193. $(eval $(call KMOD_template,INET_ESP,net-ipsec-esp,\
  194. $(MODULES_DIR)/kernel/net/ipv4/esp4 \
  195. ,65))
  196. $(eval $(call KMOD_template,INET_IPCOMP,net-ipsec-comp,\
  197. $(MODULES_DIR)/kernel/net/ipv4/ipcomp \
  198. $(MODULES_DIR)/kernel/net/xfrm/xfrm_ipcomp \
  199. ,70))
  200. $(eval $(call KMOD_template,INET_XFRM_MODE_TRANSPORT,net-ipsec-transport,\
  201. $(MODULES_DIR)/kernel/net/ipv4/xfrm4_mode_transport \
  202. ,75))
  203. $(eval $(call KMOD_template,INET_XFRM_MODE_TUNNEL,net-ipsec-tunnel,\
  204. $(MODULES_DIR)/kernel/net/ipv4/xfrm4_mode_tunnel \
  205. ,75))
  206. $(eval $(call KMOD_template,INET_XFRM_MODE_BEET,net-ipsec-beet,\
  207. $(MODULES_DIR)/kernel/net/ipv4/xfrm4_mode_beet \
  208. ,75))
  209. ##
  210. ## Filtering / Firewalling
  211. ##
  212. #
  213. # Ethernet Bridging firewall
  214. #
  215. $(eval $(call KMOD_template,BRIDGE_NF_EBTABLES,nf-ebtables,\
  216. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebtables \
  217. ,55))
  218. $(eval $(call KMOD_template,BRIDGE_EBT_BROUTE,nf-ebtables-broute,\
  219. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebtable_broute \
  220. ,60))
  221. $(eval $(call KMOD_template,BRIDGE_EBT_T_FILTER,nf-ebtables-filter,\
  222. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebtable_filter \
  223. ,60))
  224. $(eval $(call KMOD_template,BRIDGE_EBT_T_NAT,nf-ebtables-nat,\
  225. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebtable_nat \
  226. ,60))
  227. $(eval $(call KMOD_template,BRIDGE_EBT_802_3,nf-ebtables-802-3,\
  228. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_802_3 \
  229. ,65))
  230. $(eval $(call KMOD_template,BRIDGE_EBT_AMONG,nf-ebtables-among,\
  231. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_among \
  232. ,65))
  233. $(eval $(call KMOD_template,BRIDGE_EBT_ARP,nf-ebtables-arp,\
  234. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_arpreply \
  235. ,65))
  236. $(eval $(call KMOD_template,BRIDGE_EBT_IP,nf-ebtables-ip,\
  237. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_ip \
  238. ,65))
  239. $(eval $(call KMOD_template,BRIDGE_EBT_REDIRECT,nf-ebtables-redirect,\
  240. $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_redirect \
  241. ,65))
  242. #
  243. # Netfilter Core
  244. #
  245. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_CLASSIFY,nf-classify,\
  246. $(MODULES_DIR)/kernel/net/netfilter/xt_CLASSIFY \
  247. ,50))
  248. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_CONNMARK,nf-connmark,\
  249. $(MODULES_DIR)/kernel/net/netfilter/xt_CONNMARK \
  250. ,50))
  251. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_MARK,nf-mark,\
  252. $(MODULES_DIR)/kernel/net/netfilter/xt_MARK \
  253. ,50))
  254. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_NFQUEUE,nf-queue,\
  255. $(MODULES_DIR)/kernel/net/netfilter/xt_NFQUEUE \
  256. ,50))
  257. $(eval $(call KMOD_template,NETFILTER_XT_TARGET_NOTRACK,nf-notrack,\
  258. $(MODULES_DIR)/kernel/net/netfilter/xt_NOTRACK \
  259. ,50))
  260. #
  261. # IP: Netfilter
  262. #
  263. $(eval $(call KMOD_template,NF_CONNTRACK,nf-conntrack,\
  264. $(MODULES_DIR)/kernel/net/netfilter/nf_conntrack \
  265. ,45))
  266. $(eval $(call KMOD_template,NF_CONNTRACK_IPV4,nf-conntrack-ipv4,\
  267. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_defrag_ipv4 \
  268. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_conntrack_ipv4 \
  269. ,50))
  270. $(eval $(call KMOD_template,IP_NF_FTP,nf-ip-conntrack-ftp,\
  271. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_conntrack_ftp \
  272. ,55))
  273. $(eval $(call KMOD_template,IP_NF_IRC,nf-ip-conntrack-irc,\
  274. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_conntrack_irc \
  275. ,55))
  276. $(eval $(call KMOD_template,IP_NF_NETBIOS_NS,nf-ip-conntrack-netbios-ns,\
  277. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_conntrack_netbios_ns \
  278. ,55))
  279. $(eval $(call KMOD_template,IP_NF_TFTP,nf-ip-conntrack-tftp,\
  280. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_conntrack_tftp \
  281. ,55))
  282. $(eval $(call KMOD_template,IP_NF_AMANDA,nf-ip-conntrack-amanda,\
  283. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_conntrack_amanda \
  284. ,55))
  285. $(eval $(call KMOD_template,IP_NF_PPTP,nf-ip-conntrack-pptp,\
  286. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_conntrack_pptp \
  287. ,55))
  288. $(eval $(call KMOD_template,IP_NF_H323,nf-ip-conntrack-h323,\
  289. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_conntrack_h323 \
  290. ,55))
  291. $(eval $(call KMOD_template,IP_NF_SIP,nf-ip-conntrack-sip,\
  292. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_conntrack_sip \
  293. ,55))
  294. $(eval $(call KMOD_template,IP_NF_IPTABLES,nf-ip-iptables,\
  295. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_tables \
  296. ,50))
  297. $(eval $(call KMOD_template,IP_NF_MATCH_IPRANGE,nf-ip-match-iprange,\
  298. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_iprange \
  299. ,55))
  300. $(eval $(call KMOD_template,IP_NF_MATCH_TOS,nf-ip-match-tos,\
  301. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_tos \
  302. ,55))
  303. $(eval $(call KMOD_template,IP_NF_MATCH_RECENT,nf-ip-match-recent,\
  304. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_recent \
  305. ,55))
  306. $(eval $(call KMOD_template,IP_NF_MATCH_ECN,nf-ip-match-ecn,\
  307. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_ecn \
  308. ,55))
  309. $(eval $(call KMOD_template,IP_NF_MATCH_AH,nf-ip-match-ah,\
  310. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_ah \
  311. ,55))
  312. $(eval $(call KMOD_template,IP_NF_MATCH_TTL,nf-ip-match-ttl,\
  313. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_ttl \
  314. ,55))
  315. $(eval $(call KMOD_template,IP_NF_MATCH_OWNER,nf-ip-match-owner,\
  316. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_owner \
  317. ,55))
  318. $(eval $(call KMOD_template,IP_NF_MATCH_ADDRTYPE,nf-ip-match-addrtype,\
  319. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_addrtype \
  320. ,55))
  321. $(eval $(call KMOD_template,IP_NF_MATCH_HASHLIMIT,nf-ip-match-hashlimit,\
  322. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_hashlimit \
  323. ,55))
  324. $(eval $(call KMOD_template,IP_NF_MATCH_STATE,nf-ip-match-state,\
  325. $(MODULES_DIR)/kernel/net/netfilter/xt_state \
  326. ,55))
  327. $(eval $(call KMOD_template,IP_NF_MATCH_MULTIPORT,nf-ip-match-multiport,\
  328. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_multiport \
  329. ,55))
  330. #
  331. # Filtering
  332. #
  333. $(eval $(call KMOD_template,IP_NF_FILTER,nf-ip-filter,\
  334. $(MODULES_DIR)/kernel/net/ipv4/netfilter/iptable_filter \
  335. ,55))
  336. $(eval $(call KMOD_template,IP_NF_TARGET_REJECT,nf-ip-target-reject,\
  337. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_REJECT \
  338. ,60))
  339. $(eval $(call KMOD_template,IP_NF_TARGET_LOG,nf-ip-target-log,\
  340. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_LOG \
  341. ,60))
  342. $(eval $(call KMOD_template,IP_NF_TARGET_ULOG,nf-ip-target-ulog,\
  343. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_ULOG \
  344. ,60))
  345. $(eval $(call KMOD_template,IP_NF_TARGET_TCPMSS,nf-ip-target-tcpmss,\
  346. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_TCPMSS \
  347. ,60))
  348. $(eval $(call KMOD_template,NF_NAT,nf-nat,\
  349. $(MODULES_DIR)/kernel/net/ipv4/netfilter/nf_nat \
  350. $(MODULES_DIR)/kernel/net/ipv4/netfilter/iptable_nat \
  351. ,60))
  352. $(eval $(call KMOD_template,IP_NF_PPTP,nf-ip-nat-pptp,\
  353. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_nat_pptp \
  354. ,65))
  355. $(eval $(call KMOD_template,IP_NF_TFTP,nf-ip-nat-tftp,\
  356. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_nat_tftp \
  357. ,65))
  358. $(eval $(call KMOD_template,IP_NF_FTP,nf-ip-nat-ftp,\
  359. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_nat_ftp \
  360. ,65))
  361. $(eval $(call KMOD_template,IP_NF_IRC,nf-ip-nat-irc,\
  362. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_nat_irc \
  363. ,65))
  364. $(eval $(call KMOD_template,IP_NF_AMANDA,nf-ip-nat-amanda,\
  365. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_nat_amanda \
  366. ,65))
  367. $(eval $(call KMOD_template,IP_NF_SIP,nf-ip-nat-sip,\
  368. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_nat_sip \
  369. ,65))
  370. $(eval $(call KMOD_template,IP_NF_H323,nf-ip-nat-h323,\
  371. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_nat_h323 \
  372. ,65))
  373. $(eval $(call KMOD_template,IP_NF_TARGET_MASQUERADE,nf-ip-target-masquerade,\
  374. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_MASQUERADE \
  375. ,65))
  376. $(eval $(call KMOD_template,IP_NF_TARGET_REDIRECT,nf-ip-target-redirect,\
  377. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_REDIRECT \
  378. ,65))
  379. $(eval $(call KMOD_template,IP_NF_TARGET_NETMAP,nf-ip-target-netmap,\
  380. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_NETMAP \
  381. ,65))
  382. $(eval $(call KMOD_template,IP_NF_TARGET_SAME,nf-ip-target-same,\
  383. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_SAME \
  384. ,65))
  385. #
  386. # Mangle
  387. #
  388. $(eval $(call KMOD_template,IP_NF_MANGLE,nf-ip-mangle,\
  389. $(MODULES_DIR)/kernel/net/ipv4/netfilter/iptable_mangle \
  390. ,60))
  391. $(eval $(call KMOD_template,IP_NF_TARGET_TOS,nf-ip-target-tos,\
  392. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_TOS \
  393. ,65))
  394. $(eval $(call KMOD_template,IP_NF_TARGET_ECN,nf-ip-target-ecn,\
  395. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_ECN \
  396. ,65))
  397. $(eval $(call KMOD_template,IP_NF_TARGET_TTL,nf-ip-target-ttl,\
  398. $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_TTL \
  399. ,65))
  400. #
  401. # IPVS
  402. #
  403. IPVSPATH=$(MODULES_DIR)/kernel/net/netfilter/ipvs
  404. $(eval $(call KMOD_template,IP_VS,ip-vs,\
  405. $(IPVSPATH)/ip_vs \
  406. ,55))
  407. $(eval $(call KMOD_template,IP_VS_RR,ip-vs-rr,\
  408. $(IPVSPATH)/ip_vs_rr \
  409. ,55))
  410. $(eval $(call KMOD_template,IP_VS_WRR,ip-vs-wrr,\
  411. $(IPVSPATH)/ip_vs_wrr \
  412. ,55))
  413. $(eval $(call KMOD_template,IP_VS_LC,ip-vs-lc,\
  414. $(IPVSPATH)/ip_vs_lc \
  415. ,55))
  416. $(eval $(call KMOD_template,IP_VS_WLC,ip-vs-wlc,\
  417. $(IPVSPATH)/ip_vs_wlc \
  418. ,55))
  419. $(eval $(call KMOD_template,IP_VS_LBLC,ip-vs-lblc,\
  420. $(IPVSPATH)/ip_vs_lblc \
  421. ,55))
  422. $(eval $(call KMOD_template,IP_VS_LBLCR,ip-vs-lblcr,\
  423. $(IPVSPATH)/ip_vs_lblcr \
  424. ,55))
  425. $(eval $(call KMOD_template,IP_VS_DH,ip-vs-dh,\
  426. $(IPVSPATH)/ip_vs_dh \
  427. ,55))
  428. $(eval $(call KMOD_template,IP_VS_SH,ip-vs-sh,\
  429. $(IPVSPATH)/ip_vs_sh \
  430. ,55))
  431. $(eval $(call KMOD_template,IP_VS_SED,ip-vs-sed,\
  432. $(IPVSPATH)/ip_vs_sed \
  433. ,55))
  434. $(eval $(call KMOD_template,IP_VS_NQ,ip-vs-nq,\
  435. $(IPVSPATH)/ip_vs_nq \
  436. ,55))
  437. $(eval $(call KMOD_template,IP_VS_FTP,ip-vs-ftp,\
  438. $(IPVSPATH)/ip_vs_ftp \
  439. ,55))
  440. #
  441. # Block devices
  442. #
  443. $(eval $(call KMOD_template,BLK_DEV_LOOP,loop,\
  444. $(MODULES_DIR)/kernel/drivers/block/loop \
  445. ,20))
  446. $(eval $(call KMOD_template,BLK_DEV_NBD,nbd,\
  447. $(MODULES_DIR)/kernel/drivers/block/nbd \
  448. ,20))
  449. $(eval $(call KMOD_template,SCSI,scsi,\
  450. $(MODULES_DIR)/kernel/drivers/scsi/scsi_wait_scan \
  451. ,20))
  452. $(eval $(call KMOD_template,BLK_DEV_SD,scsi-disk,\
  453. $(MODULES_DIR)/kernel/drivers/scsi/sd_mod \
  454. ,25))
  455. $(eval $(call KMOD_template,BLK_DEV_SR,scsi-cdrom,\
  456. $(MODULES_DIR)/kernel/drivers/cdrom/cdrom \
  457. $(MODULES_DIR)/kernel/drivers/scsi/sr_mod \
  458. ,25))
  459. #
  460. # RAID
  461. #
  462. $(eval $(call KMOD_template,BLK_DEV_MD,md,\
  463. $(MODULES_DIR)/kernel/drivers/md/md-mod \
  464. ,30))
  465. $(eval $(call KMOD_template,MD_RAID0,md-raid0,\
  466. $(MODULES_DIR)/kernel/drivers/md/raid0 \
  467. ,35))
  468. $(eval $(call KMOD_template,MD_RAID1,md-raid1,\
  469. $(MODULES_DIR)/kernel/drivers/md/raid1 \
  470. ,35))
  471. $(eval $(call KMOD_template,MD_RAID456,md-raid456,\
  472. $(MODULES_DIR)/kernel/crypto/async_tx/async_tx \
  473. $(MODULES_DIR)/kernel/crypto/async_tx/async_xor \
  474. $(MODULES_DIR)/kernel/crypto/async_tx/async_memcpy \
  475. $(MODULES_DIR)/kernel/drivers/md/raid456 \
  476. ,35))
  477. #
  478. # Device Mapper
  479. #
  480. $(eval $(call KMOD_template,BLK_DEV_DM,dm-mod,\
  481. $(MODULES_DIR)/kernel/drivers/md/dm-mod \
  482. ,35))
  483. $(eval $(call KMOD_template,DM_CRYPT,dm-crypt,\
  484. $(MODULES_DIR)/kernel/drivers/md/dm-crypt \
  485. ,40))
  486. $(eval $(call KMOD_template,DM_MIRROR,dm-mirror,\
  487. $(MODULES_DIR)/kernel/drivers/md/dm-log \
  488. $(MODULES_DIR)/kernel/drivers/md/dm-region-hash \
  489. $(MODULES_DIR)/kernel/drivers/md/dm-mirror \
  490. ,40))
  491. $(eval $(call KMOD_template,DM_SNAPSHOT,dm-snapshot,\
  492. $(MODULES_DIR)/kernel/drivers/md/dm-snapshot \
  493. ,40))
  494. #
  495. # Crypto
  496. #
  497. $(eval $(call KMOD_template,CRYPTO_DEV_GEODE,crypto-hw-geode,\
  498. $(MODULES_DIR)/kernel/drivers/crypto/geode-aes \
  499. ,10))
  500. $(eval $(call KMOD_template,CRYPTO_ALGAPI,crypto-algapi,\
  501. $(MODULES_DIR)/kernel/crypto/crypto_algapi \
  502. ,02))
  503. $(eval $(call KMOD_template,CRYPTO_AEAD,crypto-aead,\
  504. $(MODULES_DIR)/kernel/crypto/aead \
  505. ,03))
  506. $(eval $(call KMOD_template,CRYPTO_HASH,crypto-hash,\
  507. $(MODULES_DIR)/kernel/crypto/crypto_hash \
  508. ,04))
  509. $(eval $(call KMOD_template,CRYPTO_BLKCIPHER,crypto-blkcipher,\
  510. $(MODULES_DIR)/kernel/crypto/crypto_wq \
  511. $(MODULES_DIR)/kernel/crypto/crypto_blkcipher \
  512. ,05))
  513. $(eval $(call KMOD_template,CRYPTO_RNG2,crypto-rng,\
  514. $(MODULES_DIR)/kernel/crypto/rng \
  515. $(MODULES_DIR)/kernel/crypto/krng \
  516. ,06))
  517. $(eval $(call KMOD_template,CRYPTO_MANAGER,crypto-manager,\
  518. $(MODULES_DIR)/kernel/crypto/pcompress \
  519. $(MODULES_DIR)/kernel/crypto/cryptomgr \
  520. $(MODULES_DIR)/kernel/crypto/eseqiv \
  521. $(MODULES_DIR)/kernel/crypto/chainiv \
  522. ,07))
  523. $(eval $(call KMOD_template,CRYPTO_HMAC,crypto-hmac,\
  524. $(MODULES_DIR)/kernel/crypto/hmac \
  525. ,11))
  526. $(eval $(call KMOD_template,CRYPTO_NULL,crypto-null,\
  527. $(MODULES_DIR)/kernel/crypto/crypto_null \
  528. ,11))
  529. $(eval $(call KMOD_template,CRYPTO_MD4,crypto-md4,\
  530. $(MODULES_DIR)/kernel/crypto/md4 \
  531. ,11))
  532. $(eval $(call KMOD_template,CRYPTO_MD5,crypto-md5,\
  533. $(MODULES_DIR)/kernel/crypto/md5 \
  534. ,11))
  535. $(eval $(call KMOD_template,CRYPTO_SHA1,crypto-sha1,\
  536. $(MODULES_DIR)/kernel/crypto/sha1_generic \
  537. ,11))
  538. $(eval $(call KMOD_template,CRYPTO_SHA256,crypto-sha256,\
  539. $(MODULES_DIR)/kernel/crypto/sha256_generic \
  540. ,11))
  541. $(eval $(call KMOD_template,CRYPTO_SHA512,crypto-sha512,\
  542. $(MODULES_DIR)/kernel/crypto/sha512_generic \
  543. ,11))
  544. $(eval $(call KMOD_template,CRYPTO_WP512,crypto-whirlpool,\
  545. $(MODULES_DIR)/kernel/crypto/wp512 \
  546. ,11))
  547. $(eval $(call KMOD_template,CRYPTO_TGR192,crypto-tiger,\
  548. $(MODULES_DIR)/kernel/crypto/tgr192 \
  549. ,11))
  550. $(eval $(call KMOD_template,CRYPTO_ECB,crypto-ecb,\
  551. $(MODULES_DIR)/kernel/crypto/ecb \
  552. ,10))
  553. $(eval $(call KMOD_template,CRYPTO_CBC,crypto-cbc,\
  554. $(MODULES_DIR)/kernel/crypto/cbc \
  555. ,10))
  556. $(eval $(call KMOD_template,CRYPTO_DES,crypto-des,\
  557. $(MODULES_DIR)/kernel/crypto/des_generic \
  558. ,10))
  559. $(eval $(call KMOD_template,CRYPTO_BLOWFISH,crypto-blowfish,\
  560. $(MODULES_DIR)/kernel/crypto/blowfish \
  561. ,11))
  562. $(eval $(call KMOD_template,CRYPTO_TWOFISH,crypto-twofish,\
  563. $(MODULES_DIR)/kernel/crypto/twofish_common \
  564. $(MODULES_DIR)/kernel/crypto/twofish \
  565. ,11))
  566. $(eval $(call KMOD_template,CRYPTO_TWOFISH_586,crypto-twofish-i586,\
  567. $(MODULES_DIR)/kernel/arch/x86/crypto/twofish-i586 \
  568. ,12))
  569. $(eval $(call KMOD_template,CRYPTO_SERPENT,crypto-serpent,\
  570. $(MODULES_DIR)/kernel/crypto/serpent \
  571. ,11))
  572. $(eval $(call KMOD_template,CRYPTO_AES,crypto-aes,\
  573. $(MODULES_DIR)/kernel/crypto/aes_generic \
  574. ,10))
  575. $(eval $(call KMOD_template,CRYPTO_AES_586,crypto-aes-i586,\
  576. $(MODULES_DIR)/kernel/arch/x86/crypto/aes-i586 \
  577. ,11))
  578. $(eval $(call KMOD_template,CRYPTO_CAST5,crypto-cast5,\
  579. $(MODULES_DIR)/kernel/crypto/cast5 \
  580. ,11))
  581. $(eval $(call KMOD_template,CRYPTO_CAST6,crypto-cast6,\
  582. $(MODULES_DIR)/kernel/crypto/cast6 \
  583. ,11))
  584. $(eval $(call KMOD_template,CRYPTO_TEA,crypto-tea,\
  585. $(MODULES_DIR)/kernel/crypto/tea \
  586. ,11))
  587. $(eval $(call KMOD_template,CRYPTO_ARC4,crypto-arc4,\
  588. $(MODULES_DIR)/kernel/crypto/arc4 \
  589. ,11))
  590. $(eval $(call KMOD_template,CRYPTO_KHAZAD,crypto-khazad,\
  591. $(MODULES_DIR)/kernel/crypto/khazad \
  592. ,11))
  593. $(eval $(call KMOD_template,CRYPTO_ANUBIS,crypto-anubis,\
  594. $(MODULES_DIR)/kernel/crypto/anubis \
  595. ,11))
  596. $(eval $(call KMOD_template,CRYPTO_CAMELLIA,crypto-camellia,\
  597. $(MODULES_DIR)/kernel/crypto/camellia \
  598. ,11))
  599. $(eval $(call KMOD_template,CRYPTO_FCRYPT,crypto-fcrypt,\
  600. $(MODULES_DIR)/kernel/crypto/fcrypt \
  601. ,11))
  602. $(eval $(call KMOD_template,CRYPTO_DEFLATE,crypto-deflate,\
  603. $(MODULES_DIR)/kernel/lib/zlib_deflate/zlib_deflate \
  604. $(MODULES_DIR)/kernel/crypto/deflate \
  605. ,10))
  606. $(eval $(call KMOD_template,CRYPTO_LZO,crypto-lzo,\
  607. $(MODULES_DIR)/kernel/lib/lzo/lzo_decompress \
  608. $(MODULES_DIR)/kernel/crypto/lzo \
  609. ,10))
  610. $(eval $(call KMOD_template,CRYPTO_MICHAEL_MIC,crypto-michael-mic,\
  611. $(MODULES_DIR)/kernel/crypto/michael_mic \
  612. ,11))
  613. $(eval $(call KMOD_template,CRYPTO_CRC32C,crypto-crc32c,\
  614. $(MODULES_DIR)/kernel/crypto/crc32c \
  615. ,11))
  616. $(eval $(call KMOD_template,OCF_CRYPTOSOFT,cryptodev-cryptosoft,\
  617. ${MODULES_DIR}/kernel/crypto/ocf/cryptosoft \
  618. ,12))
  619. $(eval $(call KMOD_template,OCF_SAFE,cryptodev-safe,\
  620. ${MODULES_DIR}/kernel/crypto/ocf/safe/safe \
  621. ,12))
  622. $(eval $(call KMOD_template,OCF_IXP4XX,cryptodev-ixp4xx,\
  623. ${MODULES_DIR}/kernel/crypto/ocf/ixp4xx/ixp4xx \
  624. ,12))
  625. $(eval $(call KMOD_template,OCF_HIFN,cryptodev-hifn,\
  626. ${MODULES_DIR}/kernel/crypto/ocf/hifn/hifn7751 \
  627. ,12))
  628. $(eval $(call KMOD_template,OCF_TALITOS,cryptodev-talitos,\
  629. ${MODULES_DIR}/kernel/crypto/ocf/talitos/talitos \
  630. ,12))
  631. #
  632. # Filesystems
  633. #
  634. $(eval $(call KMOD_template,AUFS_FS,fs-aufs,\
  635. $(MODULES_DIR)/kernel/fs/aufs/aufs \
  636. ,30))
  637. $(eval $(call KMOD_template,CIFS,fs-cifs,\
  638. $(MODULES_DIR)/kernel/fs/cifs/cifs \
  639. ,30))
  640. $(eval $(call KMOD_template,CODA_FS,fs-coda,\
  641. $(MODULES_DIR)/kernel/fs/coda/coda \
  642. ,30))
  643. ifneq ($(ADK_KERNEL_EXT2_FS),y)
  644. $(eval $(call KMOD_template,EXT2_FS,fs-ext2,\
  645. $(MODULES_DIR)/kernel/fs/ext2/ext2 \
  646. ,30))
  647. endif
  648. $(eval $(call KMOD_template,EXT3_FS,fs-ext3,\
  649. $(MODULES_DIR)/kernel/fs/jbd/jbd \
  650. $(MODULES_DIR)/kernel/fs/ext3/ext3 \
  651. ,30))
  652. $(eval $(call KMOD_template,EXT4_FS,fs-ext4,\
  653. $(MODULES_DIR)/kernel/fs/mbcache \
  654. $(MODULES_DIR)/kernel/fs/jbd2/jbd2 \
  655. $(MODULES_DIR)/kernel/fs/ext4/ext4 \
  656. ,30))
  657. $(eval $(call KMOD_template,FUSE_FS,fs-fuse,\
  658. $(MODULES_DIR)/kernel/fs/fuse/fuse \
  659. ,30))
  660. $(eval $(call KMOD_template,HFSPLUS_FS,fs-hfsplus,\
  661. $(MODULES_DIR)/kernel/fs/hfsplus/hfsplus \
  662. ,30))
  663. $(eval $(call KMOD_template,SUNRPC,fs-rpc,\
  664. $(MODULES_DIR)/kernel/net/sunrpc/sunrpc \
  665. ,24))
  666. $(eval $(call KMOD_template,SUNRPC_GSS,fs-rpcgss,\
  667. $(MODULES_DIR)/kernel/net/sunrpc/auth_gss/auth_rpcgss \
  668. ,25))
  669. $(eval $(call KMOD_template,RPCSEC_GSS_KRB5,fs-rpcsec-krb5,\
  670. $(MODULES_DIR)/kernel/net/sunrpc/auth_gss/rpcsec_gss_krb5 \
  671. ,26))
  672. ifneq ($(ADK_KERNEL_NFS_FS),y)
  673. $(eval $(call KMOD_template,NFS_FS,fs-nfs,\
  674. $(MODULES_DIR)/kernel/fs/lockd/lockd \
  675. $(MODULES_DIR)/kernel/fs/nfs/nfs \
  676. ,30))
  677. endif
  678. $(eval $(call KMOD_template,EXPORTFS,fs-exportfs,\
  679. $(MODULES_DIR)/kernel/fs/exportfs/exportfs \
  680. ,20))
  681. $(eval $(call KMOD_template,NFSD,fs-nfsd,\
  682. $(MODULES_DIR)/kernel/fs/nfsd/nfsd \
  683. ,30))
  684. $(eval $(call KMOD_template,NTFS_FS,fs-ntfs,\
  685. $(MODULES_DIR)/kernel/fs/ntfs/ntfs \
  686. ,30))
  687. $(eval $(call KMOD_template,VFAT_FS,fs-vfat,\
  688. $(MODULES_DIR)/kernel/fs/fat/fat \
  689. $(MODULES_DIR)/kernel/fs/fat/vfat \
  690. ,30))
  691. $(eval $(call KMOD_template,XFS_FS,fs-xfs,\
  692. $(MODULES_DIR)/kernel/fs/xfs/xfs \
  693. ,30))
  694. $(eval $(call KMOD_template,YAFFS_FS,fs-yaffs,\
  695. $(MODULES_DIR)/kernel/fs/yaffs2/yaffs \
  696. ,30))
  697. $(eval $(call KMOD_template,REISERFS_FS,fs-reiserfs,\
  698. $(MODULES_DIR)/kernel/fs/reiserfs/reiserfs \
  699. ,30))
  700. $(eval $(call KMOD_template,ISO9660_FS,fs-iso9660,\
  701. $(MODULES_DIR)/kernel/fs/isofs/isofs \
  702. ,30))
  703. $(eval $(call KMOD_template,UDF_FS,fs-udf,\
  704. $(MODULES_DIR)/kernel/fs/udf/udf \
  705. ,30))
  706. #
  707. # Multimedia
  708. #
  709. $(eval $(call KMOD_template,SOUND,soundcore,\
  710. $(MODULES_DIR)/kernel/sound/soundcore \
  711. ,30))
  712. $(eval $(call KMOD_template,SND,sound-alsa,\
  713. $(MODULES_DIR)/kernel/sound/core/snd-page-alloc \
  714. $(MODULES_DIR)/kernel/sound/core/snd \
  715. $(MODULES_DIR)/kernel/sound/core/snd-timer \
  716. $(MODULES_DIR)/kernel/sound/core/snd-pcm \
  717. ,40))
  718. $(eval $(call KMOD_template,SND_OSSEMUL,sound-alsa-oss-emul,\
  719. $(MODULES_DIR)/kernel/sound/core/oss/snd-mixer-oss \
  720. $(MODULES_DIR)/kernel/sound/core/oss/snd-pcm-oss \
  721. ,45))
  722. $(eval $(call KMOD_template,SND_AC97_CODEC,sound-alsa-ac97-codec,\
  723. $(MODULES_DIR)/kernel/sound/ac97_bus \
  724. $(MODULES_DIR)/kernel/sound/pci/ac97/snd-ac97-codec \
  725. ,50))
  726. $(eval $(call KMOD_template,SND_VIA82XX,sound-alsa-via82xx,\
  727. $(MODULES_DIR)/kernel/sound/core/snd-rawmidi \
  728. $(MODULES_DIR)/kernel/sound/drivers/mpu401/snd-mpu401-uart \
  729. $(MODULES_DIR)/kernel/sound/pci/snd-via82xx \
  730. ,55))
  731. $(eval $(call KMOD_template,SND_CS5535AUDIO,sound-alsa-cs5535,\
  732. $(MODULES_DIR)/kernel/sound/pci/cs5535audio/snd-cs5535audio \
  733. ,55))
  734. $(eval $(call KMOD_template,VIDEODEV,videodev,\
  735. $(MODULES_DIR)/kernel/drivers/media/video/videodev \
  736. ,65))
  737. $(eval $(call KMOD_template,PWC,pwc,\
  738. $(MODULES_DIR)/kernel/drivers/usb/pwc \
  739. ,70))
  740. #
  741. # PCMCIA/CardBus
  742. #
  743. $(eval $(call KMOD_template,PCCARD,pccard,\
  744. $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core \
  745. ,40))
  746. $(eval $(call KMOD_template,PCMCIA,pcmcia,\
  747. $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia \
  748. ,50))
  749. $(eval $(call KMOD_template,CARDBUS,cardbus,\
  750. $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic \
  751. $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket \
  752. ,50))
  753. $(eval $(call KMOD_template,PCMCIA_SERIAL_CS,pcmcia-serial,\
  754. $(MODULES_DIR)/kernel/drivers/serial/serial_cs \
  755. ,55))
  756. #
  757. # Input
  758. #
  759. $(eval $(call KMOD_template,KEYBOARD_ATKBD,input-keyboard,\
  760. $(MODULES_DIR)/kernel/drivers/input/keyboard/atkbd \
  761. ,45))
  762. $(eval $(call KMOD_template,INPUT_MOUSEDEV,input-mouse,\
  763. $(MODULES_DIR)/kernel/drivers/input/mousedev \
  764. ,45))
  765. #
  766. # USB
  767. #
  768. USB_CORE_MODULE = drivers/usb/core/usbcore
  769. USB_OHCI_MODULE = drivers/usb/host/ohci-hcd
  770. USB_UHCI_MODULE = drivers/usb/host/uhci-hcd
  771. USB_OHCI_SYMBOL = USB_OHCI_HCD
  772. USB_UHCI_SYMBOL = USB_UHCI_HCD
  773. ifeq ($(ADK_LINUX_CRIS_FOXBOARD),)
  774. $(eval $(call KMOD_template,USB,usb-core,\
  775. $(MODULES_DIR)/kernel/$(USB_CORE_MODULE) \
  776. ,50))
  777. endif
  778. $(eval $(call KMOD_template,$(USB_OHCI_SYMBOL),usb-ohci,\
  779. $(MODULES_DIR)/kernel/$(USB_OHCI_MODULE) \
  780. ,60))
  781. $(eval $(call KMOD_template,$(USB_UHCI_SYMBOL),usb-uhci,\
  782. $(MODULES_DIR)/kernel/$(USB_UHCI_MODULE) \
  783. ,60))
  784. $(eval $(call KMOD_template,USB_EHCI_HCD,usb-ehci,\
  785. $(MODULES_DIR)/kernel/drivers/usb/host/ehci-hcd \
  786. ,60))
  787. USB_ACM_MODULES = drivers/usb/class/cdc-acm
  788. USB_PRINTER_MODULES = drivers/usb/class/usblp
  789. $(eval $(call KMOD_template,USB_ACM,usb-acm,\
  790. $(foreach mod,$(USB_ACM_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  791. ,70))
  792. $(eval $(call KMOD_template,USB_HID,usb-hid,\
  793. $(MODULES_DIR)/kernel/drivers/hid/usbhid/usbhid \
  794. ,60))
  795. $(eval $(call KMOD_template,USB_PRINTER,usb-printer,\
  796. $(foreach mod,$(USB_PRINTER_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  797. ,60))
  798. $(eval $(call KMOD_template,USB_SERIAL,usb-serial,\
  799. $(MODULES_DIR)/kernel/drivers/usb/serial/usbserial \
  800. ,60))
  801. $(eval $(call KMOD_template,USB_SERIAL_BELKIN,usb-serial-belkin,\
  802. $(MODULES_DIR)/kernel/drivers/usb/serial/belkin_sa \
  803. ,61))
  804. $(eval $(call KMOD_template,USB_SERIAL_FTDI_SIO,usb-serial-ftdi,\
  805. $(MODULES_DIR)/kernel/drivers/usb/serial/ftdi_sio \
  806. ,61))
  807. $(eval $(call KMOD_template,USB_SERIAL_MCT_U232,usb-serial-mct-u232,\
  808. $(MODULES_DIR)/kernel/drivers/usb/serial/mct_u232 \
  809. ,61))
  810. $(eval $(call KMOD_template,USB_SERIAL_PL2303,usb-serial-pl2303,\
  811. $(MODULES_DIR)/kernel/drivers/usb/serial/pl2303 \
  812. ,61))
  813. $(eval $(call KMOD_template,USB_SERIAL_VISOR,usb-serial-visor,\
  814. $(MODULES_DIR)/kernel/drivers/usb/serial/visor \
  815. ,61))
  816. $(eval $(call KMOD_template,USB_STORAGE,usb-storage,\
  817. $(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage \
  818. ,65))
  819. $(eval $(call KMOD_template,USB_PEGASUS,usb-pegasus,\
  820. $(MODULES_DIR)/kernel/drivers/net/usb/pegasus \
  821. ,65))
  822. #
  823. # Bluetooth
  824. #
  825. BLUETOOTH_PREFIX = BT
  826. BLUETOOTH = bluetooth
  827. $(eval $(call KMOD_template,$(BLUETOOTH_PREFIX),bluetooth,\
  828. $(MODULES_DIR)/kernel/net/bluetooth/$(BLUETOOTH) \
  829. ,70))
  830. $(eval $(call KMOD_template,$(BLUETOOTH_PREFIX)_HCIBCM203X,bluetooth-hci-bcm203x,\
  831. $(MODULES_DIR)/kernel/drivers/bluetooth/bcm203x \
  832. ,75))
  833. $(eval $(call KMOD_template,$(BLUETOOTH_PREFIX)_HCIBTUSB,bluetooth-hci-usb,\
  834. $(MODULES_DIR)/kernel/drivers/bluetooth/btusb \
  835. ,76))
  836. $(eval $(call KMOD_template,$(BLUETOOTH_PREFIX)_HCIUART,bluetooth-hci-uart,\
  837. $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart \
  838. ,75))
  839. $(eval $(call KMOD_template,$(BLUETOOTH_PREFIX)_L2CAP,bluetooth-l2cap,\
  840. $(MODULES_DIR)/kernel/net/bluetooth/l2cap \
  841. ,80))
  842. $(eval $(call KMOD_template,$(BLUETOOTH_PREFIX)_SCO,bluetooth-sco,\
  843. $(MODULES_DIR)/kernel/net/bluetooth/sco \
  844. ,85))
  845. $(eval $(call KMOD_template,$(BLUETOOTH_PREFIX)_BNEP,bluetooth-bnep,\
  846. $(MODULES_DIR)/kernel/net/bluetooth/bnep/bnep \
  847. ,85))
  848. $(eval $(call KMOD_template,$(BLUETOOTH_PREFIX)_RFCOMM,bluetooth-rfcomm,\
  849. $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm \
  850. ,85))
  851. #
  852. # Misc devices
  853. #
  854. SOFTDOG_MODULES = drivers/char/watchdog/softdog
  855. $(eval $(call KMOD_template,SOFTDOG,softdog,\
  856. $(foreach mod,$(SOFTDOG_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  857. ,95))
  858. $(eval $(call KMOD_template,FW_LOADER,fw-loader,\
  859. $(MODULES_DIR)/kernel/drivers/base/firmware_class \
  860. ,01))
  861. $(eval $(call KMOD_template,EEPROM_93CX6,eeprom-93cx6,\
  862. $(MODULES_DIR)/kernel/drivers/misc/eeprom/eeprom_93cx6 \
  863. ,05))
  864. $(eval $(call KMOD_template,LEDS_CLASS,led-class,\
  865. $(MODULES_DIR)/kernel/drivers/leds/led-class \
  866. ,05))
  867. #
  868. # NLS
  869. #
  870. $(eval $(call KMOD_template,NLS,nls-base,\
  871. $(MODULES_DIR)/kernel/fs/nls/nls_base \
  872. ,10))
  873. $(eval $(call KMOD_template,NLS_CODEPAGE_437,nls-cp437,\
  874. $(MODULES_DIR)/kernel/fs/nls/nls_cp437 \
  875. ,20))
  876. $(eval $(call KMOD_template,NLS_CODEPAGE_737,nls-cp737,\
  877. $(MODULES_DIR)/kernel/fs/nls/nls_cp737 \
  878. ,20))
  879. $(eval $(call KMOD_template,NLS_CODEPAGE_775,nls-cp775,\
  880. $(MODULES_DIR)/kernel/fs/nls/nls_cp775 \
  881. ,20))
  882. $(eval $(call KMOD_template,NLS_CODEPAGE_850,nls-cp850,\
  883. $(MODULES_DIR)/kernel/fs/nls/nls_cp850 \
  884. ,20))
  885. $(eval $(call KMOD_template,NLS_CODEPAGE_852,nls-cp852,\
  886. $(MODULES_DIR)/kernel/fs/nls/nls_cp852 \
  887. ,20))
  888. $(eval $(call KMOD_template,NLS_CODEPAGE_857,nls-cp857,\
  889. $(MODULES_DIR)/kernel/fs/nls/nls_cp857 \
  890. ,20))
  891. $(eval $(call KMOD_template,NLS_CODEPAGE_860,nls-cp860,\
  892. $(MODULES_DIR)/kernel/fs/nls/nls_cp860 \
  893. ,20))
  894. $(eval $(call KMOD_template,NLS_CODEPAGE_861,nls-cp861,\
  895. $(MODULES_DIR)/kernel/fs/nls/nls_cp861 \
  896. ,20))
  897. $(eval $(call KMOD_template,NLS_CODEPAGE_862,nls-cp862,\
  898. $(MODULES_DIR)/kernel/fs/nls/nls_cp862 \
  899. ,20))
  900. $(eval $(call KMOD_template,NLS_CODEPAGE_863,nls-cp863,\
  901. $(MODULES_DIR)/kernel/fs/nls/nls_cp863 \
  902. ,20))
  903. $(eval $(call KMOD_template,NLS_CODEPAGE_864,nls-cp864,\
  904. $(MODULES_DIR)/kernel/fs/nls/nls_cp864 \
  905. ,20))
  906. $(eval $(call KMOD_template,NLS_CODEPAGE_865,nls-cp865,\
  907. $(MODULES_DIR)/kernel/fs/nls/nls_cp865 \
  908. ,20))
  909. $(eval $(call KMOD_template,NLS_CODEPAGE_866,nls-cp866,\
  910. $(MODULES_DIR)/kernel/fs/nls/nls_cp866 \
  911. ,20))
  912. $(eval $(call KMOD_template,NLS_CODEPAGE_869,nls-cp869,\
  913. $(MODULES_DIR)/kernel/fs/nls/nls_cp869 \
  914. ,20))
  915. NLS_CODEPAGE_874_MODULES := fs/nls/nls_cp874
  916. $(eval $(call KMOD_template,NLS_CODEPAGE_874,nls-cp874,\
  917. $(foreach mod,$(NLS_CODEPAGE_874_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  918. ,20))
  919. NLS_CODEPAGE_932_MODULES := fs/nls/nls_cp932
  920. NLS_CODEPAGE_932_MODULES += fs/nls/nls_euc-jp
  921. $(eval $(call KMOD_template,NLS_CODEPAGE_932,nls-cp932,\
  922. $(foreach mod,$(NLS_CODEPAGE_932_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  923. ,20))
  924. NLS_CODEPAGE_936_MODULES := fs/nls/nls_cp936
  925. $(eval $(call KMOD_template,NLS_CODEPAGE_936,nls-cp936,\
  926. $(foreach mod,$(NLS_CODEPAGE_936_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  927. ,20))
  928. NLS_CODEPAGE_949_MODULES := fs/nls/nls_cp949
  929. $(eval $(call KMOD_template,NLS_CODEPAGE_949,nls-cp949,\
  930. $(foreach mod,$(NLS_CODEPAGE_949_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  931. ,20))
  932. NLS_CODEPAGE_950_MODULES := fs/nls/nls_cp950
  933. $(eval $(call KMOD_template,NLS_CODEPAGE_950,nls-cp950,\
  934. $(foreach mod,$(NLS_CODEPAGE_950_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  935. ,20))
  936. $(eval $(call KMOD_template,NLS_CODEPAGE_1250,nls-cp1250,\
  937. $(MODULES_DIR)/kernel/fs/nls/nls_cp1250 \
  938. ,20))
  939. $(eval $(call KMOD_template,NLS_CODEPAGE_1251,nls-cp1251,\
  940. $(MODULES_DIR)/kernel/fs/nls/nls_cp1251 \
  941. ,20))
  942. $(eval $(call KMOD_template,NLS_ASCII,nls-ascii, \
  943. $(MODULES_DIR)/kernel/fs/nls/nls_ascii \
  944. ,20))
  945. $(eval $(call KMOD_template,NLS_ISO8859_1,nls-iso8859-1, \
  946. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-1 \
  947. ,20))
  948. $(eval $(call KMOD_template,NLS_ISO8859_2,nls-iso8859-2, \
  949. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-2 \
  950. ,20))
  951. $(eval $(call KMOD_template,NLS_ISO8859_3,nls-iso8859-3, \
  952. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-3 \
  953. ,20))
  954. $(eval $(call KMOD_template,NLS_ISO8859_4,nls-iso8859-4, \
  955. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-4 \
  956. ,20))
  957. $(eval $(call KMOD_template,NLS_ISO8859_5,nls-iso8859-5, \
  958. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-5 \
  959. ,20))
  960. $(eval $(call KMOD_template,NLS_ISO8859_6,nls-iso8859-6, \
  961. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-6 \
  962. ,20))
  963. $(eval $(call KMOD_template,NLS_ISO8859_7,nls-iso8859-7, \
  964. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-7 \
  965. ,20))
  966. NLS_ISO8859_8_MODULES := fs/nls/nls_cp1255
  967. $(eval $(call KMOD_template,NLS_ISO8859_8,nls-iso8859-8, \
  968. $(foreach mod,$(NLS_ISO8859_8_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  969. ,20))
  970. $(eval $(call KMOD_template,NLS_ISO8859_9,nls-iso8859-9, \
  971. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-9 \
  972. ,20))
  973. $(eval $(call KMOD_template,NLS_ISO8859_13,nls-iso8859-13, \
  974. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-13 \
  975. ,20))
  976. $(eval $(call KMOD_template,NLS_ISO8859_14,nls-iso8859-14, \
  977. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-14 \
  978. ,20))
  979. $(eval $(call KMOD_template,NLS_ISO8859_15,nls-iso8859-15, \
  980. $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-15 \
  981. ,20))
  982. $(eval $(call KMOD_template,NLS_KOI8_R,nls-koi8-r, \
  983. $(MODULES_DIR)/kernel/fs/nls/nls_koi8-r \
  984. ,20))
  985. $(eval $(call KMOD_template,NLS_KOI8_U,nls-koi8-u, \
  986. $(MODULES_DIR)/kernel/fs/nls/nls_koi8-u \
  987. $(MODULES_DIR)/kernel/fs/nls/nls_koi8-ru \
  988. ,20))
  989. $(eval $(call KMOD_template,NLS_UTF8,nls-utf8, \
  990. $(MODULES_DIR)/kernel/fs/nls/nls_utf8 \
  991. ,20))
  992. # ISDN
  993. ISDN_MODULES=drivers/isdn/i4l/isdn
  994. $(eval $(call KMOD_template,ISDN,isdn, \
  995. $(foreach mod,$(ISDN_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  996. ,60))
  997. $(eval $(call KMOD_template,ISDN_CAPI,isdn-capi, \
  998. $(MODULES_DIR)/kernel/drivers/isdn/capi/kernelcapi \
  999. $(MODULES_DIR)/kernel/drivers/isdn/capi/capi \
  1000. ,60))
  1001. $(eval $(call KMOD_template,SLHC,slhc, \
  1002. $(MODULES_DIR)/kernel/drivers/net/slhc \
  1003. ,65))
  1004. $(eval $(call KMOD_template,HISAX,hisax, \
  1005. $(MODULES_DIR)/kernel/drivers/isdn/hisax/hisax \
  1006. ,70))
  1007. MISDN_MODULES=drivers/isdn/hardware/mISDN/mISDN_core
  1008. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_l1
  1009. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_l2
  1010. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_dsp
  1011. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_dtmf
  1012. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_isac
  1013. MISDN_MODULES+=drivers/isdn/hardware/mISDN/mISDN_x25dte
  1014. MISDN_MODULES+=drivers/isdn/hardware/mISDN/l3udss1
  1015. $(eval $(call KMOD_template,MISDN_DRV,misdn, \
  1016. $(foreach mod, $(MISDN_MODULES),$(MODULES_DIR)/kernel/$(mod)) \
  1017. ,75))
  1018. $(eval $(call KMOD_template,MISDN_AVM_FRITZ,misdn-avm, \
  1019. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/avmfritz \
  1020. ,80))
  1021. $(eval $(call KMOD_template,MISDN_HFCPCI,misdn-hfc-pci, \
  1022. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/hfcpci \
  1023. ,80))
  1024. $(eval $(call KMOD_template,MISDN_HFCMULTI,misdn-hfc-multi, \
  1025. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/hfcmulti \
  1026. ,80))
  1027. $(eval $(call KMOD_template,MISDN_HFCMINI,misdn-hfc-minipci, \
  1028. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/hfcsmini \
  1029. ,80))
  1030. $(eval $(call KMOD_template,MISDN_XHFC,misdn-xhfc, \
  1031. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/xhfc \
  1032. ,80))
  1033. $(eval $(call KMOD_template,MISDN_SPEEDFAX,misdn-speedfax, \
  1034. $(MODULES_DIR)/kernel/drivers/isdn/hardware/mISDN/sedlfax \
  1035. ,80))
  1036. # Library modules
  1037. $(eval $(call KMOD_template,CRC_CCITT,crc-ccitt, \
  1038. $(MODULES_DIR)/kernel/lib/crc-ccitt \
  1039. ,01))
  1040. $(eval $(call KMOD_template,CRC_ITU_T,crc-itu-t, \
  1041. $(MODULES_DIR)/kernel/lib/crc-itu-t \
  1042. ,01))
  1043. $(eval $(call KMOD_template,CRC16,crc16, \
  1044. $(MODULES_DIR)/kernel/lib/crc16 \
  1045. ,01))
  1046. $(eval $(call KMOD_template,CRC32,crc32, \
  1047. $(MODULES_DIR)/kernel/lib/crc32 \
  1048. ,01))
  1049. $(eval $(call KMOD_template,LIBCRC32C,libcrc32c, \
  1050. $(MODULES_DIR)/kernel/lib/libcrc32c \
  1051. ,10))
  1052. #
  1053. # parallel port support
  1054. $(eval $(call KMOD_template,LP,lp,\
  1055. $(MODULES_DIR)/kernel/drivers/char/lp \
  1056. ,60))
  1057. $(eval $(call KMOD_template,PPDEV,ppdev,\
  1058. $(MODULES_DIR)/kernel/drivers/char/ppdev \
  1059. ,60))
  1060. $(eval $(call KMOD_template,PARPORT,parport,\
  1061. $(MODULES_DIR)/kernel/drivers/parport/parport \
  1062. ,50))
  1063. $(eval $(call KMOD_template,PLIP,plip,\
  1064. $(MODULES_DIR)/kernel/drivers/net/plip \
  1065. ,51))