From 6cc8d05446585e2b54fe9c282f83cbbd0005f7ce Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Wed, 24 Oct 2012 11:12:20 +0200 Subject: Makefile: disable CDPATH CDPATH has sideeffects when generating barebox_default_env.h (printing the directory name into the header file), causing a build failure. Disable it for the build. Signed-off-by: Wolfram Sang Signed-off-by: Sascha Hauer --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 881680d8e6..55262ad940 100644 --- a/Makefile +++ b/Makefile @@ -136,6 +136,9 @@ ifeq ($(skip-makefile),) PHONY += all _all: all +# CDPATH can have sideeffects; disable, since we do know where we want to cd to +export CDPATH= + srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR)) objtree := $(CURDIR) src := $(srctree) -- cgit v1.2.3