ispsdk: add ispsdk v2.0.0 package to buildroot

the ispsdk apps will install to /root/ISP/

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
This commit is contained in:
Andy Hu
2022-07-14 17:23:06 +08:00
parent 8ebb316468
commit 5ca8180f8b
3 changed files with 30 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ source "package/starfive/codaj12/Config.in"
source "package/starfive/sf-omx-il/Config.in"
source "package/starfive/sf-omx-il-test/Config.in"
source "package/starfive/v4l2_test/Config.in"
source "package/starfive/ispsdk/Config.in"
source "package/starfive/mailbox-test/Config.in"
source "package/starfive/e24-test/Config.in"
source "package/starfive/stfisp_setfile/Config.in.host"
+6
View File
@@ -0,0 +1,6 @@
comment "starfive ispsdk package"
config BR2_PACKAGE_ISPSDK
bool "ispsdk"
help
starfive ispsdk package
+23
View File
@@ -0,0 +1,23 @@
################################################################################
#
# ispsdk:
# ispsdk package will generate isp sdk app to contrl the sensor image quality
# reference to the build script soft_3rdpart/ispsdk/build.sh
#
################################################################################
ISPSDK_VERSION := 2.0.0
ISPSDK_SITE = $(TOPDIR)/../soft_3rdpart/ispsdk/DDKSource
ISPSDK_SITE_METHOD = local
ISPSDK_SUPPORTS_IN_SOURCE_BUILD = NO
ISPSDK_DEPENDENCIES = jpeg libv4l libdrm
# default CMAKE_INSTALL_PREFIX is $(TARGET_DIR)/usr, change to below
# note: not have -DCROSS_COMPILE
ISPSDK_CONF_OPTS = -DRUN_PLATFORM="RISCV" \
-DCI_LOG_LEVEL=4 \
-DARCH_RISCV="Y" \
-DCMAKE_INSTALL_PREFIX="/root" \
-DLINUX_KERNEL_BUILD_DIR="$(TOPDIR)/../work/linux" \
-DDRM_INCLUDE_DIR="$(STAGING_DIR)/usr/include/drm"
$(eval $(cmake-package))