[U-Boot] [PATCH] kbuild: clear VENDOR variable to fix build error on tcsh

Tom Rini trini at ti.com
Tue Oct 21 15:20:06 CEST 2014


On Tue, Oct 21, 2014 at 01:18:32PM +0900, Masahiro Yamada wrote:
> 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 at jp.panasonic.com>
> Reported-by: Tom Everett <tom at khubla.com>
> Reported-by: Jeroen Hofstee <jeroen at myspectrum.nl>
> ---
> 
>  config.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/config.mk b/config.mk
> index 2157537..00805bd 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:"%"=%)

Are there other variables that might fit into this same category?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141021/046ffcd4/attachment.pgp>


More information about the U-Boot mailing list