modules.mk 47 KB

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