usb.mk 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568
  1. #
  2. # Copyright (C) 2006 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. # $Id$
  8. USBMENU:=USB Support
  9. ifeq ($(KERNEL),2.4)
  10. USBNET_DIR:=usb/net
  11. endif
  12. ifeq ($(KERNEL_PATCHVER),2.6.21)
  13. USBNET_DIR:=usb/net
  14. USBHID_DIR:=usb/input
  15. USBINPUT_DIR:=usb/input
  16. endif
  17. USBNET_DIR?=net/usb
  18. USBHID_DIR?=hid/usbhid
  19. USBINPUT_DIR?=input/misc
  20. define usbdep
  21. SUBMENU:=$(USBMENU)
  22. DEPENDS:=kmod-usb-core $(1)
  23. endef
  24. define KernelPackage/usb-core
  25. SUBMENU:=$(USBMENU)
  26. TITLE:=Support for USB
  27. DEPENDS:=@USB_SUPPORT
  28. KCONFIG:=CONFIG_USB
  29. AUTOLOAD:=$(call AutoLoad,20,usbcore)
  30. endef
  31. define KernelPackage/usb-core/2.4
  32. FILES:=$(LINUX_DIR)/drivers/usb/usbcore.$(LINUX_KMOD_SUFFIX)
  33. endef
  34. define KernelPackage/usb-core/2.6
  35. FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.$(LINUX_KMOD_SUFFIX)
  36. endef
  37. define KernelPackage/usb-core/description
  38. Kernel support for USB
  39. endef
  40. $(eval $(call KernelPackage,usb-core))
  41. define KernelPackage/usb-uhci
  42. $(call usbdep,)
  43. TITLE:=Support for UHCI controllers
  44. endef
  45. define KernelPackage/usb-uhci/2.4
  46. KCONFIG:=CONFIG_USB_UHCI_ALT
  47. FILES:=$(LINUX_DIR)/drivers/usb/host/uhci.o
  48. AUTOLOAD:=$(call AutoLoad,50,uhci)
  49. endef
  50. define KernelPackage/usb-uhci/2.6
  51. KCONFIG:=CONFIG_USB_UHCI_HCD
  52. FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
  53. AUTOLOAD:=$(call AutoLoad,50,uhci-hcd)
  54. endef
  55. define KernelPackage/usb-uhci/description
  56. Kernel support for USB UHCI controllers
  57. endef
  58. $(eval $(call KernelPackage,usb-uhci))
  59. define KernelPackage/usb-uhci-iv
  60. $(call usbdep,@LINUX_2_4)
  61. TITLE:=Support for Intel/VIA UHCI controllers
  62. KCONFIG:=CONFIG_USB_UHCI
  63. FILES:=$(LINUX_DIR)/drivers/usb/host/usb-uhci.$(LINUX_KMOD_SUFFIX)
  64. AUTOLOAD:=$(call AutoLoad,50,usb-uhci)
  65. endef
  66. define KernelPackage/usb-uhci-iv/description
  67. Kernel support for Intel/VIA USB UHCI controllers
  68. endef
  69. $(eval $(call KernelPackage,usb-uhci-iv))
  70. define KernelPackage/usb-ohci
  71. $(call usbdep,)
  72. TITLE:=Support for OHCI controllers
  73. endef
  74. define KernelPackage/usb-ohci/2.4
  75. KCONFIG:=CONFIG_USB_OHCI
  76. FILES:=$(LINUX_DIR)/drivers/usb/host/usb-ohci.o
  77. AUTOLOAD:=$(call AutoLoad,50,usb-ohci)
  78. endef
  79. define KernelPackage/usb-ohci/2.6
  80. KCONFIG:=CONFIG_USB_OHCI_HCD
  81. FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
  82. AUTOLOAD:=$(call AutoLoad,50,ohci-hcd)
  83. endef
  84. define KernelPackage/usb-ohci/description
  85. Kernel support for USB OHCI controllers
  86. endef
  87. $(eval $(call KernelPackage,usb-ohci))
  88. define KernelPackage/usb-adm5120
  89. $(call usbdep,@LINUX_2_6_ADM5120||@LINUX_2_6_ADM5120EB)
  90. TITLE:=Support for the ADM5120 HCD controller
  91. KCONFIG:=CONFIG_USB_ADM5120_HCD
  92. FILES:=$(LINUX_DIR)/drivers/usb/host/adm5120-hcd.$(LINUX_KMOD_SUFFIX)
  93. AUTOLOAD:=$(call AutoLoad,50,adm5120-hcd)
  94. endef
  95. define KernelPackage/usb-adm5120/description
  96. Kernel support for the ADM5120 HCD USB controller
  97. endef
  98. $(eval $(call KernelPackage,usb-adm5120))
  99. define KernelPackage/usb2
  100. $(call usbdep,)
  101. TITLE:=Support for USB2 controllers
  102. KCONFIG:=CONFIG_USB_EHCI_HCD
  103. FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-hcd.$(LINUX_KMOD_SUFFIX)
  104. AUTOLOAD:=$(call AutoLoad,50,ehci-hcd)
  105. endef
  106. define KernelPackage/usb2/description
  107. Kernel support for USB2 (EHCI) controllers
  108. endef
  109. $(eval $(call KernelPackage,usb2))
  110. define KernelPackage/usb-acm
  111. $(call usbdep,)
  112. TITLE:=Support for modems/isdn controllers
  113. KCONFIG:=CONFIG_USB_ACM
  114. endef
  115. define KernelPackage/usb-acm/2.4
  116. FILES:=$(LINUX_DIR)/drivers/usb/acm.o
  117. AUTOLOAD:=$(call AutoLoad,60,acm)
  118. endef
  119. define KernelPackage/usb-acm/2.6
  120. FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
  121. AUTOLOAD:=$(call AutoLoad,60,cdc-acm)
  122. endef
  123. define KernelPackage/usb-acm/description
  124. Kernel support for USB ACM devices (modems/isdn controllers)
  125. endef
  126. $(eval $(call KernelPackage,usb-acm))
  127. define KernelPackage/usb-audio
  128. $(call usbdep,+kmod-soundcore)
  129. TITLE:=Support for audio devices
  130. endef
  131. define KernelPackage/usb-audio/2.4
  132. KCONFIG:=CONFIG_USB_AUDIO
  133. FILES:=$(LINUX_DIR)/drivers/usb/audio.o
  134. AUTOLOAD:=$(call AutoLoad,60,audio)
  135. endef
  136. define KernelPackage/usb-audio/2.6
  137. KCONFIG:=CONFIG_SND_USB_AUDIO
  138. FILES:= \
  139. $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
  140. $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
  141. AUTOLOAD:=$(call AutoLoad,60,snd-usb-lib snd-usb-audio)
  142. endef
  143. define KernelPackage/usb-audio/description
  144. Kernel support for USB audio devices
  145. endef
  146. $(eval $(call KernelPackage,usb-audio))
  147. define KernelPackage/usb-printer
  148. $(call usbdep,)
  149. TITLE:=Support for printers
  150. KCONFIG:=CONFIG_USB_PRINTER
  151. endef
  152. define KernelPackage/usb-printer/2.4
  153. FILES:=$(LINUX_DIR)/drivers/usb/printer.o
  154. AUTOLOAD:=$(call AutoLoad,60,printer)
  155. endef
  156. define KernelPackage/usb-printer/2.6
  157. FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
  158. AUTOLOAD:=$(call AutoLoad,60,usblp)
  159. endef
  160. define KernelPackage/usb-printer/description
  161. Kernel support for USB printers
  162. endef
  163. $(eval $(call KernelPackage,usb-printer))
  164. define KernelPackage/usb-serial
  165. $(call usbdep,)
  166. TITLE:=Support for USB-to-Serial converters
  167. KCONFIG:=CONFIG_USB_SERIAL
  168. FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.$(LINUX_KMOD_SUFFIX)
  169. AUTOLOAD:=$(call AutoLoad,60,usbserial)
  170. endef
  171. define KernelPackage/usb-serial/description
  172. Kernel support for USB-to-Serial converters
  173. endef
  174. $(eval $(call KernelPackage,usb-serial))
  175. define KernelPackage/usb-serial-airprime
  176. $(call usbdep,kmod-usb-serial @LINUX_2_6)
  177. TITLE:=Support for Airprime (EVDO)
  178. KCONFIG:=CONFIG_USB_SERIAL_AIRPRIME
  179. FILES:=$(LINUX_DIR)/drivers/usb/serial/airprime.$(LINUX_KMOD_SUFFIX)
  180. AUTOLOAD:=$(call AutoLoad,65,airprime)
  181. endef
  182. define KernelPackage/usb-serial-airprime/description
  183. Kernel support for Airprime (EVDO)
  184. endef
  185. $(eval $(call KernelPackage,usb-serial-airprime))
  186. define KernelPackage/usb-serial-belkin
  187. $(call usbdep,kmod-usb-serial)
  188. TITLE:=Support for Belkin devices
  189. KCONFIG:=CONFIG_USB_SERIAL_BELKIN
  190. FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.$(LINUX_KMOD_SUFFIX)
  191. AUTOLOAD:=$(call AutoLoad,65,belkin_sa)
  192. endef
  193. define KernelPackage/usb-serial-belkin/description
  194. Kernel support for Belkin USB-to-Serial converters
  195. endef
  196. $(eval $(call KernelPackage,usb-serial-belkin))
  197. define KernelPackage/usb-serial-ftdi
  198. $(call usbdep,kmod-usb-serial)
  199. TITLE:=Support for FTDI devices
  200. KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
  201. FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.$(LINUX_KMOD_SUFFIX)
  202. AUTOLOAD:=$(call AutoLoad,65,ftdi_sio)
  203. endef
  204. define KernelPackage/usb-serial-ftdi/description
  205. Kernel support for FTDI USB-to-Serial converters
  206. endef
  207. $(eval $(call KernelPackage,usb-serial-ftdi))
  208. define KernelPackage/usb-serial-mct
  209. $(call usbdep,kmod-usb-serial)
  210. TITLE:=Support for Magic Control Tech. devices
  211. KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
  212. FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.$(LINUX_KMOD_SUFFIX)
  213. AUTOLOAD:=$(call AutoLoad,65,mct_u232)
  214. endef
  215. define KernelPackage/usb-serial-mct/description
  216. Kernel support for Magic Control Technology USB-to-Serial converters
  217. endef
  218. $(eval $(call KernelPackage,usb-serial-mct))
  219. define KernelPackage/usb-serial-pl2303
  220. $(call usbdep,kmod-usb-serial)
  221. TITLE:=Support for Prolific PL2303 devices
  222. KCONFIG:=CONFIG_USB_SERIAL_PL2303
  223. FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.$(LINUX_KMOD_SUFFIX)
  224. AUTOLOAD:=$(call AutoLoad,65,pl2303)
  225. endef
  226. define KernelPackage/usb-serial-pl2303/description
  227. Kernel support for Prolific PL2303 USB-to-Serial converters
  228. endef
  229. $(eval $(call KernelPackage,usb-serial-pl2303))
  230. define KernelPackage/usb-serial-sierrawireless
  231. $(call usbdep,kmod-usb-serial @LINUX_2_6)
  232. TITLE:=Support for Sierra Wireless devices
  233. KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
  234. FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.$(LINUX_KMOD_SUFFIX)
  235. AUTOLOAD:=$(call AutoLoad,65,sierra)
  236. endef
  237. define KernelPackage/usb-serial-sierrawireless/description
  238. Kernel support for Sierra Wireless devices
  239. endef
  240. $(eval $(call KernelPackage,usb-serial-sierrawireless))
  241. define KernelPackage/usb-serial-visor
  242. $(call usbdep,kmod-usb-serial)
  243. TITLE:=Support for Handspring Visor devices
  244. KCONFIG:=CONFIG_USB_SERIAL_VISOR
  245. FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.$(LINUX_KMOD_SUFFIX)
  246. AUTOLOAD:=$(call AutoLoad,65,visor)
  247. endef
  248. define KernelPackage/usb-serial-visor/description
  249. Kernel support for Handspring Visor PDAs
  250. endef
  251. $(eval $(call KernelPackage,usb-serial-visor))
  252. define KernelPackage/usb-serial-keyspan
  253. $(call usbdep,kmod-usb-serial)
  254. TITLE:=Support for Keyspan USB-to-Serial devices
  255. KCONFIG:= \
  256. CONFIG_USB_SERIAL_KEYSPAN \
  257. CONFIG_USB_SERIAL_KEYSPAN_USA28 \
  258. CONFIG_USB_SERIAL_KEYSPAN_USA28X \
  259. CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
  260. CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
  261. CONFIG_USB_SERIAL_KEYSPAN_USA19 \
  262. CONFIG_USB_SERIAL_KEYSPAN_USA18X \
  263. CONFIG_USB_SERIAL_KEYSPAN_USA19W \
  264. CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
  265. CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
  266. CONFIG_USB_SERIAL_KEYSPAN_MPR \
  267. CONFIG_USB_SERIAL_KEYSPAN_USA49W \
  268. CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
  269. FILES:=$(LINUX_DIR)/drivers/usb/serial/keyspan.$(LINUX_KMOD_SUFFIX)
  270. AUTOLOAD:=$(call AutoLoad,65,keyspan)
  271. endef
  272. define KernelPackage/usb-serial-keyspan/description
  273. Kernel support for Keyspan USB-to-Serial devices
  274. endef
  275. $(eval $(call KernelPackage,usb-serial-keyspan))
  276. define KernelPackage/usb-serial-option
  277. $(call usbdep,kmod-usb-serial @LINUX_2_6)
  278. TITLE:=Support for Option HSDPA modems
  279. KCONFIG:=CONFIG_USB_SERIAL_OPTION
  280. FILES:=$(LINUX_DIR)/drivers/usb/serial/option.$(LINUX_KMOD_SUFFIX)
  281. AUTOLOAD:=$(call AutoLoad,65,option)
  282. endef
  283. define KernelPackage/usb-serial-option/description
  284. Kernel support for Option HSDPA modems
  285. endef
  286. $(eval $(call KernelPackage,usb-serial-option))
  287. define KernelPackage/usb-storage
  288. $(call usbdep,+kmod-scsi-core)
  289. TITLE:=USB Storage support
  290. KCONFIG:=CONFIG_USB_STORAGE
  291. FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.$(LINUX_KMOD_SUFFIX)
  292. AUTOLOAD:=$(call AutoLoad,60,scsi_mod sd_mod usb-storage)
  293. endef
  294. define KernelPackage/usb-storage/description
  295. Kernel support for USB Mass Storage devices
  296. endef
  297. $(eval $(call KernelPackage,usb-storage))
  298. define KernelPackage/usb-atm
  299. $(call usbdep,@LINUX_2_6 kmod-atm)
  300. TITLE:=Support for ATM on USB bus
  301. KCONFIG:=CONFIG_USB_ATM
  302. FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.$(LINUX_KMOD_SUFFIX)
  303. AUTOLOAD:=$(call AutoLoad,60,usbatm)
  304. endef
  305. define KernelPackage/usb-atm/description
  306. Kernel support for USB DSL modems
  307. endef
  308. $(eval $(call KernelPackage,usb-atm))
  309. define KernelPackage/usb-speedtouch
  310. $(call usbdep,@LINUX_2_6 kmod-atm)
  311. TITLE:=Support for SpeedTouch ADSL modems
  312. KCONFIG:=CONFIG_USB_SPEEDTOUCH
  313. FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.$(LINUX_KMOD_SUFFIX)
  314. AUTOLOAD:=$(call AutoLoad,70,speedtch)
  315. endef
  316. define KernelPackage/usb-speedtouch/description
  317. Kernel support for SpeedTouch USB ADSL modems
  318. endef
  319. $(eval $(call KernelPackage,usb-speedtouch))
  320. define KernelPackage/ueagle-atm
  321. $(call usbdep,@LINUX_2_6 kmod-atm)
  322. TITLE:=Driver for Eagle 8051 based USB ADSL modems
  323. FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.$(LINUX_KMOD_SUFFIX)
  324. KCONFIG:=CONFIG_USB_UEAGLEATM
  325. AUTOLOAD:=$(call AutoLoad,70,ueagle-atm)
  326. endef
  327. define KernelPackage/ueagle-atm/description
  328. Kernel support for Eagle 8051 based USB ADSL modems
  329. endef
  330. $(eval $(call KernelPackage,ueagle-atm))
  331. define KernelPackage/usb-pwc
  332. $(call usbdep,+kmod-videodev @LINUX_2_6)
  333. TITLE:=Philips WebCam driver
  334. KCONFIG:=CONFIG_USB_PWC CONFIG_VIDEO_V4L1=y CONFIG_VIDEO_CAPTURE_DRIVERS=y CONFIG_V4L_USB_DRIVERS=y CONFIG_USB_PWC_DEBUG=n
  335. FILES:=$(LINUX_DIR)/drivers/media/video/pwc/pwc.$(LINUX_KMOD_SUFFIX)
  336. AUTOLOAD:=$(call AutoLoad,70,pwc)
  337. endef
  338. define KernelPackage/usb-pwc/description
  339. Kernel modules for supporting Philips WebCam USB devices
  340. endef
  341. $(eval $(call KernelPackage,usb-pwc))
  342. define KernelPackage/cpia2
  343. $(call usbdep,+kmod-videodev @LINUX_2_6)
  344. TITLE:=CPIA2 video driver
  345. KCONFIG:=CONFIG_VIDEO_CPIA2
  346. FILES:=$(LINUX_DIR)/drivers/media/video/cpia2/cpia2.$(LINUX_KMOD_SUFFIX)
  347. AUTOLOAD:=$(call AutoLoad,70,cpia2)
  348. endef
  349. define KernelPackage/cpia2/description
  350. Kernel modules for CPIA2 WebCam devices
  351. endef
  352. $(eval $(call KernelPackage,cpia2))
  353. define KernelPackage/usb-net
  354. $(call usbdep,)
  355. TITLE:=Kernel modules for USB-to-Ethernet convertors
  356. KCONFIG:=CONFIG_USB_USBNET
  357. AUTOLOAD:=$(call Autoload,60, usbnet)
  358. endef
  359. define KernelPackage/usb-net/2.4
  360. FILES:=$(LINUX_DIR)/drivers/usb/usbnet.$(LINUX_KMOD_SUFFIX)
  361. endef
  362. define KernelPackage/usb-net/2.6
  363. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.$(LINUX_KMOD_SUFFIX)
  364. endef
  365. define KernelPackage/usb-net/description
  366. Kernel modules for USB-to-Ethernet convertors
  367. endef
  368. $(eval $(call KernelPackage,usb-net))
  369. define KernelPackage/usb-net-asix
  370. $(call usbdep,kmod-usb-net @LINUX_2_6)
  371. TITLE:=Kernel module for USB-to-Ethernet Asix convertors
  372. KCONFIG:=CONFIG_USB_NET_AX8817X
  373. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.$(LINUX_KMOD_SUFFIX)
  374. AUTOLOAD:=$(call Autoload,61,asix)
  375. endef
  376. define KernelPackage/usb-net-asix/description
  377. Kernel module for USB-to-Ethernet Asix convertors
  378. endef
  379. $(eval $(call KernelPackage,usb-net-asix))
  380. define KernelPackage/usb-net-kaweth
  381. $(call usbdep,kmod-usb-net @LINUX_2_6)
  382. TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
  383. KCONFIG:=CONFIG_USB_KAWETH
  384. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.$(LINUX_KMOD_SUFFIX)
  385. AUTOLOAD:=$(call Autoload,61,kaweth)
  386. endef
  387. define KernelPackage/usb-net-kaweth/description
  388. Kernel module for USB-to-Ethernet Kaweth convertors
  389. endef
  390. $(eval $(call KernelPackage,usb-net-kaweth))
  391. define KernelPackage/usb-net-pegasus
  392. $(call usbdep,kmod-usb-net @LINUX_2_6)
  393. TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
  394. KCONFIG:=CONFIG_USB_PEGASUS
  395. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.$(LINUX_KMOD_SUFFIX)
  396. AUTOLOAD:=$(call Autoload,61,pegasus)
  397. endef
  398. define KernelPackage/usb-net-pegasus/description
  399. Kernel module for USB-to-Ethernet Pegasus convertors
  400. endef
  401. $(eval $(call KernelPackage,usb-net-pegasus))
  402. define KernelPackage/usb-hid
  403. $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev)
  404. TITLE:=Support for USB Human Input Devices
  405. KCONFIG:=CONFIG_USB_HID
  406. FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
  407. AUTOLOAD:=$(call AutoLoad,70,usbhid)
  408. endef
  409. define KernelPackage/usb-hid/description
  410. Kernel support for USB HID devices such as keyboards and mice
  411. endef
  412. $(eval $(call KernelPackage,usb-hid))
  413. define KernelPackage/usb-yealink
  414. $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev)
  415. TITLE:=USB Yealink VOIP phone
  416. KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
  417. FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
  418. AUTOLOAD:=$(call AutoLoad,70,yealink)
  419. endef
  420. define KernelPackage/usb-yealink/description
  421. Kernel support for Yealink VOIP phone
  422. endef
  423. $(eval $(call KernelPackage,usb-yealink))