2017-01-10 10:57:57 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=hwmon-gsc
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-gsc
|
|
|
|
SUBMENU:=Hardware Monitoring Support
|
2021-03-28 15:07:02 +00:00
|
|
|
DEPENDS:=@TARGET_imx +kmod-hwmon-core +kmod-i2c-core
|
2017-01-10 10:57:57 +00:00
|
|
|
TITLE:=Driver for the Gateworks System Controller
|
|
|
|
AUTOLOAD:=$(call AutoLoad,60,gsc)
|
|
|
|
FILES:=$(PKG_BUILD_DIR)/gsc.ko
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-gsc/description
|
|
|
|
Kernel module for the Gateworks System Controller chips.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2022-12-14 21:34:19 +00:00
|
|
|
$(KERNEL_MAKE) \
|
2020-01-20 14:42:00 +00:00
|
|
|
M="$(PKG_BUILD_DIR)" \
|
2017-01-10 10:57:57 +00:00
|
|
|
EXTRA_CFLAGS="$(BUILDFLAGS)" \
|
|
|
|
modules
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-gsc))
|