aboutsummaryrefslogtreecommitdiff
path: root/build-uboot.sh
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2015-05-22 16:48:21 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2015-05-22 17:23:08 +0100
commite73c6e7d8e7960ea3c7c1fe62e61faa486599c8a (patch)
tree45d9b8fa3419b6e50431bb56e3f88105e8431467 /build-uboot.sh
parent0dd468e262265926e0684a6f9234a187b1664f2c (diff)
Use CROSS_COMPILE instead of LINUX_COMPILERarmlt-20150522gcc-path15.05
Use the "standard" CROSS_COMPILE prefix, with a sensible default, rather than the LINUX_COMPILER variable. If the user has the Linaro compiler on their path, it should "just work". Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'build-uboot.sh')
-rwxr-xr-xbuild-uboot.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/build-uboot.sh b/build-uboot.sh
index 1d23412..57f5654 100755
--- a/build-uboot.sh
+++ b/build-uboot.sh
@@ -33,7 +33,7 @@
#
# VARIANT - build variant name
# TOP_DIR - workspace root directory
-# LINUX_COMPILER - PATH to GCC including CROSS-COMPILE prefix
+# CROSS_COMPILE - PATH to GCC including CROSS-COMPILE prefix
# UBOOT_BUILD_ENABLED - Flag to enable building u-boot
# UBOOT_PATH - sub-directory containing u-boot code
# UBOOT_ARCH - Build architecture (aarch64)
@@ -45,7 +45,6 @@
do_build ()
{
if [ "$UBOOT_BUILD_ENABLED" == "1" ]; then
- export CROSS_COMPILE=$TOP_DIR/$LINUX_COMPILER
export ARCH=$UBOOT_ARCH
pushd $TOP_DIR/$UBOOT_PATH
@@ -61,7 +60,6 @@ do_build ()
do_clean ()
{
if [ "$UBOOT_BUILD_ENABLED" == "1" ]; then
- export CROSS_COMPILE=$TOP_DIR/$LINUX_COMPILER
export ARCH=$UBOOT_ARCH
pushd $TOP_DIR/$UBOOT_PATH