aboutsummaryrefslogtreecommitdiff
path: root/package/kernel/leds-gca230718/Makefile
blob: a1ae3bc319874d98c0e4a8d76ee97030212b3841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Copyright (C) 2008-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=leds-gca230718
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0

include $(INCLUDE_DIR)/package.mk

define KernelPackage/leds-gca230718
  SUBMENU:=LED modules
  TITLE:=GCA230718 LED support (e.g. for D-Link M30)
  FILES:= \
	$(PKG_BUILD_DIR)/leds-gca230718.ko
  AUTOLOAD:=$(call AutoProbe,leds-gca230718,1)
  DEPENDS:=@TARGET_mediatek_filogic
endef

define KernelPackage/leds-gca230718/description
  GCA230718 LED support (e.g. for D-Link M30) using I2C.
endef

define Build/Compile
	$(KERNEL_MAKE) M="$(PKG_BUILD_DIR)" modules
endef

$(eval $(call KernelPackage,leds-gca230718))