other.mk 17 KB

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