Skip to content

Commit

Permalink
moved exclude before files to extract
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Mar 4, 2024
1 parent 4462b66 commit d82b8ed
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sysroot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ ExternalProject_Add(sysroot
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ${CMAKE_COMMAND} -E chdir ${CMAKE_BINARY_DIR} tar xf <DOWNLOADED_FILE>
--exclude "${BUILDROOT_SDK_NAME}/${GNU_TARGET_NAME}/sysroot/usr/share/doc"
--exclude "${BUILDROOT_SDK_NAME}/${GNU_TARGET_NAME}/sysroot/usr/share/i18n"
--exclude "${BUILDROOT_SDK_NAME}/${GNU_TARGET_NAME}/sysroot/usr/share/locale"
--exclude "${BUILDROOT_SDK_NAME}/${GNU_TARGET_NAME}/sysroot/usr/share/man"
--exclude "${BUILDROOT_SDK_NAME}/${GNU_TARGET_NAME}/sysroot/usr/share/terminfo"
--exclude "${BUILDROOT_SDK_NAME}/${GNU_TARGET_NAME}/sysroot/usr/share/zoneinfo"
"${BUILDROOT_SDK_NAME}/${GNU_TARGET_NAME}/sysroot"
"${BUILDROOT_SDK_NAME}/share/buildroot"
"${BUILDROOT_SDK_NAME}/environment-setup"
"${BUILDROOT_SDK_NAME}/relocate-sdk.sh"
--exclude "${BUILDROOT_SDK_NAME}/${GNU_TARGET_NAME}/sysroot/usr/share/terminfo"
${PATCH_RELOCATE_SDK}
COMMAND "${CMAKE_STAGING_PREFIX}/relocate-sdk.sh"
LOG_CONFIGURE TRUE
Expand Down

0 comments on commit d82b8ed

Please sign in to comment.