other.mk 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953
  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
  146. KCONFIG:=CONFIG_CS5535_GPIO
  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
  158. ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.33)),1)
  159. KCONFIG:=CONFIG_GPIO_CS5535 CONFIG_PCI CONFIG_GPIOLIB
  160. FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko
  161. AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio)
  162. endif
  163. endef
  164. define KernelPackage/gpio-cs5535-new/description
  165. This package contains the new AMD CS5535/CS5536 GPIO driver
  166. endef
  167. $(eval $(call KernelPackage,gpio-cs5535-new))
  168. define KernelPackage/gpio-dev
  169. SUBMENU:=$(OTHER_MENU)
  170. TITLE:=Generic GPIO char device support
  171. DEPENDS:=@GPIO_SUPPORT
  172. KCONFIG:=CONFIG_GPIO_DEVICE
  173. FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
  174. AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
  175. endef
  176. define KernelPackage/gpio-dev/description
  177. Kernel module to allows control of GPIO pins using a character device.
  178. endef
  179. $(eval $(call KernelPackage,gpio-dev))
  180. define KernelPackage/gpio-nsc
  181. SUBMENU:=$(OTHER_MENU)
  182. TITLE:=Natsemi GPIO support
  183. DEPENDS:=@TARGET_x86
  184. KCONFIG:=CONFIG_NSC_GPIO
  185. FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.ko
  186. AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
  187. endef
  188. define KernelPackage/gpio-nsc/description
  189. Kernel module for Natsemi GPIO
  190. endef
  191. $(eval $(call KernelPackage,gpio-nsc))
  192. define KernelPackage/gpio-pc8736x
  193. SUBMENU:=$(OTHER_MENU)
  194. TITLE:=PC8736x GPIO support
  195. DEPENDS:=@TARGET_x86
  196. KCONFIG:=CONFIG_PC8736x_GPIO
  197. FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.ko
  198. AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
  199. endef
  200. define KernelPackage/gpio-pc8736x/description
  201. Kernel module for PC8736x GPIO
  202. endef
  203. $(eval $(call KernelPackage,gpio-pc8736x))
  204. define KernelPackage/gpio-scx200
  205. SUBMENU:=$(OTHER_MENU)
  206. TITLE:=Natsemi SCX200 GPIO support
  207. DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
  208. KCONFIG:=CONFIG_SCx200_GPIO
  209. FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.ko
  210. AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
  211. endef
  212. define KernelPackage/gpio-scx200/description
  213. Kernel module for SCX200 GPIO
  214. endef
  215. $(eval $(call KernelPackage,gpio-scx200))
  216. define KernelPackage/gpio-nxp-74hc164
  217. SUBMENU:=$(OTHER_MENU)
  218. TITLE:=NXP 74HC164 GPIO expander support
  219. DEPENDS:=@TARGET_brcm63xx
  220. KCONFIG:=CONFIG_GPIO_NXP_74HC164
  221. FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
  222. AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
  223. endef
  224. define KernelPackage/gpio-nxp-74hc164/description
  225. Kernel module for NXP 74HC164 GPIO expander
  226. endef
  227. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  228. define KernelPackage/hid
  229. SUBMENU:=$(OTHER_MENU)
  230. TITLE:=HID Devices
  231. DEPENDS:=+kmod-input-evdev
  232. KCONFIG:=CONFIG_HID
  233. FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
  234. AUTOLOAD:=$(call AutoLoad,61,hid)
  235. $(call SetDepends/hid)
  236. $(call AddDepends/input)
  237. endef
  238. define KernelPackage/hid/description
  239. Kernel modules for HID devices
  240. endef
  241. $(eval $(call KernelPackage,hid))
  242. define KernelPackage/input-core
  243. SUBMENU:=$(OTHER_MENU)
  244. TITLE:=Input device core
  245. KCONFIG:=CONFIG_INPUT
  246. $(call SetDepends/input)
  247. FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
  248. AUTOLOAD:=$(call AutoLoad,19,input-core)
  249. endef
  250. define KernelPackage/input-core/description
  251. Kernel modules for support of input device
  252. endef
  253. $(eval $(call KernelPackage,input-core))
  254. define KernelPackage/input-evdev
  255. SUBMENU:=$(OTHER_MENU)
  256. TITLE:=Input event device
  257. KCONFIG:=CONFIG_INPUT_EVDEV
  258. FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
  259. AUTOLOAD:=$(call AutoLoad,60,evdev)
  260. $(call AddDepends/input)
  261. endef
  262. define KernelPackage/input-evdev/description
  263. Kernel modules for support of input device events
  264. endef
  265. $(eval $(call KernelPackage,input-evdev))
  266. define KernelPackage/input-gpio-buttons
  267. SUBMENU:=$(OTHER_MENU)
  268. TITLE:=Polled GPIO buttons input device
  269. DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
  270. KCONFIG:= \
  271. CONFIG_INPUT_GPIO_BUTTONS \
  272. CONFIG_INPUT_MISC=y
  273. FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
  274. AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
  275. endef
  276. define KernelPackage/input-gpio-buttons/description
  277. Kernel module for support polled GPIO buttons input device
  278. endef
  279. $(eval $(call KernelPackage,input-gpio-buttons))
  280. define KernelPackage/input-gpio-keys
  281. SUBMENU:=$(OTHER_MENU)
  282. TITLE:=GPIO key support
  283. DEPENDS:= @GPIO_SUPPORT
  284. KCONFIG:= \
  285. CONFIG_KEYBOARD_GPIO \
  286. CONFIG_INPUT_KEYBOARD=y
  287. FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
  288. AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
  289. $(call AddDepends/input)
  290. endef
  291. define KernelPackage/input-gpio-keys/description
  292. This driver implements support for buttons connected
  293. to GPIO pins of various CPUs (and some other chips).
  294. endef
  295. $(eval $(call KernelPackage,input-gpio-keys))
  296. define KernelPackage/input-gpio-encoder
  297. SUBMENU:=$(OTHER_MENU)
  298. TITLE:=GPIO rotay encoder
  299. KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
  300. FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
  301. AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
  302. $(call AddDepends/input,@GPIO_SUPPORT)
  303. endef
  304. define KernelPackage/gpio-encoder/description
  305. Kernel module to use rotary encoders connected to GPIO pins
  306. endef
  307. $(eval $(call KernelPackage,input-gpio-encoder))
  308. define KernelPackage/input-joydev
  309. SUBMENU:=$(OTHER_MENU)
  310. TITLE:=Joystick device support
  311. KCONFIG:=CONFIG_INPUT_JOYDEV
  312. FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
  313. AUTOLOAD:=$(call AutoLoad,62,joydev)
  314. $(call AddDepends/input)
  315. endef
  316. define KernelPackage/input-joydev/description
  317. Kernel module for joystick support
  318. endef
  319. $(eval $(call KernelPackage,input-joydev))
  320. define KernelPackage/input-polldev
  321. SUBMENU:=$(OTHER_MENU)
  322. TITLE:=Polled Input device support
  323. KCONFIG:=CONFIG_INPUT_POLLDEV
  324. FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
  325. AUTOLOAD:=$(call AutoLoad,20,input-polldev)
  326. $(call AddDepends/input)
  327. endef
  328. define KernelPackage/input-polldev/description
  329. Kernel module for support of polled input devices
  330. endef
  331. $(eval $(call KernelPackage,input-polldev))
  332. define KernelPackage/leds-alix
  333. SUBMENU:=$(OTHER_MENU)
  334. TITLE:=PCengines ALIX LED support
  335. DEPENDS:=@TARGET_x86
  336. KCONFIG:=CONFIG_LEDS_ALIX2
  337. FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.ko
  338. AUTOLOAD:=$(call AutoLoad,50,leds-alix2)
  339. endef
  340. define KernelPackage/leds-alix/description
  341. Kernel module for PCengines ALIX LEDs
  342. endef
  343. $(eval $(call KernelPackage,leds-alix))
  344. define KernelPackage/leds-gpio
  345. SUBMENU:=$(OTHER_MENU)
  346. TITLE:=GPIO LED support
  347. DEPENDS:= @GPIO_SUPPORT
  348. KCONFIG:=CONFIG_LEDS_GPIO
  349. FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko
  350. AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
  351. endef
  352. define KernelPackage/leds-gpio/description
  353. Kernel module for LEDs on GPIO lines
  354. endef
  355. $(eval $(call KernelPackage,leds-gpio))
  356. define KernelPackage/leds-net48xx
  357. SUBMENU:=$(OTHER_MENU)
  358. TITLE:=Soekris Net48xx LED support
  359. DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
  360. KCONFIG:=CONFIG_LEDS_NET48XX
  361. FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko
  362. AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
  363. endef
  364. define KernelPackage/leds-net48xx/description
  365. Kernel module for Soekris Net48xx LEDs
  366. endef
  367. $(eval $(call KernelPackage,leds-net48xx))
  368. define KernelPackage/leds-net5501
  369. SUBMENU:=$(OTHER_MENU)
  370. TITLE:=Soekris Net5501 LED support
  371. DEPENDS:=@TARGET_x86 +kmod-gpio-cs5535 +kmod-leds-gpio
  372. KCONFIG:=CONFIG_LEDS_NET5501
  373. FILES:=$(LINUX_DIR)/drivers/leds/leds-net5501.ko
  374. AUTOLOAD:=$(call AutoLoad,50,leds-net5501)
  375. endef
  376. define KernelPackage/leds-net5501/description
  377. Kernel module for Soekris Net5501 LEDs
  378. endef
  379. $(eval $(call KernelPackage,leds-net5501))
  380. define KernelPackage/leds-rb750
  381. SUBMENU:=$(OTHER_MENU)
  382. TITLE:=RouterBOARD 750 LED support
  383. DEPENDS:=@TARGET_ar71xx
  384. KCONFIG:=CONFIG_LEDS_RB750
  385. FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.ko
  386. AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
  387. endef
  388. define KernelPackage/leds-rb750/description
  389. Kernel module for the LEDs on the MikroTik RouterBOARD 750.
  390. endef
  391. $(eval $(call KernelPackage,leds-rb750))
  392. define KernelPackage/leds-wndr3700-usb
  393. SUBMENU:=$(OTHER_MENU)
  394. TITLE:=WNDR3700 USB LED support
  395. DEPENDS:=@TARGET_ar71xx
  396. KCONFIG:=CONFIG_LEDS_WNDR3700_USB
  397. FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.ko
  398. AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
  399. endef
  400. define KernelPackage/leds-wndr3700-usb/description
  401. Kernel module for the USB LED on the NETGWR WNDR3700 board.
  402. endef
  403. $(eval $(call KernelPackage,leds-wndr3700-usb))
  404. define KernelPackage/leds-wrap
  405. SUBMENU:=$(OTHER_MENU)
  406. TITLE:=PCengines WRAP LED support
  407. DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
  408. KCONFIG:=CONFIG_LEDS_WRAP
  409. FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko
  410. AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
  411. endef
  412. define KernelPackage/leds-wrap/description
  413. Kernel module for PCengines WRAP LEDs
  414. endef
  415. $(eval $(call KernelPackage,leds-wrap))
  416. define KernelPackage/ledtrig-heartbeat
  417. SUBMENU:=$(OTHER_MENU)
  418. TITLE:=LED Heartbeat Trigger
  419. KCONFIG:=CONFIG_LEDS_TRIGGER_HEARTBEAT
  420. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-heartbeat.ko
  421. AUTOLOAD:=$(call AutoLoad,50,ledtrig-heartbeat)
  422. endef
  423. define KernelPackage/ledtrig-gpio/description
  424. Kernel module that allows LEDs to blink like heart beat
  425. endef
  426. $(eval $(call KernelPackage,ledtrig-heartbeat))
  427. define KernelPackage/ledtrig-gpio
  428. SUBMENU:=$(OTHER_MENU)
  429. TITLE:=LED GPIO Trigger
  430. KCONFIG:=CONFIG_LEDS_TRIGGER_GPIO
  431. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-gpio.ko
  432. AUTOLOAD:=$(call AutoLoad,50,ledtrig-gpio)
  433. endef
  434. define KernelPackage/ledtrig-gpio/description
  435. Kernel module that allows LEDs to be controlled by gpio events.
  436. endef
  437. $(eval $(call KernelPackage,ledtrig-gpio))
  438. define KernelPackage/ledtrig-morse
  439. SUBMENU:=$(OTHER_MENU)
  440. TITLE:=LED Morse Trigger
  441. KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
  442. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.ko
  443. AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
  444. endef
  445. define KernelPackage/ledtrig-morse/description
  446. Kernel module to show morse coded messages on LEDs.
  447. endef
  448. $(eval $(call KernelPackage,ledtrig-morse))
  449. define KernelPackage/ledtrig-netdev
  450. SUBMENU:=$(OTHER_MENU)
  451. TITLE:=LED NETDEV Trigger
  452. KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
  453. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.ko
  454. AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
  455. endef
  456. define KernelPackage/ledtrig-netdev/description
  457. Kernel module to drive LEDs based on network activity.
  458. endef
  459. $(eval $(call KernelPackage,ledtrig-netdev))
  460. define KernelPackage/ledtrig-netfilter
  461. SUBMENU:=$(OTHER_MENU)
  462. TITLE:=LED NetFilter Trigger
  463. DEPENDS:=kmod-ipt-core
  464. KCONFIG:=CONFIG_NETFILTER_XT_TARGET_LED
  465. FILES:=$(LINUX_DIR)/net/netfilter/xt_LED.ko
  466. AUTOLOAD:=$(call AutoLoad,50,xt_LED)
  467. endef
  468. define KernelPackage/ledtrig-netfilter/description
  469. Kernel module to flash LED when a particular packets passing through your machine.
  470. For example to create an LED trigger for incoming SSH traffic:
  471. iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000
  472. Then attach the new trigger to an LED on your system:
  473. echo netfilter-ssh > /sys/class/leds/<ledname>/trigger
  474. endef
  475. $(eval $(call KernelPackage,ledtrig-netfilter))
  476. define KernelPackage/ledtrig-usbdev
  477. SUBMENU:=$(OTHER_MENU)
  478. TITLE:=LED USB device Trigger
  479. DEPENDS:=@USB_SUPPORT +kmod-usb-core
  480. KCONFIG:=CONFIG_LEDS_TRIGGER_USBDEV
  481. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-usbdev.ko
  482. AUTOLOAD:=$(call AutoLoad,50,ledtrig-usbdev)
  483. endef
  484. define KernelPackage/ledtrig-usbdev/description
  485. Kernel module to drive LEDs based on USB device presence/activity.
  486. endef
  487. $(eval $(call KernelPackage,ledtrig-usbdev))
  488. define KernelPackage/lp
  489. SUBMENU:=$(OTHER_MENU)
  490. TITLE:=Parallel port and line printer support
  491. DEPENDS:=@BROKEN
  492. KCONFIG:= \
  493. CONFIG_PARPORT \
  494. CONFIG_PRINTER \
  495. CONFIG_PPDEV
  496. FILES:= \
  497. $(LINUX_DIR)/drivers/parport/parport.ko \
  498. $(LINUX_DIR)/drivers/char/lp.ko \
  499. $(LINUX_DIR)/drivers/char/ppdev.ko
  500. AUTOLOAD:=$(call AutoLoad,50,parport lp)
  501. endef
  502. $(eval $(call KernelPackage,lp))
  503. define KernelPackage/mmc
  504. SUBMENU:=$(OTHER_MENU)
  505. TITLE:=MMC/SD Card Support
  506. KCONFIG:= \
  507. CONFIG_MMC \
  508. CONFIG_MMC_BLOCK \
  509. CONFIG_MMC_DEBUG=n \
  510. CONFIG_MMC_UNSAFE_RESUME=n \
  511. CONFIG_MMC_BLOCK_BOUNCE=y \
  512. CONFIG_MMC_SDHCI=n \
  513. CONFIG_MMC_TIFM_SD=n \
  514. CONFIG_MMC_WBSD=n \
  515. CONFIG_SDIO_UART=n
  516. FILES:= \
  517. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  518. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  519. AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
  520. endef
  521. define KernelPackage/mmc/description
  522. Kernel support for MMC/SD cards
  523. endef
  524. $(eval $(call KernelPackage,mmc))
  525. define KernelPackage/mmc-atmelmci
  526. SUBMENU:=$(OTHER_MENU)
  527. TITLE:=Amtel MMC Support
  528. DEPENDS:=@TARGET_avr32 +kmod-mmc
  529. KCONFIG:=CONFIG_MMC_ATMELMCI
  530. FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko
  531. AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
  532. endef
  533. define KernelPackage/mmc-atmelmci/description
  534. Kernel support for Atmel Multimedia Card Interface.
  535. endef
  536. $(eval $(call KernelPackage,mmc-atmelmci,1))
  537. define KernelPackage/oprofile
  538. SUBMENU:=$(OTHER_MENU)
  539. TITLE:=OProfile profiling support
  540. KCONFIG:=CONFIG_OPROFILE
  541. FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.$(LINUX_KMOD_SUFFIX)
  542. DEPENDS:=@KERNEL_PROFILING
  543. endef
  544. define KernelPackage/oprofile/description
  545. Kernel module for support for oprofile system profiling.
  546. endef
  547. $(eval $(call KernelPackage,oprofile))
  548. define KernelPackage/rfkill
  549. SUBMENU:=$(OTHER_MENU)
  550. TITLE:=RF switch subsystem support
  551. KCONFIG:= \
  552. CONFIG_RFKILL \
  553. CONFIG_RFKILL_INPUT=y \
  554. CONFIG_RFKILL_LEDS=y
  555. ifeq ($(CONFIG_LINUX_2_6_30),)
  556. FILES:= \
  557. $(LINUX_DIR)/net/rfkill/rfkill.ko
  558. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  559. else
  560. FILES:= \
  561. $(LINUX_DIR)/net/rfkill/rfkill.ko \
  562. $(LINUX_DIR)/net/rfkill/rfkill-input.ko
  563. AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
  564. endif
  565. $(call SetDepends/rfkill)
  566. endef
  567. define KernelPackage/rfkill/description
  568. Say Y here if you want to have control over RF switches
  569. found on many WiFi and Bluetooth cards.
  570. endef
  571. $(eval $(call KernelPackage,rfkill))
  572. define KernelPackage/softdog
  573. SUBMENU:=$(OTHER_MENU)
  574. TITLE:=Software watchdog driver
  575. KCONFIG:=CONFIG_SOFT_WATCHDOG
  576. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  577. AUTOLOAD:=$(call AutoLoad,50,softdog)
  578. endef
  579. define KernelPackage/softdog/description
  580. Software watchdog driver
  581. endef
  582. $(eval $(call KernelPackage,softdog))
  583. define KernelPackage/ssb
  584. SUBMENU:=$(OTHER_MENU)
  585. TITLE:=Silicon Sonics Backplane glue code
  586. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  587. KCONFIG:=\
  588. CONFIG_SSB \
  589. CONFIG_SSB_B43_PCI_BRIDGE=y \
  590. CONFIG_SSB_DRIVER_MIPS=n \
  591. CONFIG_SSB_DRIVER_PCICORE=y \
  592. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  593. CONFIG_SSB_PCIHOST=y \
  594. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  595. CONFIG_SSB_POSSIBLE=y \
  596. CONFIG_SSB_SPROM=y \
  597. CONFIG_SSB_SILENT=y
  598. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  599. AUTOLOAD:=$(call AutoLoad,29,ssb)
  600. endef
  601. define KernelPackage/ssb/description
  602. Silicon Sonics Backplane glue code.
  603. endef
  604. $(eval $(call KernelPackage,ssb))
  605. define KernelPackage/textsearch
  606. SUBMENU:=$(OTHER_MENU)
  607. TITLE:=Textsearch support is selected if needed
  608. KCONFIG:= \
  609. CONFIG_TEXTSEARCH=y \
  610. CONFIG_TEXTSEARCH_KMP \
  611. CONFIG_TEXTSEARCH_BM \
  612. CONFIG_TEXTSEARCH_FSM
  613. FILES:= \
  614. $(LINUX_DIR)/lib/ts_kmp.ko \
  615. $(LINUX_DIR)/lib/ts_bm.ko \
  616. $(LINUX_DIR)/lib/ts_fsm.ko
  617. AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
  618. endef
  619. $(eval $(call KernelPackage,textsearch))
  620. define KernelPackage/wdt-geode
  621. SUBMENU:=$(OTHER_MENU)
  622. TITLE:=Geode/LX Watchdog timer
  623. DEPENDS:=@TARGET_x86
  624. KCONFIG:=CONFIG_GEODE_WDT
  625. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
  626. AUTOLOAD:=$(call AutoLoad,50,geodewdt)
  627. endef
  628. define KernelPackage/wdt-geode/description
  629. Kernel module for Geode watchdog timer.
  630. endef
  631. $(eval $(call KernelPackage,wdt-geode))
  632. define KernelPackage/wdt-omap
  633. SUBMENU:=$(OTHER_MENU)
  634. TITLE:=OMAP Watchdog timer
  635. DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
  636. KCONFIG:=CONFIG_OMAP_WATCHDOG
  637. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
  638. AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
  639. endef
  640. define KernelPackage/wdt-omap/description
  641. Kernel module for TI omap watchdog timer.
  642. endef
  643. $(eval $(call KernelPackage,wdt-omap))
  644. define KernelPackage/wdt-orion
  645. SUBMENU:=$(OTHER_MENU)
  646. TITLE:=Marvell Orion Watchdog timer
  647. DEPENDS:=@TARGET_orion
  648. KCONFIG:=CONFIG_ORION_WATCHDOG
  649. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
  650. AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
  651. endef
  652. define KernelPackage/wdt-orion/description
  653. Kernel module for Marvell orion watchdog timer.
  654. endef
  655. $(eval $(call KernelPackage,wdt-orion))
  656. define KernelPackage/wdt-sc520
  657. SUBMENU:=$(OTHER_MENU)
  658. TITLE:=Natsemi SC520 Watchdog support
  659. DEPENDS:=@TARGET_x86
  660. KCONFIG:=CONFIG_SC520_WDT
  661. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
  662. AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
  663. endef
  664. define KernelPackage/wdt-sc520/description
  665. Kernel module for SC520 Watchdog
  666. endef
  667. $(eval $(call KernelPackage,wdt-sc520))
  668. define KernelPackage/wdt-scx200
  669. SUBMENU:=$(OTHER_MENU)
  670. TITLE:=Natsemi SCX200 Watchdog support
  671. DEPENDS:=@TARGET_x86
  672. KCONFIG:=CONFIG_SCx200_WDT
  673. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
  674. AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
  675. endef
  676. define KernelPackage/wdt-scx200/description
  677. Kernel module for SCX200 Watchdog
  678. endef
  679. $(eval $(call KernelPackage,wdt-scx200))
  680. define KernelPackage/pwm
  681. SUBMENU:=$(OTHER_MENU)
  682. TITLE:=PWM generic API
  683. KCONFIG:=CONFIG_GENERIC_PWM
  684. FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
  685. AUTOLOAD:=$(call AutoLoad,50,pwm)
  686. endef
  687. define KernelPackage/pwm/description
  688. Kernel module that implement a generic PWM API
  689. endef
  690. $(eval $(call KernelPackage,pwm))
  691. define KernelPackage/pwm-gpio
  692. SUBMENU:=$(OTHER_MENU)
  693. TITLE:=PWM over GPIO
  694. DEPENDS:=+kmod-pwm
  695. KCONFIG:=CONFIG_GPIO_PWM
  696. FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
  697. AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
  698. endef
  699. define KernelPackage/pwm-gpio/description
  700. Kernel module to models a single-channel PWM device using a timer and a GPIO pin
  701. endef
  702. $(eval $(call KernelPackage,pwm-gpio))
  703. define KernelPackage/rtc-core
  704. SUBMENU:=$(OTHER_MENU)
  705. TITLE:=Real Time Clock class support
  706. KCONFIG:=CONFIG_RTC_CLASS
  707. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.$(LINUX_KMOD_SUFFIX)
  708. AUTOLOAD:=$(call AutoLoad,29,rtc-core)
  709. endef
  710. define KernelPackage/rtc-core/description
  711. Generic RTC class support.
  712. endef
  713. $(eval $(call KernelPackage,rtc-core))
  714. define KernelPackage/rtc-pcf8563
  715. SUBMENU:=$(OTHER_MENU)
  716. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  717. DEPENDS:=+kmod-rtc-core
  718. KCONFIG:=CONFIG_RTC_DRV_PCF8563
  719. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.$(LINUX_KMOD_SUFFIX)
  720. AUTOLOAD:=$(call AutoLoad,30,rtc-pcf8563)
  721. endef
  722. define KernelPackage/rtc-pcf8563/description
  723. Kernel module for Philips PCF8563 RTC chip.
  724. The Epson RTC8564 should work as well.
  725. endef
  726. $(eval $(call KernelPackage,rtc-pcf8563))
  727. define KernelPackage/n810bm
  728. SUBMENU:=$(OTHER_MENU)
  729. TITLE:=Nokia N810 battery management driver
  730. DEPENDS:=@TARGET_omap24xx
  731. KCONFIG:=CONFIG_N810BM
  732. FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.$(LINUX_KMOD_SUFFIX)
  733. AUTOLOAD:=$(call AutoLoad,01,n810bm)
  734. endef
  735. define KernelPackage/n810bm/description
  736. Nokia N810 battery management driver.
  737. Controls battery power management and battery charging.
  738. endef
  739. $(eval $(call KernelPackage,n810bm))