modules.mk 42 KB

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