sgp30: New kernel module package
PATCH 1/1 sgp30: New kernel module package
Kernel module for the Sensirion sgp30 / sgpc2 chemical sensors.
Signed-off-by David De Grave <[email protected]>
--- package/Config.in | 1 + package/sgp30/Config.in | 17 +++++++++++++++++ package/sgp30/sgp30.hash | 1 + package/sgp30/sgp30.mk | 13 +++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 package/sgp30/Config.in create mode 100644 package/sgp30/sgp30.hash create mode 100644 package/sgp30/sgp30.mk
package/Config.in +1 -0
@@ -507,6 +507,7 @@ endmenu source "package/sedutil/Config.in" source "package/setserial/Config.in" source "package/sg3_utils/Config.in" + source "package/sgp30/Config.in" source "package/sigrok-cli/Config.in" source "package/sispmctl/Config.in" source "package/smartmontools/Config.in"
package/sgp30/Config.in new file +17 -0
@@ -0,0 +1,17 @@ + +config BR2_PACKAGE_SGP30 + bool "sgp30/sgpc3" + depends on BR2_LINUX_KERNEL + help + I2C interface support for the following + Sensirion SGP multi-pixel gas sensors: + + * SGP30 gas sensor + * SGPC3 low power gas sensor + + This module will be called sgp30. + + Requires CONFIG_CRC8 & CONFIG_IIO + +comment "sgp30/sgpc3 needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL
package/sgp30/sgp30.hash new file +1 -0
@@ -0,0 +1 @@ +sha256 f8d619046589eee93dbce091be5dc3059a2e37513e50b3c61eada9c3b6fc7c0f Sensirion_Gas_Sensors_SGP30_Linux_Driver.zip
package/sgp30/sgp30.mk new file +13 -0
@@ -0,0 +1,13 @@ + +SGP30_SOURCE = Sensirion_Gas_Sensors_SGP30_Linux_Driver.zip +SGP30_SITE = https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/13_Sample_Codes_Software/Gas_Sensors +SGP30_LICENSE = GPL-2.0+ +SGP30_LICENSE_FILE = LICENSE +SGP30_MODULE_SUBDIRS = sgp30 + +define SGP30_EXTRACT_CMDS + $(UNZIP) -d $(@D) $(SGP30_DL_DIR)/$(SGP30_SOURCE) +endef + +$(eval $(kernel-module)) +$(eval $(generic-package))
Signature · 1 line
2.13.6