summaryrefslogtreecommitdiffstats
path: root/include/toplevel.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-07 23:50:19 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-07 23:50:19 +0000
commitb4c7c3f80440ca4ff23283be6da8fb48ebe4b679 (patch)
treec1354ce48768a54ae7b40c7ed887fbe63b81e100 /include/toplevel.mk
parenta3fbf9343a3b9d9c6c09a7309ed2a91771cfdc0c (diff)
override some variables to make sure that perforce does not mess with our build process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15705 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 dd8fcd6f3..2ee1518b8 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=