1 include $(TOPDIR)/rules.mk
2 include $(INCLUDE_DIR)/kernel.mk
7 include $(INCLUDE_DIR)/package.mk
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
17 define KernelPackage/hwmon-gsc/description
18 Kernel module for the Gateworks System Controller chips.
22 $(MAKE) -C "$(LINUX_DIR)" \
23 $(KERNEL_MAKE_FLAGS) \
24 SUBDIRS="$(PKG_BUILD_DIR)" \
25 EXTRA_CFLAGS="$(BUILDFLAGS)" \
29 $(eval $(call KernelPackage,hwmon-gsc))