diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2012-10-24 11:12:20 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-25 08:38:03 +0200 |
commit | 6cc8d05446585e2b54fe9c282f83cbbd0005f7ce (patch) | |
tree | 3eaf4f9372603f022ac49febd926991a41a29533 /Makefile | |
parent | 975d6a0130758b32b07968f61b4c32a970af9cd9 (diff) | |
download | barebox-6cc8d05446585e2b54fe9c282f83cbbd0005f7ce.tar.gz barebox-6cc8d05446585e2b54fe9c282f83cbbd0005f7ce.tar.xz |
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 <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |