ispsdk: Start a daemon for stf_isp_ctrl during bootup

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
This commit is contained in:
Kevin.xie
2022-11-02 18:33:25 +08:00
parent 5088e2a0cf
commit 5ec4da22b2
3 changed files with 129 additions and 0 deletions
+7
View File
@@ -11,6 +11,13 @@ ISPSDK_SITE_METHOD = local
ISPSDK_SUPPORTS_IN_SOURCE_BUILD = NO
ISPSDK_DEPENDENCIES = jpeg libv4l libdrm
define ISPSDK_INSTALL_TARGET_CMDS
install -m 0755 -D package/starfive/ispsdk/isp_ctrl_daemon.sh \
$(TARGET_DIR)/usr/bin/isp_ctrl_daemon.sh
install -m 0755 -D package/starfive/ispsdk/S70isp-ctrl \
$(TARGET_DIR)/etc/init.d/S70isp-ctrl
endef
# default CMAKE_INSTALL_PREFIX is $(TARGET_DIR)/usr, change to below
# note: not have -DCROSS_COMPILE
ISPSDK_CONF_OPTS = -DRUN_PLATFORM="RISCV" \