modules.mk 44 KB

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