summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-08 15:35:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-08 15:35:27 +0000
commitb5ddcb18fae6dc02610b89d4720e352cc4d45e26 (patch)
tree6f115858d60827a3a12211d33d6042a09bedd989
parentcadab984f866bb119ae268962809af6a613f9d8b (diff)
downloadmtk-20170518-b5ddcb18fae6dc02610b89d4720e352cc4d45e26.zip
mtk-20170518-b5ddcb18fae6dc02610b89d4720e352cc4d45e26.tar.gz
mtk-20170518-b5ddcb18fae6dc02610b89d4720e352cc4d45e26.tar.bz2
use unexport instead of export to clear perforce variables
SVN-Revision: 15708
-rw-r--r--include/toplevel.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 2ee1518..78a03d8 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -27,10 +27,7 @@ export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DI
export DYLD_LIBRARY_PATH:=$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
# prevent perforce from messing with the patch utility
-export P4PORT=
-export P4USER=
-export P4CONFIG=
-export P4CLIENT=
+unexport P4PORT P4USER P4CONFIG P4CLIENT
# make sure that a predefined CFLAGS variable does not disturb packages
export CFLAGS=