summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-21 13:18:32 +0900
committerTom Rini <trini@ti.com>2014-10-23 16:35:12 -0400
commit5b3ee386fde82a1ba42ff09b95247842c9a1585e (patch)
tree5a932ead00157fd46429dcb45a1b5224db673249 /config.mk
parent03a3536c7b7f2902932606da9248c6f08318174a (diff)
downloadblackbird-obmc-uboot-5b3ee386fde82a1ba42ff09b95247842c9a1585e.tar.gz
blackbird-obmc-uboot-5b3ee386fde82a1ba42ff09b95247842c9a1585e.zip
kbuild: clear VENDOR variable to fix build error on tcsh
Since the environment "VENDOR" is set in tcsh, it must be cleared in our makefile. Otherwise, boards without CONFIG_SYS_VENDOR fail to build: > make CROSS_COMPILE=arm-linux-gnueabi- wandboard_quad_defconfig all [ snip ] AR arch/arm/lib/lib.a CC arch/arm/lib/eabi_compat.o scripts/Makefile.build:55: /home/foo/u-boot/board/unknown/wandboard/ \ Makefile: No such file or directory make[2]: *** No rule to make target `/home/foo/u-boot/board/unknown/ \ wandboard/Makefile'. Stop. make[1]: *** [board/unknown/wandboard] Error 2 make: *** [__build_one_by_one] Error 2 Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reported-by: Tom Everett <tom@khubla.com> Reported-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 2157537c82..00805bdc5b 100644
--- a/config.mk
+++ b/config.mk
@@ -18,6 +18,8 @@ PLATFORM_LDFLAGS :=
LDFLAGS :=
LDFLAGS_FINAL :=
OBJCOPYFLAGS :=
+# clear VENDOR for tcsh
+VENDOR :=
#########################################################################
ARCH := $(CONFIG_SYS_ARCH:"%"=%)
OpenPOWER on IntegriCloud