modules.mk 50 KB

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