build: export PKG_ORIG_SYSROOT_PREFIX

Required to create $PKG_NAME-config scripts in $TOOLCHAIN/bin
This commit is contained in:
mglae 2021-07-01 23:42:56 +02:00
parent 9059fe9297
commit c328de8278

View File

@ -384,7 +384,7 @@ pkg_call_exists_opt post_make_${TARGET} && pkg_call
# Hack around directly writing/modifying the content of a shared sysroot # Hack around directly writing/modifying the content of a shared sysroot
# by temporarily installing new files to a package specific sysroot # by temporarily installing new files to a package specific sysroot
PKG_ORIG_SYSROOT_PREFIX="${SYSROOT_PREFIX}" export PKG_ORIG_SYSROOT_PREFIX="${SYSROOT_PREFIX}"
export SYSROOT_PREFIX="${BUILD}/.sysroot/${PKG_NAME}.${TARGET}" export SYSROOT_PREFIX="${BUILD}/.sysroot/${PKG_NAME}.${TARGET}"
rm -rf "${SYSROOT_PREFIX}" rm -rf "${SYSROOT_PREFIX}"