add sensor selection for ingenic configs

This commit is contained in:
cronyx
2024-02-06 00:47:40 +03:00
parent eb45f662a7
commit a945d3d5b9
30 changed files with 13 additions and 750 deletions

View File

@@ -1,9 +0,0 @@
diff --git a/kernel/sensors/t31/Kbuild b/kernel/sensors/t31/Kbuild
index caf668b..07367bb 100644
--- a/kernel/sensors/t31/Kbuild
+++ b/kernel/sensors/t31/Kbuild
@@ -18,3 +18,4 @@ include $(src)/sensors/$(SOC)/sc2336/Kbuild
include $(src)/sensors/$(SOC)/sc3338/Kbuild
include $(src)/sensors/$(SOC)/sc5235/Kbuild
include $(src)/sensors/$(SOC)/sc4236/Kbuild
+include $(src)/sensors/$(SOC)/sc4336/Kbuild

View File

@@ -1,30 +0,0 @@
################################################################################
#
# ingenic-osdrv-t31
#
################################################################################
INGENIC_OSDRV_T31_VERSION =
INGENIC_OSDRV_T31_SITE =
INGENIC_OSDRV_T31_LICENSE = MIT
INGENIC_OSDRV_T31_LICENSE_FILES = LICENSE
define INGENIC_OSDRV_T31_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 -d $(TARGET_DIR)/etc/sensor
$(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensor $(INGENIC_OSDRV_T31_PKGDIR)/files/sensor/*.yaml
# $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensor $(INGENIC_OSDRV_T31_PKGDIR)/files/sensor/params/*.bin
$(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensor $(INGENIC_OSDRV_T31_PKGDIR)/files/sensor/params/sc4336-t31.bin
# Modules for T31 are built from the openingenic repository sources, so we don't need to copy them.
# $(INSTALL) -m 755 -d $(TARGET_DIR)/lib/modules/3.10.14__isvp_swan_1.0__/ingenic
# $(INSTALL) -m 644 -t $(TARGET_DIR)/lib/modules/3.10.14__isvp_swan_1.0__/ingenic $(INGENIC_OSDRV_T31_PKGDIR)/files/kmod/*.ko
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(INGENIC_OSDRV_T31_PKGDIR)/files/script/load*
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/lib
$(INSTALL) -m 644 -t $(TARGET_DIR)/usr/lib/ $(INGENIC_OSDRV_T31_PKGDIR)/files/lib/*.so
endef
$(eval $(generic-package))