modules.mk 41 KB

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