Pārlūkot izejas kodu

buildroot config: add files to BR2_STRIP_EXCLUDE_FILES to avoid strip

In order to close source for the starfive libcamera ipa library,
consider the libcamera will sign the ipa library when install stage,
but generate the filesystem will strip all library by default, so need
to avoid strip for libcamera library

add below to BR2_STRIP_EXCLUDE_FILES to avoid strip
ipa_starfive.so*
libcamera-base.so*
libcamera.so*
libgstlibcamera.so
v4l2-compat.so
starfive_ipa_proxy

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
Andy Hu 7 mēneši atpakaļ
vecāks
revīzija
41dba26a70
2 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 1 0
      conf/buildroot_initramfs_config
  2. 1 0
      conf/buildroot_rootfs_config

+ 1 - 0
conf/buildroot_initramfs_config

@@ -4,6 +4,7 @@ BR2_RISCV_ISA_CUSTOM_RVM=y
 BR2_RISCV_ISA_CUSTOM_RVF=y
 BR2_RISCV_ISA_CUSTOM_RVD=y
 BR2_RISCV_ISA_CUSTOM_RVC=y
+BR2_STRIP_EXCLUDE_FILES="ipa_starfive.so* libcamera-base.so* libcamera.so* libgstlibcamera.so v4l2-compat.so starfive_ipa_proxy"
 BR2_KERNEL_HEADERS_CUSTOM_GIT=y
 BR2_KERNEL_HEADERS_CUSTOM_REPO_URL="https://github.com/starfive-tech/linux.git"
 BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION="JH7110_VisionFive2_6.1.y_devel"

+ 1 - 0
conf/buildroot_rootfs_config

@@ -4,6 +4,7 @@ BR2_RISCV_ISA_CUSTOM_RVM=y
 BR2_RISCV_ISA_CUSTOM_RVF=y
 BR2_RISCV_ISA_CUSTOM_RVD=y
 BR2_RISCV_ISA_CUSTOM_RVC=y
+BR2_STRIP_EXCLUDE_FILES="ipa_starfive.so* libcamera-base.so* libcamera.so* libgstlibcamera.so v4l2-compat.so starfive_ipa_proxy"
 BR2_KERNEL_HEADERS_CUSTOM_GIT=y
 BR2_KERNEL_HEADERS_CUSTOM_REPO_URL="https://github.com/starfive-tech/linux.git"
 BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION="JH7110_VisionFive2_6.1.y_devel"