mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-13 15:42:20 +00:00
31 lines
1.3 KiB
Makefile
31 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# 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))
|