mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-26 16:29:24 +00:00
add China Mobile HDC-51 A6-V11 (#3)
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
diff --git a/kernel/sensors/t31/Kbuild b/kernel/sensors/t31/Kbuild
|
||||
index 5f96204..30b34f5 100644
|
||||
--- a/kernel/sensors/t31/Kbuild
|
||||
+++ b/kernel/sensors/t31/Kbuild
|
||||
@@ -1,19 +1 @@
|
||||
-include $(src)/sensors/$(SOC)/gc2053/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/gc2083/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/gc4023/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/gc4653/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/imx307/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/imx327/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/jxf37/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/jxh62/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/jxh63/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/jxq03/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/jxq03p/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/os03b10/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/sc200ai/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/sc2232h/Kbuild
|
||||
-include $(src)/sensors/$(SOC)/sc2335/Kbuild
|
||||
-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)/sc2332/Kbuild
|
||||
diff --git a/kernel/sensors/t31/sc2332/Kbuild b/kernel/sensors/t31/sc2332/Kbuild
|
||||
index 12cef4b..9e9672c 100644
|
||||
--- a/kernel/sensors/t31/sc2332/Kbuild
|
||||
+++ b/kernel/sensors/t31/sc2332/Kbuild
|
||||
@@ -1,7 +1,7 @@
|
||||
MODULE_NAME := sensor_sc2332_t31
|
||||
OUT := $(MODULE_NAME)
|
||||
|
||||
-DIR=sensors/$(SOC)/sc2332
|
||||
+DIR=sensors/$(SOC)
|
||||
|
||||
SRCS := $(DIR)/sc2332/sc2332.c
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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/sc2332-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))
|
||||
Reference in New Issue
Block a user