Skip to content

Commit

Permalink
Native toolchain /usr
Browse files Browse the repository at this point in the history
  • Loading branch information
danoli3 committed Feb 5, 2025
1 parent 27b85db commit 5641f68
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion apothecary/configure/linuxaarch64_configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ CROSS_COMPILER="raspbian"
CROSS_SYSROOT="rpi_rootfs"
CROSS_ARCH="aarch64"
CROSSCOMPILE=${CROSSCOMPILE:-1}
SYSROOT_PATH="/usr/${CROSS_ARCH}-linux-gnu"
export HOST_ARCH=$(uname -m)
export HOST_PLATFORM=$(uname)

Expand All @@ -22,7 +23,7 @@ fi

if [ "${CROSSCOMPILE}" -eq 0 ]; then
export ROOTFS="/"
export TOOLCHAIN_ROOT="/${CROSS_COMPILER}"
export TOOLCHAIN_ROOT="/usr"
else
export ROOTFS="${APOTHECARY_LEVEL}/${CROSS_SYSROOT}"
export TOOLCHAIN_ROOT="${APOTHECARY_LEVEL}/${CROSS_COMPILER}"
Expand Down
2 changes: 1 addition & 1 deletion apothecary/configure/linuxarmv6l_configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fi

if [ "${CROSSCOMPILE}" -eq 0 ]; then
export ROOTFS="/"
export TOOLCHAIN_ROOT="/${CROSS_COMPILER}"
export TOOLCHAIN_ROOT="/usr"
else
export ROOTFS="${APOTHECARY_LEVEL}/${CROSS_SYSROOT}"
export TOOLCHAIN_ROOT="${APOTHECARY_LEVEL}/${CROSS_COMPILER}"
Expand Down
2 changes: 1 addition & 1 deletion apothecary/configure/linuxarmv7l_configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fi

if [ "${CROSSCOMPILE}" -eq 0 ]; then
export ROOTFS="/"
export TOOLCHAIN_ROOT="/${CROSS_COMPILER}"
export TOOLCHAIN_ROOT="/usr"
else
export ROOTFS="${APOTHECARY_LEVEL}/${CROSS_SYSROOT}"
export TOOLCHAIN_ROOT="${APOTHECARY_LEVEL}/${CROSS_COMPILER}"
Expand Down
2 changes: 1 addition & 1 deletion apothecary/configure/linuxarmv8_configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fi

if [ "${CROSSCOMPILE}" -eq 0 ]; then
export ROOTFS="/"
export TOOLCHAIN_ROOT="/${CROSS_COMPILER}"
export TOOLCHAIN_ROOT="/usr"
else
export ROOTFS="${APOTHECARY_LEVEL}/${CROSS_SYSROOT}"
export TOOLCHAIN_ROOT="${APOTHECARY_LEVEL}/${CROSS_COMPILER}"
Expand Down

0 comments on commit 5641f68

Please sign in to comment.