OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 include $(TOPDIR)/rules.mk
2 include $(INCLUDE_DIR)/kernel.mk
3  
4 PKG_NAME:=hwmon-gsc
5 PKG_RELEASE:=1
6  
7 include $(INCLUDE_DIR)/package.mk
8  
9 define KernelPackage/hwmon-gsc
10 SUBMENU:=Hardware Monitoring Support
11 DEPENDS:=@TARGET_imx6||TARGET_cns3xxx kmod-hwmon-core +kmod-i2c-core
12 TITLE:=Driver for the Gateworks System Controller
13 AUTOLOAD:=$(call AutoLoad,60,gsc)
14 FILES:=$(PKG_BUILD_DIR)/gsc.ko
15 endef
16  
17 define KernelPackage/hwmon-gsc/description
18 Kernel module for the Gateworks System Controller chips.
19 endef
20  
21 define Build/Compile
22 $(MAKE) -C "$(LINUX_DIR)" \
23 $(KERNEL_MAKE_FLAGS) \
24 SUBDIRS="$(PKG_BUILD_DIR)" \
25 EXTRA_CFLAGS="$(BUILDFLAGS)" \
26 modules
27 endef
28  
29 $(eval $(call KernelPackage,hwmon-gsc))