2021-09-02 22:17:22 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# vocalfusion
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-09-04 13:48:10 +02:00
|
|
|
VOCALFUSION_VERSION = c8c29036992a88726dcdfb967cbc1d9f14a95534
|
2021-09-02 22:17:22 +02:00
|
|
|
VOCALFUSION_SITE = $(call github,OpenVoiceOS,VocalFusionDriver,$(VOCALFUSION_VERSION))
|
|
|
|
VOCALFUSION_MODULE_SUBDIRS = driver
|
|
|
|
|
|
|
|
$(eval $(kernel-module))
|
|
|
|
|
|
|
|
define VOCALFUSION_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0644 $(@D)/xvf3510.dtbo $(BINARIES_DIR)/overlays/
|
2021-09-04 15:42:24 +02:00
|
|
|
|
|
|
|
$(INSTALL) -D -m 755 $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/vocalfusion/xvf3510-flash \
|
|
|
|
$(TARGET_DIR)/usr/sbin/xvf3510-flash
|
|
|
|
|
|
|
|
mkdir -p $(TARGET_DIR)/usr/lib/firmware/xvf3510
|
|
|
|
$(INSTALL) -D -m 0644 $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/vocalfusion/app_xvf3510_int_spi_boot_v4_1_0.bin \
|
|
|
|
$(TARGET_DIR)/usr/lib/firmware/xvf3510/app_xvf3510_int_spi_boot_v4_1_0.bin
|
2021-09-02 22:17:22 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|