summaryrefslogtreecommitdiff
path: root/common/setup-env
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-01 17:49:55 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-01 17:49:55 +0000
commite7799cc407b5d3c24d76c9950b83cb971d1b95af (patch)
tree509ada70929b1cd5ece76d156bd5a08c50cc54a1 /common/setup-env
parent5b3bedd039ef7a622bf04e8134d4e3d2a5c6174a (diff)
Prevent DISTRO, MAKE_TARGET and MACHINE getting into the environment.
Diffstat (limited to 'common/setup-env')
-rw-r--r--common/setup-env9
1 files changed, 4 insertions, 5 deletions
diff --git a/common/setup-env b/common/setup-env
index 46151e5774..a1e0d3fbd5 100644
--- a/common/setup-env
+++ b/common/setup-env
@@ -12,10 +12,6 @@ test -n "$TOPDIR" -a -d "$TOPDIR" || {
exit 1
}
-. ./conf/auto.conf
-export DISTRO
-export MAKE_TARGET
-
#
# the following must match the definitions in common/conf/site.conf
export PYTHONPATH="${TOPDIR}/bitbake/lib"
@@ -31,10 +27,13 @@ unset CC
unset CXX
unset MFLAGS
unset MAKEFLAGS
+unset DISTRO
+unset MACHINE
+unset MAKE_TARGET
#
# make bb into a 'safe' bitbake
alias bb-safe="env -i \
- HOME='${TOPDIR}/home' \
+ HOME='${HOME}' \
PYTHONPATH='${PYTHONPATH}' \
BBPATH='${BBPATH}' \
PATH='${PATH}' \