modules.mk 45 KB

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