modules.mk 41 KB

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