modules.mk 37 KB

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