summaryrefslogtreecommitdiff
path: root/toolchain/dependencies
diff options
context:
space:
mode:
authorDaniel Nyström <daniel.nystrom@timeterminal.se>2010-12-26 00:29:42 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-29 23:35:52 +0100
commit2bf3c1660965d73a553d3c99d6f1a62f36e0069b (patch)
treef0b68328b509431f27f49fab3f0315e100e090d9 /toolchain/dependencies
parent17dfec8c9b92824544ba6e4e9d0e23614e2347ba (diff)
Reset critical environment variables
Reset them early in top-level Makefile to ensure they're keept unset all the way through the build process. This also removes the requirement of these variables being unset globally prior the build. Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/dependencies')
-rwxr-xr-xtoolchain/dependencies/dependencies.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh
index c5552cae0..74ab2137a 100755
--- a/toolchain/dependencies/dependencies.sh
+++ b/toolchain/dependencies/dependencies.sh
@@ -4,15 +4,6 @@
export LC_ALL=C
-# Verify that critical environment variables aren't set
-for var in CC CXX CPP CFLAGS CXXFLAGS GREP_OPTIONS CROSS_COMPILE ARCH ; do
- if test -n "$(eval echo '$'$var)" ; then
- /bin/echo -e "\nYou must run 'unset $var' so buildroot can run with";
- /bin/echo -e "a clean environment on your build machine\n";
- exit 1;
- fi
-done
-
# Verify that grep works
echo "WORKS" | grep "WORKS" >/dev/null 2>&1
if test $? != 0 ; then