Skip to content

Commit

Permalink
buildroot config: add files to BR2_STRIP_EXCLUDE_FILES to avoid strip
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
andyhu-stf committed Nov 29, 2023
1 parent 7f3d98e commit f49a8fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/buildroot_initramfs_config
Expand Up @@ -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_devel"
Expand Down
1 change: 1 addition & 0 deletions conf/buildroot_rootfs_config
Expand Up @@ -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_devel"
Expand Down

0 comments on commit f49a8fa

Please sign in to comment.