other.mk 22 KB

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