modules.mk 42 KB

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