other.mk 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951
  1. #
  2. # Copyright (C) 2006-2010 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. OTHER_MENU:=Other modules
  8. WATCHDOG_DIR:=watchdog
  9. define KernelPackage/bluetooth
  10. SUBMENU:=$(OTHER_MENU)
  11. TITLE:=Bluetooth support
  12. DEPENDS:=@USB_SUPPORT +kmod-usb-core
  13. KCONFIG:= \
  14. CONFIG_BLUEZ \
  15. CONFIG_BLUEZ_L2CAP \
  16. CONFIG_BLUEZ_SCO \
  17. CONFIG_BLUEZ_RFCOMM \
  18. CONFIG_BLUEZ_BNEP \
  19. CONFIG_BLUEZ_HCIUART \
  20. CONFIG_BLUEZ_HCIUSB \
  21. CONFIG_BLUEZ_HIDP \
  22. CONFIG_BT \
  23. CONFIG_BT_L2CAP \
  24. CONFIG_BT_SCO \
  25. CONFIG_BT_RFCOMM \
  26. CONFIG_BT_BNEP \
  27. CONFIG_BT_HCIBTUSB \
  28. CONFIG_BT_HCIUSB \
  29. CONFIG_BT_HCIUART \
  30. CONFIG_BT_HCIUART_H4 \
  31. CONFIG_BT_HIDP
  32. $(call AddDepends/crc16)
  33. $(call AddDepends/hid)
  34. $(call AddDepends/rfkill)
  35. FILES:= \
  36. $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
  37. $(LINUX_DIR)/net/bluetooth/l2cap.ko \
  38. $(LINUX_DIR)/net/bluetooth/sco.ko \
  39. $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
  40. $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
  41. $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
  42. $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
  43. $(LINUX_DIR)/drivers/bluetooth/btusb.ko
  44. AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart btusb)
  45. endef
  46. define KernelPackage/bluetooth/description
  47. Kernel support for Bluetooth devices
  48. endef
  49. $(eval $(call KernelPackage,bluetooth))
  50. define KernelPackage/bluetooth-hci-h4p
  51. SUBMENU:=$(OTHER_MENU)
  52. TITLE:=HCI driver with H4 Nokia extensions
  53. DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
  54. KCONFIG:=CONFIG_BT_HCIH4P
  55. FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
  56. AUTOLOAD:=$(call AutoLoad,91,hci_h4p)
  57. endef
  58. define KernelPackage/bluetooth-hci-h4p/description
  59. HCI driver with H4 Nokia extensions
  60. endef
  61. $(eval $(call KernelPackage,bluetooth-hci-h4p))
  62. define KernelPackage/cpu-msr
  63. SUBMENU:=$(OTHER_MENU)
  64. TITLE:=x86 CPU MSR support
  65. DEPENDS:=@TARGET_x86
  66. KCONFIG:=CONFIG_X86_MSR
  67. FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.$(LINUX_KMOD_SUFFIX)
  68. AUTOLOAD:=$(call AutoLoad,20,msr)
  69. endef
  70. define KernelPackage/cpu-msr/description
  71. Kernel module for Model Specific Registers support in x86 CPUs
  72. endef
  73. $(eval $(call KernelPackage,cpu-msr))
  74. define KernelPackage/crc-ccitt
  75. SUBMENU:=$(OTHER_MENU)
  76. TITLE:=CRC-CCITT support
  77. KCONFIG:=CONFIG_CRC_CCITT
  78. FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko
  79. AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
  80. endef
  81. define KernelPackage/crc-ccitt/description
  82. Kernel module for CRC-CCITT support
  83. endef
  84. $(eval $(call KernelPackage,crc-ccitt))
  85. define KernelPackage/crc-itu-t
  86. SUBMENU:=$(OTHER_MENU)
  87. TITLE:=CRC ITU-T V.41 support
  88. KCONFIG:=CONFIG_CRC_ITU_T
  89. FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko
  90. AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
  91. endef
  92. define KernelPackage/crc-itu-t/description
  93. Kernel module for CRC ITU-T V.41 support
  94. endef
  95. $(eval $(call KernelPackage,crc-itu-t))
  96. define KernelPackage/crc7
  97. SUBMENU:=$(OTHER_MENU)
  98. TITLE:=CRC7 support
  99. KCONFIG:=CONFIG_CRC7
  100. FILES:=$(LINUX_DIR)/lib/crc7.ko
  101. AUTOLOAD:=$(call AutoLoad,20,crc7)
  102. endef
  103. define KernelPackage/crc7/description
  104. Kernel module for CRC7 support
  105. endef
  106. $(eval $(call KernelPackage,crc7))
  107. define KernelPackage/crc16
  108. SUBMENU:=$(OTHER_MENU)
  109. TITLE:=CRC16 support
  110. KCONFIG:=CONFIG_CRC16
  111. FILES:=$(LINUX_DIR)/lib/crc16.ko
  112. AUTOLOAD:=$(call AutoLoad,20,crc16,1)
  113. $(call SetDepends/crc16)
  114. endef
  115. define KernelPackage/crc16/description
  116. Kernel module for CRC16 support
  117. endef
  118. $(eval $(call KernelPackage,crc16))
  119. define KernelPackage/libcrc32c
  120. SUBMENU:=$(OTHER_MENU)
  121. TITLE:=CRC32 library support
  122. KCONFIG:=CONFIG_LIBCRC32C
  123. DEPENDS:=+kmod-crypto-core +kmod-crypto-misc
  124. FILES:=$(LINUX_DIR)/lib/libcrc32c.ko
  125. AUTOLOAD:=$(call AutoLoad,20,crc32c libcrc32c,1)
  126. endef
  127. define KernelPackage/libcrc32c/description
  128. Kernel module for CRC32 support
  129. endef
  130. $(eval $(call KernelPackage,libcrc32c))
  131. define KernelPackage/eeprom-93cx6
  132. SUBMENU:=$(OTHER_MENU)
  133. TITLE:=EEPROM 93CX6 support
  134. KCONFIG:=CONFIG_EEPROM_93CX6
  135. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
  136. AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
  137. endef
  138. define KernelPackage/eeprom-93cx6/description
  139. Kernel module for EEPROM 93CX6 support
  140. endef
  141. $(eval $(call KernelPackage,eeprom-93cx6))
  142. define KernelPackage/gpio-cs5535
  143. SUBMENU:=$(OTHER_MENU)
  144. TITLE:=AMD CS5535/CS5536 GPIO driver
  145. DEPENDS:=@TARGET_x86 @LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37
  146. KCONFIG:=CONFIG_CS5535_GPIO CONFIG_GPIOLIB=y
  147. FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
  148. AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
  149. endef
  150. define KernelPackage/gpio-cs5535/description
  151. This package contains the AMD CS5535/CS5536 GPIO driver
  152. endef
  153. $(eval $(call KernelPackage,gpio-cs5535))
  154. define KernelPackage/gpio-cs5535-new
  155. SUBMENU:=$(OTHER_MENU)
  156. TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support
  157. DEPENDS:=@TARGET_x86 @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32)
  158. KCONFIG:=CONFIG_GPIO_CS5535 CONFIG_GPIOLIB=y
  159. FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko
  160. AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio)
  161. endef
  162. define KernelPackage/gpio-cs5535-new/description
  163. This package contains the new AMD CS5535/CS5536 GPIO driver
  164. endef
  165. $(eval $(call KernelPackage,gpio-cs5535-new))
  166. define KernelPackage/gpio-dev
  167. SUBMENU:=$(OTHER_MENU)
  168. TITLE:=Generic GPIO char device support
  169. DEPENDS:=@GPIO_SUPPORT
  170. KCONFIG:=CONFIG_GPIO_DEVICE
  171. FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
  172. AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
  173. endef
  174. define KernelPackage/gpio-dev/description
  175. Kernel module to allows control of GPIO pins using a character device.
  176. endef
  177. $(eval $(call KernelPackage,gpio-dev))
  178. define KernelPackage/gpio-nsc
  179. SUBMENU:=$(OTHER_MENU)
  180. TITLE:=Natsemi GPIO support
  181. DEPENDS:=@TARGET_x86
  182. KCONFIG:=CONFIG_NSC_GPIO
  183. FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.ko
  184. AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
  185. endef
  186. define KernelPackage/gpio-nsc/description
  187. Kernel module for Natsemi GPIO
  188. endef
  189. $(eval $(call KernelPackage,gpio-nsc))
  190. define KernelPackage/gpio-pc8736x
  191. SUBMENU:=$(OTHER_MENU)
  192. TITLE:=PC8736x GPIO support
  193. DEPENDS:=@TARGET_x86
  194. KCONFIG:=CONFIG_PC8736x_GPIO
  195. FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.ko
  196. AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
  197. endef
  198. define KernelPackage/gpio-pc8736x/description
  199. Kernel module for PC8736x GPIO
  200. endef
  201. $(eval $(call KernelPackage,gpio-pc8736x))
  202. define KernelPackage/gpio-scx200
  203. SUBMENU:=$(OTHER_MENU)
  204. TITLE:=Natsemi SCX200 GPIO support
  205. DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
  206. KCONFIG:=CONFIG_SCx200_GPIO
  207. FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.ko
  208. AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
  209. endef
  210. define KernelPackage/gpio-scx200/description
  211. Kernel module for SCX200 GPIO
  212. endef
  213. $(eval $(call KernelPackage,gpio-scx200))
  214. define KernelPackage/gpio-nxp-74hc164
  215. SUBMENU:=$(OTHER_MENU)
  216. TITLE:=NXP 74HC164 GPIO expander support
  217. DEPENDS:=@TARGET_brcm63xx
  218. KCONFIG:=CONFIG_GPIO_NXP_74HC164
  219. FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
  220. AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
  221. endef
  222. define KernelPackage/gpio-nxp-74hc164/description
  223. Kernel module for NXP 74HC164 GPIO expander
  224. endef
  225. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  226. define KernelPackage/hid
  227. SUBMENU:=$(OTHER_MENU)
  228. TITLE:=HID Devices
  229. DEPENDS:=+kmod-input-evdev
  230. KCONFIG:=CONFIG_HID
  231. FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
  232. AUTOLOAD:=$(call AutoLoad,61,hid)
  233. $(call SetDepends/hid)
  234. $(call AddDepends/input)
  235. endef
  236. define KernelPackage/hid/description
  237. Kernel modules for HID devices
  238. endef
  239. $(eval $(call KernelPackage,hid))
  240. define KernelPackage/input-core
  241. SUBMENU:=$(OTHER_MENU)
  242. TITLE:=Input device core
  243. KCONFIG:=CONFIG_INPUT
  244. $(call SetDepends/input)
  245. FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
  246. AUTOLOAD:=$(call AutoLoad,19,input-core)
  247. endef
  248. define KernelPackage/input-core/description
  249. Kernel modules for support of input device
  250. endef
  251. $(eval $(call KernelPackage,input-core))
  252. define KernelPackage/input-evdev
  253. SUBMENU:=$(OTHER_MENU)
  254. TITLE:=Input event device
  255. KCONFIG:=CONFIG_INPUT_EVDEV
  256. FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
  257. AUTOLOAD:=$(call AutoLoad,60,evdev)
  258. $(call AddDepends/input)
  259. endef
  260. define KernelPackage/input-evdev/description
  261. Kernel modules for support of input device events
  262. endef
  263. $(eval $(call KernelPackage,input-evdev))
  264. define KernelPackage/input-gpio-buttons
  265. SUBMENU:=$(OTHER_MENU)
  266. TITLE:=Polled GPIO buttons input device
  267. DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
  268. KCONFIG:= \
  269. CONFIG_INPUT_GPIO_BUTTONS \
  270. CONFIG_INPUT_MISC=y
  271. FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
  272. AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
  273. endef
  274. define KernelPackage/input-gpio-buttons/description
  275. Kernel module for support polled GPIO buttons input device
  276. endef
  277. $(eval $(call KernelPackage,input-gpio-buttons))
  278. define KernelPackage/input-gpio-keys
  279. SUBMENU:=$(OTHER_MENU)
  280. TITLE:=GPIO key support
  281. DEPENDS:= @GPIO_SUPPORT
  282. KCONFIG:= \
  283. CONFIG_KEYBOARD_GPIO \
  284. CONFIG_INPUT_KEYBOARD=y
  285. FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
  286. AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
  287. $(call AddDepends/input)
  288. endef
  289. define KernelPackage/input-gpio-keys/description
  290. This driver implements support for buttons connected
  291. to GPIO pins of various CPUs (and some other chips).
  292. endef
  293. $(eval $(call KernelPackage,input-gpio-keys))
  294. define KernelPackage/input-gpio-encoder
  295. SUBMENU:=$(OTHER_MENU)
  296. TITLE:=GPIO rotay encoder
  297. KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
  298. FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
  299. AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
  300. $(call AddDepends/input,@GPIO_SUPPORT)
  301. endef
  302. define KernelPackage/gpio-encoder/description
  303. Kernel module to use rotary encoders connected to GPIO pins
  304. endef
  305. $(eval $(call KernelPackage,input-gpio-encoder))
  306. define KernelPackage/input-joydev
  307. SUBMENU:=$(OTHER_MENU)
  308. TITLE:=Joystick device support
  309. KCONFIG:=CONFIG_INPUT_JOYDEV
  310. FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
  311. AUTOLOAD:=$(call AutoLoad,62,joydev)
  312. $(call AddDepends/input)
  313. endef
  314. define KernelPackage/input-joydev/description
  315. Kernel module for joystick support
  316. endef
  317. $(eval $(call KernelPackage,input-joydev))
  318. define KernelPackage/input-polldev
  319. SUBMENU:=$(OTHER_MENU)
  320. TITLE:=Polled Input device support
  321. KCONFIG:=CONFIG_INPUT_POLLDEV
  322. FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
  323. AUTOLOAD:=$(call AutoLoad,20,input-polldev)
  324. $(call AddDepends/input)
  325. endef
  326. define KernelPackage/input-polldev/description
  327. Kernel module for support of polled input devices
  328. endef
  329. $(eval $(call KernelPackage,input-polldev))
  330. define KernelPackage/leds-alix
  331. SUBMENU:=$(OTHER_MENU)
  332. TITLE:=PCengines ALIX LED support
  333. DEPENDS:=@TARGET_x86
  334. KCONFIG:=CONFIG_LEDS_ALIX2
  335. FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.ko
  336. AUTOLOAD:=$(call AutoLoad,50,leds-alix2)
  337. endef
  338. define KernelPackage/leds-alix/description
  339. Kernel module for PCengines ALIX LEDs
  340. endef
  341. $(eval $(call KernelPackage,leds-alix))
  342. define KernelPackage/leds-gpio
  343. SUBMENU:=$(OTHER_MENU)
  344. TITLE:=GPIO LED support
  345. DEPENDS:= @GPIO_SUPPORT
  346. KCONFIG:=CONFIG_LEDS_GPIO
  347. FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko
  348. AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
  349. endef
  350. define KernelPackage/leds-gpio/description
  351. Kernel module for LEDs on GPIO lines
  352. endef
  353. $(eval $(call KernelPackage,leds-gpio))
  354. define KernelPackage/leds-net48xx
  355. SUBMENU:=$(OTHER_MENU)
  356. TITLE:=Soekris Net48xx LED support
  357. DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
  358. KCONFIG:=CONFIG_LEDS_NET48XX
  359. FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko
  360. AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
  361. endef
  362. define KernelPackage/leds-net48xx/description
  363. Kernel module for Soekris Net48xx LEDs
  364. endef
  365. $(eval $(call KernelPackage,leds-net48xx))
  366. define KernelPackage/leds-net5501
  367. SUBMENU:=$(OTHER_MENU)
  368. TITLE:=Soekris Net5501 LED support
  369. DEPENDS:=@TARGET_x86 +kmod-gpio-cs5535 +kmod-leds-gpio
  370. KCONFIG:=CONFIG_LEDS_NET5501
  371. FILES:=$(LINUX_DIR)/drivers/leds/leds-net5501.ko
  372. AUTOLOAD:=$(call AutoLoad,50,leds-net5501)
  373. endef
  374. define KernelPackage/leds-net5501/description
  375. Kernel module for Soekris Net5501 LEDs
  376. endef
  377. $(eval $(call KernelPackage,leds-net5501))
  378. define KernelPackage/leds-rb750
  379. SUBMENU:=$(OTHER_MENU)
  380. TITLE:=RouterBOARD 750 LED support
  381. DEPENDS:=@TARGET_ar71xx
  382. KCONFIG:=CONFIG_LEDS_RB750
  383. FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.ko
  384. AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
  385. endef
  386. define KernelPackage/leds-rb750/description
  387. Kernel module for the LEDs on the MikroTik RouterBOARD 750.
  388. endef
  389. $(eval $(call KernelPackage,leds-rb750))
  390. define KernelPackage/leds-wndr3700-usb
  391. SUBMENU:=$(OTHER_MENU)
  392. TITLE:=WNDR3700 USB LED support
  393. DEPENDS:=@TARGET_ar71xx
  394. KCONFIG:=CONFIG_LEDS_WNDR3700_USB
  395. FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.ko
  396. AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
  397. endef
  398. define KernelPackage/leds-wndr3700-usb/description
  399. Kernel module for the USB LED on the NETGWR WNDR3700 board.
  400. endef
  401. $(eval $(call KernelPackage,leds-wndr3700-usb))
  402. define KernelPackage/leds-wrap
  403. SUBMENU:=$(OTHER_MENU)
  404. TITLE:=PCengines WRAP LED support
  405. DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
  406. KCONFIG:=CONFIG_LEDS_WRAP
  407. FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko
  408. AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
  409. endef
  410. define KernelPackage/leds-wrap/description
  411. Kernel module for PCengines WRAP LEDs
  412. endef
  413. $(eval $(call KernelPackage,leds-wrap))
  414. define KernelPackage/ledtrig-heartbeat
  415. SUBMENU:=$(OTHER_MENU)
  416. TITLE:=LED Heartbeat Trigger
  417. KCONFIG:=CONFIG_LEDS_TRIGGER_HEARTBEAT
  418. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-heartbeat.ko
  419. AUTOLOAD:=$(call AutoLoad,50,ledtrig-heartbeat)
  420. endef
  421. define KernelPackage/ledtrig-gpio/description
  422. Kernel module that allows LEDs to blink like heart beat
  423. endef
  424. $(eval $(call KernelPackage,ledtrig-heartbeat))
  425. define KernelPackage/ledtrig-gpio
  426. SUBMENU:=$(OTHER_MENU)
  427. TITLE:=LED GPIO Trigger
  428. KCONFIG:=CONFIG_LEDS_TRIGGER_GPIO
  429. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-gpio.ko
  430. AUTOLOAD:=$(call AutoLoad,50,ledtrig-gpio)
  431. endef
  432. define KernelPackage/ledtrig-gpio/description
  433. Kernel module that allows LEDs to be controlled by gpio events.
  434. endef
  435. $(eval $(call KernelPackage,ledtrig-gpio))
  436. define KernelPackage/ledtrig-morse
  437. SUBMENU:=$(OTHER_MENU)
  438. TITLE:=LED Morse Trigger
  439. KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
  440. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.ko
  441. AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
  442. endef
  443. define KernelPackage/ledtrig-morse/description
  444. Kernel module to show morse coded messages on LEDs.
  445. endef
  446. $(eval $(call KernelPackage,ledtrig-morse))
  447. define KernelPackage/ledtrig-netdev
  448. SUBMENU:=$(OTHER_MENU)
  449. TITLE:=LED NETDEV Trigger
  450. KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
  451. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.ko
  452. AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
  453. endef
  454. define KernelPackage/ledtrig-netdev/description
  455. Kernel module to drive LEDs based on network activity.
  456. endef
  457. $(eval $(call KernelPackage,ledtrig-netdev))
  458. define KernelPackage/ledtrig-netfilter
  459. SUBMENU:=$(OTHER_MENU)
  460. TITLE:=LED NetFilter Trigger
  461. DEPENDS:=kmod-ipt-core
  462. KCONFIG:=CONFIG_NETFILTER_XT_TARGET_LED
  463. FILES:=$(LINUX_DIR)/net/netfilter/xt_LED.ko
  464. AUTOLOAD:=$(call AutoLoad,50,xt_LED)
  465. endef
  466. define KernelPackage/ledtrig-netfilter/description
  467. Kernel module to flash LED when a particular packets passing through your machine.
  468. For example to create an LED trigger for incoming SSH traffic:
  469. iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000
  470. Then attach the new trigger to an LED on your system:
  471. echo netfilter-ssh > /sys/class/leds/<ledname>/trigger
  472. endef
  473. $(eval $(call KernelPackage,ledtrig-netfilter))
  474. define KernelPackage/ledtrig-usbdev
  475. SUBMENU:=$(OTHER_MENU)
  476. TITLE:=LED USB device Trigger
  477. DEPENDS:=@USB_SUPPORT +kmod-usb-core
  478. KCONFIG:=CONFIG_LEDS_TRIGGER_USBDEV
  479. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-usbdev.ko
  480. AUTOLOAD:=$(call AutoLoad,50,ledtrig-usbdev)
  481. endef
  482. define KernelPackage/ledtrig-usbdev/description
  483. Kernel module to drive LEDs based on USB device presence/activity.
  484. endef
  485. $(eval $(call KernelPackage,ledtrig-usbdev))
  486. define KernelPackage/lp
  487. SUBMENU:=$(OTHER_MENU)
  488. TITLE:=Parallel port and line printer support
  489. DEPENDS:=@BROKEN
  490. KCONFIG:= \
  491. CONFIG_PARPORT \
  492. CONFIG_PRINTER \
  493. CONFIG_PPDEV
  494. FILES:= \
  495. $(LINUX_DIR)/drivers/parport/parport.ko \
  496. $(LINUX_DIR)/drivers/char/lp.ko \
  497. $(LINUX_DIR)/drivers/char/ppdev.ko
  498. AUTOLOAD:=$(call AutoLoad,50,parport lp)
  499. endef
  500. $(eval $(call KernelPackage,lp))
  501. define KernelPackage/mmc
  502. SUBMENU:=$(OTHER_MENU)
  503. TITLE:=MMC/SD Card Support
  504. KCONFIG:= \
  505. CONFIG_MMC \
  506. CONFIG_MMC_BLOCK \
  507. CONFIG_MMC_DEBUG=n \
  508. CONFIG_MMC_UNSAFE_RESUME=n \
  509. CONFIG_MMC_BLOCK_BOUNCE=y \
  510. CONFIG_MMC_SDHCI=n \
  511. CONFIG_MMC_TIFM_SD=n \
  512. CONFIG_MMC_WBSD=n \
  513. CONFIG_SDIO_UART=n
  514. FILES:= \
  515. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  516. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  517. AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
  518. endef
  519. define KernelPackage/mmc/description
  520. Kernel support for MMC/SD cards
  521. endef
  522. $(eval $(call KernelPackage,mmc))
  523. define KernelPackage/mmc-atmelmci
  524. SUBMENU:=$(OTHER_MENU)
  525. TITLE:=Amtel MMC Support
  526. DEPENDS:=@TARGET_avr32 +kmod-mmc
  527. KCONFIG:=CONFIG_MMC_ATMELMCI
  528. FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko
  529. AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
  530. endef
  531. define KernelPackage/mmc-atmelmci/description
  532. Kernel support for Atmel Multimedia Card Interface.
  533. endef
  534. $(eval $(call KernelPackage,mmc-atmelmci,1))
  535. define KernelPackage/oprofile
  536. SUBMENU:=$(OTHER_MENU)
  537. TITLE:=OProfile profiling support
  538. KCONFIG:=CONFIG_OPROFILE
  539. FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.$(LINUX_KMOD_SUFFIX)
  540. DEPENDS:=@KERNEL_PROFILING
  541. endef
  542. define KernelPackage/oprofile/description
  543. Kernel module for support for oprofile system profiling.
  544. endef
  545. $(eval $(call KernelPackage,oprofile))
  546. define KernelPackage/rfkill
  547. SUBMENU:=$(OTHER_MENU)
  548. TITLE:=RF switch subsystem support
  549. KCONFIG:= \
  550. CONFIG_RFKILL \
  551. CONFIG_RFKILL_INPUT=y \
  552. CONFIG_RFKILL_LEDS=y
  553. ifeq ($(CONFIG_LINUX_2_6_30),)
  554. FILES:= \
  555. $(LINUX_DIR)/net/rfkill/rfkill.ko
  556. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  557. else
  558. FILES:= \
  559. $(LINUX_DIR)/net/rfkill/rfkill.ko \
  560. $(LINUX_DIR)/net/rfkill/rfkill-input.ko
  561. AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
  562. endif
  563. $(call SetDepends/rfkill)
  564. endef
  565. define KernelPackage/rfkill/description
  566. Say Y here if you want to have control over RF switches
  567. found on many WiFi and Bluetooth cards.
  568. endef
  569. $(eval $(call KernelPackage,rfkill))
  570. define KernelPackage/softdog
  571. SUBMENU:=$(OTHER_MENU)
  572. TITLE:=Software watchdog driver
  573. KCONFIG:=CONFIG_SOFT_WATCHDOG
  574. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  575. AUTOLOAD:=$(call AutoLoad,50,softdog)
  576. endef
  577. define KernelPackage/softdog/description
  578. Software watchdog driver
  579. endef
  580. $(eval $(call KernelPackage,softdog))
  581. define KernelPackage/ssb
  582. SUBMENU:=$(OTHER_MENU)
  583. TITLE:=Silicon Sonics Backplane glue code
  584. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  585. KCONFIG:=\
  586. CONFIG_SSB \
  587. CONFIG_SSB_B43_PCI_BRIDGE=y \
  588. CONFIG_SSB_DRIVER_MIPS=n \
  589. CONFIG_SSB_DRIVER_PCICORE=y \
  590. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  591. CONFIG_SSB_PCIHOST=y \
  592. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  593. CONFIG_SSB_POSSIBLE=y \
  594. CONFIG_SSB_SPROM=y \
  595. CONFIG_SSB_SILENT=y
  596. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  597. AUTOLOAD:=$(call AutoLoad,29,ssb)
  598. endef
  599. define KernelPackage/ssb/description
  600. Silicon Sonics Backplane glue code.
  601. endef
  602. $(eval $(call KernelPackage,ssb))
  603. define KernelPackage/textsearch
  604. SUBMENU:=$(OTHER_MENU)
  605. TITLE:=Textsearch support is selected if needed
  606. KCONFIG:= \
  607. CONFIG_TEXTSEARCH=y \
  608. CONFIG_TEXTSEARCH_KMP \
  609. CONFIG_TEXTSEARCH_BM \
  610. CONFIG_TEXTSEARCH_FSM
  611. FILES:= \
  612. $(LINUX_DIR)/lib/ts_kmp.ko \
  613. $(LINUX_DIR)/lib/ts_bm.ko \
  614. $(LINUX_DIR)/lib/ts_fsm.ko
  615. AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
  616. endef
  617. $(eval $(call KernelPackage,textsearch))
  618. define KernelPackage/wdt-geode
  619. SUBMENU:=$(OTHER_MENU)
  620. TITLE:=Geode/LX Watchdog timer
  621. DEPENDS:=@TARGET_x86
  622. KCONFIG:=CONFIG_GEODE_WDT
  623. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
  624. AUTOLOAD:=$(call AutoLoad,50,geodewdt)
  625. endef
  626. define KernelPackage/wdt-geode/description
  627. Kernel module for Geode watchdog timer.
  628. endef
  629. $(eval $(call KernelPackage,wdt-geode))
  630. define KernelPackage/wdt-omap
  631. SUBMENU:=$(OTHER_MENU)
  632. TITLE:=OMAP Watchdog timer
  633. DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
  634. KCONFIG:=CONFIG_OMAP_WATCHDOG
  635. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
  636. AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
  637. endef
  638. define KernelPackage/wdt-omap/description
  639. Kernel module for TI omap watchdog timer.
  640. endef
  641. $(eval $(call KernelPackage,wdt-omap))
  642. define KernelPackage/wdt-orion
  643. SUBMENU:=$(OTHER_MENU)
  644. TITLE:=Marvell Orion Watchdog timer
  645. DEPENDS:=@TARGET_orion
  646. KCONFIG:=CONFIG_ORION_WATCHDOG
  647. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
  648. AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
  649. endef
  650. define KernelPackage/wdt-orion/description
  651. Kernel module for Marvell orion watchdog timer.
  652. endef
  653. $(eval $(call KernelPackage,wdt-orion))
  654. define KernelPackage/wdt-sc520
  655. SUBMENU:=$(OTHER_MENU)
  656. TITLE:=Natsemi SC520 Watchdog support
  657. DEPENDS:=@TARGET_x86
  658. KCONFIG:=CONFIG_SC520_WDT
  659. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
  660. AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
  661. endef
  662. define KernelPackage/wdt-sc520/description
  663. Kernel module for SC520 Watchdog
  664. endef
  665. $(eval $(call KernelPackage,wdt-sc520))
  666. define KernelPackage/wdt-scx200
  667. SUBMENU:=$(OTHER_MENU)
  668. TITLE:=Natsemi SCX200 Watchdog support
  669. DEPENDS:=@TARGET_x86
  670. KCONFIG:=CONFIG_SCx200_WDT
  671. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
  672. AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
  673. endef
  674. define KernelPackage/wdt-scx200/description
  675. Kernel module for SCX200 Watchdog
  676. endef
  677. $(eval $(call KernelPackage,wdt-scx200))
  678. define KernelPackage/pwm
  679. SUBMENU:=$(OTHER_MENU)
  680. TITLE:=PWM generic API
  681. KCONFIG:=CONFIG_GENERIC_PWM
  682. FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
  683. AUTOLOAD:=$(call AutoLoad,50,pwm)
  684. endef
  685. define KernelPackage/pwm/description
  686. Kernel module that implement a generic PWM API
  687. endef
  688. $(eval $(call KernelPackage,pwm))
  689. define KernelPackage/pwm-gpio
  690. SUBMENU:=$(OTHER_MENU)
  691. TITLE:=PWM over GPIO
  692. DEPENDS:=+kmod-pwm
  693. KCONFIG:=CONFIG_GPIO_PWM
  694. FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
  695. AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
  696. endef
  697. define KernelPackage/pwm-gpio/description
  698. Kernel module to models a single-channel PWM device using a timer and a GPIO pin
  699. endef
  700. $(eval $(call KernelPackage,pwm-gpio))
  701. define KernelPackage/rtc-core
  702. SUBMENU:=$(OTHER_MENU)
  703. TITLE:=Real Time Clock class support
  704. KCONFIG:=CONFIG_RTC_CLASS
  705. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.$(LINUX_KMOD_SUFFIX)
  706. AUTOLOAD:=$(call AutoLoad,29,rtc-core)
  707. endef
  708. define KernelPackage/rtc-core/description
  709. Generic RTC class support.
  710. endef
  711. $(eval $(call KernelPackage,rtc-core))
  712. define KernelPackage/rtc-pcf8563
  713. SUBMENU:=$(OTHER_MENU)
  714. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  715. DEPENDS:=+kmod-rtc-core
  716. KCONFIG:=CONFIG_RTC_DRV_PCF8563
  717. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.$(LINUX_KMOD_SUFFIX)
  718. AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
  719. endef
  720. define KernelPackage/rtc-pcf8563/description
  721. Kernel module for Philips PCF8563 RTC chip.
  722. The Epson RTC8564 should work as well.
  723. endef
  724. $(eval $(call KernelPackage,rtc-pcf8563))
  725. define KernelPackage/n810bm
  726. SUBMENU:=$(OTHER_MENU)
  727. TITLE:=Nokia N810 battery management driver
  728. DEPENDS:=@TARGET_omap24xx
  729. KCONFIG:=CONFIG_N810BM
  730. FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.$(LINUX_KMOD_SUFFIX)
  731. AUTOLOAD:=$(call AutoLoad,01,n810bm)
  732. endef
  733. define KernelPackage/n810bm/description
  734. Nokia N810 battery management driver.
  735. Controls battery power management and battery charging.
  736. endef
  737. $(eval $(call KernelPackage,n810bm))