scripts: gki: Ensure HOSTLD and HOSTAR are not changed

Change the way the HOSTLD and HOSTAR are assigned in the envsetup.sh
so that the original values don't get overwritten.

Change-Id: Ia2dd91d47b1ab3a527305973a67d8b5b5368a607
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
This commit is contained in:
Prakruthi Deepak Heragu 2020-02-27 17:26:52 -08:00 committed by Gerrit - the friendly Code Review server
parent bb4e39e998
commit 49983a65ef

View File

@ -12,8 +12,8 @@ KERN_SRC=`pwd`
: ${CLANG_TRIPLE:=aarch64-linux-gnu-}
: ${REAL_CC:=clang}
: ${HOSTCC:=gcc}
: ${HOSTLD:ld}
: ${HOSTAR:ar}
: ${HOSTLD:=ld}
: ${HOSTAR:=ar}
: ${KERN_OUT:=}
CONFIGS_DIR=${KERN_SRC}/arch/${ARCH}/configs/vendor