modules.mk 50 KB

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