other.mk 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  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/cpu-msr
  51. SUBMENU:=$(OTHER_MENU)
  52. TITLE:=x86 CPU MSR support
  53. DEPENDS:=@TARGET_x86
  54. KCONFIG:=CONFIG_X86_MSR
  55. FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.$(LINUX_KMOD_SUFFIX)
  56. AUTOLOAD:=$(call AutoLoad,20,msr)
  57. endef
  58. define KernelPackage/cpu-msr/description
  59. Kernel module for Model Specific Registers support in x86 CPUs
  60. endef
  61. $(eval $(call KernelPackage,cpu-msr))
  62. define KernelPackage/crc-ccitt
  63. SUBMENU:=$(OTHER_MENU)
  64. TITLE:=CRC-CCITT support
  65. KCONFIG:=CONFIG_CRC_CCITT
  66. FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko
  67. AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
  68. endef
  69. define KernelPackage/crc-ccitt/description
  70. Kernel module for CRC-CCITT support
  71. endef
  72. $(eval $(call KernelPackage,crc-ccitt))
  73. define KernelPackage/crc-itu-t
  74. SUBMENU:=$(OTHER_MENU)
  75. TITLE:=CRC ITU-T V.41 support
  76. KCONFIG:=CONFIG_CRC_ITU_T
  77. FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko
  78. AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
  79. endef
  80. define KernelPackage/crc-itu-t/description
  81. Kernel module for CRC ITU-T V.41 support
  82. endef
  83. $(eval $(call KernelPackage,crc-itu-t))
  84. define KernelPackage/crc7
  85. SUBMENU:=$(OTHER_MENU)
  86. TITLE:=CRC7 support
  87. KCONFIG:=CONFIG_CRC7
  88. FILES:=$(LINUX_DIR)/lib/crc7.ko
  89. AUTOLOAD:=$(call AutoLoad,20,crc7)
  90. endef
  91. define KernelPackage/crc7/description
  92. Kernel module for CRC7 support
  93. endef
  94. $(eval $(call KernelPackage,crc7))
  95. define KernelPackage/crc16
  96. SUBMENU:=$(OTHER_MENU)
  97. TITLE:=CRC16 support
  98. KCONFIG:=CONFIG_CRC16
  99. FILES:=$(LINUX_DIR)/lib/crc16.ko
  100. AUTOLOAD:=$(call AutoLoad,20,crc16,1)
  101. $(call SetDepends/crc16)
  102. endef
  103. define KernelPackage/crc16/description
  104. Kernel module for CRC16 support
  105. endef
  106. $(eval $(call KernelPackage,crc16))
  107. define KernelPackage/libcrc32c
  108. SUBMENU:=$(OTHER_MENU)
  109. TITLE:=CRC32 library support
  110. KCONFIG:=CONFIG_LIBCRC32C
  111. DEPENDS:=+kmod-crypto-core +kmod-crypto-misc
  112. FILES:=$(LINUX_DIR)/lib/libcrc32c.ko
  113. AUTOLOAD:=$(call AutoLoad,20,crc32c libcrc32c,1)
  114. endef
  115. define KernelPackage/libcrc32c/description
  116. Kernel module for CRC32 support
  117. endef
  118. $(eval $(call KernelPackage,libcrc32c))
  119. define KernelPackage/eeprom-93cx6
  120. SUBMENU:=$(OTHER_MENU)
  121. TITLE:=EEPROM 93CX6 support
  122. KCONFIG:=CONFIG_EEPROM_93CX6
  123. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
  124. AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
  125. endef
  126. define KernelPackage/eeprom-93cx6/description
  127. Kernel module for EEPROM 93CX6 support
  128. endef
  129. $(eval $(call KernelPackage,eeprom-93cx6))
  130. define KernelPackage/gpio-cs5535
  131. SUBMENU:=$(OTHER_MENU)
  132. TITLE:=AMD CS5535/CS5536 GPIO driver
  133. DEPENDS:=@TARGET_x86
  134. KCONFIG:=CONFIG_CS5535_GPIO
  135. FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
  136. AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
  137. endef
  138. define KernelPackage/gpio-cs5535/description
  139. This package contains the AMD CS5535/CS5536 GPIO driver
  140. endef
  141. $(eval $(call KernelPackage,gpio-cs5535))
  142. define KernelPackage/gpio-dev
  143. SUBMENU:=$(OTHER_MENU)
  144. TITLE:=Generic GPIO char device support
  145. DEPENDS:=@GPIO_SUPPORT
  146. KCONFIG:=CONFIG_GPIO_DEVICE
  147. FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
  148. AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
  149. endef
  150. define KernelPackage/gpio-dev/description
  151. Kernel module to allows control of GPIO pins using a character device.
  152. endef
  153. $(eval $(call KernelPackage,gpio-dev))
  154. define KernelPackage/gpio-nsc
  155. SUBMENU:=$(OTHER_MENU)
  156. TITLE:=Natsemi GPIO support
  157. DEPENDS:=@TARGET_x86
  158. KCONFIG:=CONFIG_NSC_GPIO
  159. FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.ko
  160. AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
  161. endef
  162. define KernelPackage/gpio-nsc/description
  163. Kernel module for Natsemi GPIO
  164. endef
  165. $(eval $(call KernelPackage,gpio-nsc))
  166. define KernelPackage/gpio-pc8736x
  167. SUBMENU:=$(OTHER_MENU)
  168. TITLE:=PC8736x GPIO support
  169. DEPENDS:=@TARGET_x86
  170. KCONFIG:=CONFIG_PC8736x_GPIO
  171. FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.ko
  172. AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
  173. endef
  174. define KernelPackage/gpio-pc8736x/description
  175. Kernel module for PC8736x GPIO
  176. endef
  177. $(eval $(call KernelPackage,gpio-pc8736x))
  178. define KernelPackage/gpio-scx200
  179. SUBMENU:=$(OTHER_MENU)
  180. TITLE:=Natsemi SCX200 GPIO support
  181. DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
  182. KCONFIG:=CONFIG_SCx200_GPIO
  183. FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.ko
  184. AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
  185. endef
  186. define KernelPackage/gpio-scx200/description
  187. Kernel module for SCX200 GPIO
  188. endef
  189. $(eval $(call KernelPackage,gpio-scx200))
  190. define KernelPackage/gpio-nxp-74hc164
  191. SUBMENU:=$(OTHER_MENU)
  192. TITLE:=NXP 74HC164 GPIO expander support
  193. DEPENDS:=@TARGET_brcm63xx
  194. KCONFIG:=CONFIG_GPIO_NXP_74HC164
  195. FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
  196. AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
  197. endef
  198. define KernelPackage/gpio-nxp-74hc164/description
  199. Kernel module for NXP 74HC164 GPIO expander
  200. endef
  201. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  202. define KernelPackage/hid
  203. SUBMENU:=$(OTHER_MENU)
  204. TITLE:=HID Devices
  205. DEPENDS:=+kmod-input-evdev
  206. KCONFIG:=CONFIG_HID
  207. FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
  208. AUTOLOAD:=$(call AutoLoad,61,hid)
  209. $(call SetDepends/hid)
  210. $(call AddDepends/input)
  211. endef
  212. define KernelPackage/hid/description
  213. Kernel modules for HID devices
  214. endef
  215. $(eval $(call KernelPackage,hid))
  216. define KernelPackage/input-core
  217. SUBMENU:=$(OTHER_MENU)
  218. TITLE:=Input device core
  219. KCONFIG:=CONFIG_INPUT
  220. $(call SetDepends/input)
  221. FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
  222. AUTOLOAD:=$(call AutoLoad,19,input-core)
  223. endef
  224. define KernelPackage/input-core/description
  225. Kernel modules for support of input device
  226. endef
  227. $(eval $(call KernelPackage,input-core))
  228. define KernelPackage/input-evdev
  229. SUBMENU:=$(OTHER_MENU)
  230. TITLE:=Input event device
  231. KCONFIG:=CONFIG_INPUT_EVDEV
  232. FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
  233. AUTOLOAD:=$(call AutoLoad,60,evdev)
  234. $(call AddDepends/input)
  235. endef
  236. define KernelPackage/input-evdev/description
  237. Kernel modules for support of input device events
  238. endef
  239. $(eval $(call KernelPackage,input-evdev))
  240. define KernelPackage/input-gpio-buttons
  241. SUBMENU:=$(OTHER_MENU)
  242. TITLE:=Polled GPIO buttons input device
  243. DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
  244. KCONFIG:= \
  245. CONFIG_INPUT_GPIO_BUTTONS \
  246. CONFIG_INPUT_MISC=y
  247. FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
  248. AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
  249. endef
  250. define KernelPackage/input-gpio-buttons/description
  251. Kernel module for support polled GPIO buttons input device
  252. endef
  253. $(eval $(call KernelPackage,input-gpio-buttons))
  254. define KernelPackage/input-gpio-keys
  255. SUBMENU:=$(OTHER_MENU)
  256. TITLE:=GPIO key support
  257. DEPENDS:= @GPIO_SUPPORT
  258. KCONFIG:=CONFIG_KEYBOARD_GPIO
  259. FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
  260. AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
  261. $(call AddDepends/input)
  262. endef
  263. define KernelPackage/input-gpio-keys/description
  264. This driver implements support for buttons connected
  265. to GPIO pins of various CPUs (and some other chips).
  266. endef
  267. $(eval $(call KernelPackage,input-gpio-keys))
  268. define KernelPackage/input-gpio-encoder
  269. SUBMENU:=$(OTHER_MENU)
  270. TITLE:=GPIO rotay encoder
  271. KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
  272. FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
  273. AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
  274. $(call AddDepends/input,@GPIO_SUPPORT)
  275. endef
  276. define KernelPackage/gpio-encoder/description
  277. Kernel module to use rotary encoders connected to GPIO pins
  278. endef
  279. $(eval $(call KernelPackage,input-gpio-encoder))
  280. define KernelPackage/input-joydev
  281. SUBMENU:=$(OTHER_MENU)
  282. TITLE:=Joystick device support
  283. KCONFIG:=CONFIG_INPUT_JOYDEV
  284. FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
  285. AUTOLOAD:=$(call AutoLoad,62,joydev)
  286. $(call AddDepends/input)
  287. endef
  288. define KernelPackage/input-joydev/description
  289. Kernel module for joystick support
  290. endef
  291. $(eval $(call KernelPackage,input-joydev))
  292. define KernelPackage/input-polldev
  293. SUBMENU:=$(OTHER_MENU)
  294. TITLE:=Polled Input device support
  295. KCONFIG:=CONFIG_INPUT_POLLDEV
  296. FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
  297. AUTOLOAD:=$(call AutoLoad,20,input-polldev)
  298. $(call AddDepends/input)
  299. endef
  300. define KernelPackage/input-polldev/description
  301. Kernel module for support of polled input devices
  302. endef
  303. $(eval $(call KernelPackage,input-polldev))
  304. define KernelPackage/leds-alix
  305. SUBMENU:=$(OTHER_MENU)
  306. TITLE:=PCengines ALIX LED support
  307. DEPENDS:=@TARGET_x86
  308. KCONFIG:=CONFIG_LEDS_ALIX2
  309. FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.ko
  310. AUTOLOAD:=$(call AutoLoad,50,leds-alix2)
  311. endef
  312. define KernelPackage/leds-alix/description
  313. Kernel module for PCengines ALIX LEDs
  314. endef
  315. $(eval $(call KernelPackage,leds-alix))
  316. define KernelPackage/leds-gpio
  317. SUBMENU:=$(OTHER_MENU)
  318. TITLE:=GPIO LED support
  319. DEPENDS:= @GPIO_SUPPORT
  320. KCONFIG:=CONFIG_LEDS_GPIO
  321. FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko
  322. AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
  323. endef
  324. define KernelPackage/leds-gpio/description
  325. Kernel module for LEDs on GPIO lines
  326. endef
  327. $(eval $(call KernelPackage,leds-gpio))
  328. define KernelPackage/leds-net48xx
  329. SUBMENU:=$(OTHER_MENU)
  330. TITLE:=Soekris Net48xx LED support
  331. DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
  332. KCONFIG:=CONFIG_LEDS_NET48XX
  333. FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko
  334. AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
  335. endef
  336. define KernelPackage/leds-net48xx/description
  337. Kernel module for Soekris Net48xx LEDs
  338. endef
  339. $(eval $(call KernelPackage,leds-net48xx))
  340. define KernelPackage/leds-rb750
  341. SUBMENU:=$(OTHER_MENU)
  342. TITLE:=RouterBOARD 750 LED support
  343. DEPENDS:=@TARGET_ar71xx
  344. KCONFIG:=CONFIG_LEDS_RB750
  345. FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.ko
  346. AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
  347. endef
  348. define KernelPackage/leds-rb750/description
  349. Kernel module for the LEDs on the MikroTik RouterBOARD 750.
  350. endef
  351. $(eval $(call KernelPackage,leds-rb750))
  352. define KernelPackage/leds-wndr3700-usb
  353. SUBMENU:=$(OTHER_MENU)
  354. TITLE:=WNDR3700 USB LED support
  355. DEPENDS:=@TARGET_ar71xx
  356. KCONFIG:=CONFIG_LEDS_WNDR3700_USB
  357. FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.ko
  358. AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
  359. endef
  360. define KernelPackage/leds-wndr3700-usb/description
  361. Kernel module for the USB LED on the NETGWR WNDR3700 board.
  362. endef
  363. $(eval $(call KernelPackage,leds-wndr3700-usb))
  364. define KernelPackage/leds-wrap
  365. SUBMENU:=$(OTHER_MENU)
  366. TITLE:=PCengines WRAP LED support
  367. DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
  368. KCONFIG:=CONFIG_LEDS_WRAP
  369. FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko
  370. AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
  371. endef
  372. define KernelPackage/leds-wrap/description
  373. Kernel module for PCengines WRAP LEDs
  374. endef
  375. $(eval $(call KernelPackage,leds-wrap))
  376. define KernelPackage/ledtrig-morse
  377. SUBMENU:=$(OTHER_MENU)
  378. TITLE:=LED Morse Trigger
  379. KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
  380. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.ko
  381. AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
  382. endef
  383. define KernelPackage/ledtrig-morse/description
  384. Kernel module to show morse coded messages on LEDs.
  385. endef
  386. $(eval $(call KernelPackage,ledtrig-morse))
  387. define KernelPackage/ledtrig-netdev
  388. SUBMENU:=$(OTHER_MENU)
  389. TITLE:=LED NETDEV Trigger
  390. KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
  391. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.ko
  392. AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
  393. endef
  394. define KernelPackage/ledtrig-netdev/description
  395. Kernel module to drive LEDs based on network activity.
  396. endef
  397. $(eval $(call KernelPackage,ledtrig-netdev))
  398. define KernelPackage/lp
  399. SUBMENU:=$(OTHER_MENU)
  400. TITLE:=Parallel port and line printer support
  401. DEPENDS:=@BROKEN
  402. KCONFIG:= \
  403. CONFIG_PARPORT \
  404. CONFIG_PRINTER \
  405. CONFIG_PPDEV
  406. FILES:= \
  407. $(LINUX_DIR)/drivers/parport/parport.ko \
  408. $(LINUX_DIR)/drivers/char/lp.ko \
  409. $(LINUX_DIR)/drivers/char/ppdev.ko
  410. AUTOLOAD:=$(call AutoLoad,50,parport lp)
  411. endef
  412. $(eval $(call KernelPackage,lp))
  413. define KernelPackage/mmc
  414. SUBMENU:=$(OTHER_MENU)
  415. TITLE:=MMC/SD Card Support
  416. KCONFIG:= \
  417. CONFIG_MMC \
  418. CONFIG_MMC_BLOCK \
  419. CONFIG_MMC_DEBUG=n \
  420. CONFIG_MMC_UNSAFE_RESUME=n \
  421. CONFIG_MMC_BLOCK_BOUNCE=y \
  422. CONFIG_MMC_SDHCI=n \
  423. CONFIG_MMC_TIFM_SD=n \
  424. CONFIG_MMC_WBSD=n \
  425. CONFIG_SDIO_UART=n
  426. FILES:= \
  427. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  428. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  429. AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
  430. endef
  431. define KernelPackage/mmc/description
  432. Kernel support for MMC/SD cards
  433. endef
  434. $(eval $(call KernelPackage,mmc))
  435. define KernelPackage/mmc-atmelmci
  436. SUBMENU:=$(OTHER_MENU)
  437. TITLE:=Amtel MMC Support
  438. DEPENDS:=@TARGET_avr32 +kmod-mmc
  439. KCONFIG:=CONFIG_MMC_ATMELMCI
  440. FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko
  441. AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
  442. endef
  443. define KernelPackage/mmc-atmelmci/description
  444. Kernel support for Atmel Multimedia Card Interface.
  445. endef
  446. $(eval $(call KernelPackage,mmc-atmelmci,1))
  447. define KernelPackage/rfkill
  448. SUBMENU:=$(OTHER_MENU)
  449. TITLE:=RF switch subsystem support
  450. KCONFIG:= \
  451. CONFIG_RFKILL \
  452. CONFIG_RFKILL_INPUT=y \
  453. CONFIG_RFKILL_LEDS=y
  454. ifeq ($(CONFIG_LINUX_2_6_30),)
  455. FILES:= \
  456. $(LINUX_DIR)/net/rfkill/rfkill.ko
  457. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  458. else
  459. FILES:= \
  460. $(LINUX_DIR)/net/rfkill/rfkill.ko \
  461. $(LINUX_DIR)/net/rfkill/rfkill-input.ko
  462. AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
  463. endif
  464. $(call SetDepends/rfkill)
  465. endef
  466. define KernelPackage/rfkill/description
  467. Say Y here if you want to have control over RF switches
  468. found on many WiFi and Bluetooth cards.
  469. endef
  470. $(eval $(call KernelPackage,rfkill))
  471. define KernelPackage/softdog
  472. SUBMENU:=$(OTHER_MENU)
  473. TITLE:=Software watchdog driver
  474. KCONFIG:=CONFIG_SOFT_WATCHDOG
  475. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  476. AUTOLOAD:=$(call AutoLoad,50,softdog)
  477. endef
  478. define KernelPackage/softdog/description
  479. Software watchdog driver
  480. endef
  481. $(eval $(call KernelPackage,softdog))
  482. define KernelPackage/ssb
  483. SUBMENU:=$(OTHER_MENU)
  484. TITLE:=Silicon Sonics Backplane glue code
  485. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  486. KCONFIG:=\
  487. CONFIG_SSB \
  488. CONFIG_SSB_B43_PCI_BRIDGE=y \
  489. CONFIG_SSB_DRIVER_MIPS=n \
  490. CONFIG_SSB_DRIVER_PCICORE=y \
  491. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  492. CONFIG_SSB_PCIHOST=y \
  493. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  494. CONFIG_SSB_POSSIBLE=y \
  495. CONFIG_SSB_SPROM=y \
  496. CONFIG_SSB_SILENT=y
  497. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  498. AUTOLOAD:=$(call AutoLoad,29,ssb)
  499. endef
  500. define KernelPackage/ssb/description
  501. Silicon Sonics Backplane glue code.
  502. endef
  503. $(eval $(call KernelPackage,ssb))
  504. define KernelPackage/textsearch
  505. SUBMENU:=$(OTHER_MENU)
  506. TITLE:=Textsearch support is selected if needed
  507. KCONFIG:= \
  508. CONFIG_TEXTSEARCH=y \
  509. CONFIG_TEXTSEARCH_KMP \
  510. CONFIG_TEXTSEARCH_BM \
  511. CONFIG_TEXTSEARCH_FSM
  512. FILES:= \
  513. $(LINUX_DIR)/lib/ts_kmp.ko \
  514. $(LINUX_DIR)/lib/ts_bm.ko \
  515. $(LINUX_DIR)/lib/ts_fsm.ko
  516. AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
  517. endef
  518. $(eval $(call KernelPackage,textsearch))
  519. define KernelPackage/wdt-geode
  520. SUBMENU:=$(OTHER_MENU)
  521. TITLE:=Geode/LX Watchdog timer
  522. DEPENDS:=@TARGET_x86
  523. KCONFIG:=CONFIG_GEODE_WDT
  524. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
  525. AUTOLOAD:=$(call AutoLoad,50,geodewdt)
  526. endef
  527. define KernelPackage/wdt-geode/description
  528. Kernel module for Geode watchdog timer.
  529. endef
  530. $(eval $(call KernelPackage,wdt-geode))
  531. define KernelPackage/wdt-omap
  532. SUBMENU:=$(OTHER_MENU)
  533. TITLE:=OMAP Watchdog timer
  534. DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
  535. KCONFIG:=CONFIG_OMAP_WATCHDOG
  536. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
  537. AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
  538. endef
  539. define KernelPackage/wdt-omap/description
  540. Kernel module for TI omap watchdog timer.
  541. endef
  542. $(eval $(call KernelPackage,wdt-omap))
  543. define KernelPackage/wdt-sc520
  544. SUBMENU:=$(OTHER_MENU)
  545. TITLE:=Natsemi SC520 Watchdog support
  546. DEPENDS:=@TARGET_x86
  547. KCONFIG:=CONFIG_SC520_WDT
  548. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
  549. AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
  550. endef
  551. define KernelPackage/wdt-sc520/description
  552. Kernel module for SC520 Watchdog
  553. endef
  554. $(eval $(call KernelPackage,wdt-sc520))
  555. define KernelPackage/wdt-scx200
  556. SUBMENU:=$(OTHER_MENU)
  557. TITLE:=Natsemi SCX200 Watchdog support
  558. DEPENDS:=@TARGET_x86
  559. KCONFIG:=CONFIG_SCx200_WDT
  560. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
  561. AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
  562. endef
  563. define KernelPackage/wdt-scx200/description
  564. Kernel module for SCX200 Watchdog
  565. endef
  566. $(eval $(call KernelPackage,wdt-scx200))
  567. define KernelPackage/pwm
  568. SUBMENU:=$(OTHER_MENU)
  569. TITLE:=PWM generic API
  570. KCONFIG:=CONFIG_GENERIC_PWM
  571. FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
  572. AUTOLOAD:=$(call AutoLoad,50,pwm)
  573. endef
  574. define KernelPackage/pwm/description
  575. Kernel module that implement a generic PWM API
  576. endef
  577. $(eval $(call KernelPackage,pwm))
  578. define KernelPackage/pwm-gpio
  579. SUBMENU:=$(OTHER_MENU)
  580. TITLE:=PWM over GPIO
  581. DEPENDS:=+kmod-pwm
  582. KCONFIG:=CONFIG_GPIO_PWM
  583. FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
  584. AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
  585. endef
  586. define KernelPackage/pwm-gpio/description
  587. Kernel module to models a single-channel PWM device using a timer and a GPIO pin
  588. endef
  589. $(eval $(call KernelPackage,pwm-gpio))