summaryrefslogtreecommitdiff
path: root/include/toplevel.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-07 23:50:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-07 23:50:19 +0000
commitd4cb02e78f0a5e442f569767c538b928d046b225 (patch)
tree1432a4fd6938526f8126bd3317307c239f29a8c8 /include/toplevel.mk
parentd88bd31f996051d0eee05b7467140e6cd95dcbe6 (diff)
downloadmtk-20170518-d4cb02e78f0a5e442f569767c538b928d046b225.zip
mtk-20170518-d4cb02e78f0a5e442f569767c538b928d046b225.tar.gz
mtk-20170518-d4cb02e78f0a5e442f569767c538b928d046b225.tar.bz2
override some variables to make sure that perforce does not mess with our build process
SVN-Revision: 15705
Diffstat (limited to 'include/toplevel.mk')
-rw-r--r--include/toplevel.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index dd8fcd6..2ee1518 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -26,6 +26,12 @@ export IS_TTY=$(shell tty -s && echo 1 || echo 0)
export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
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=
+
# make sure that a predefined CFLAGS variable does not disturb packages
export CFLAGS=