[U-Boot] [PATCH 2/5] kbuild: sync mixed targets handling with Linux 3.16-rc1

Masahiro Yamada
2014-06-20T02:20:55Z

Hi Jeroen,

On Tue, 17 Jun 2014 20:45:05 +0200
Jeroen Hofstee <dasuboot@myspectrum.nl> wrote:

> [jeroen at freebsd /usr/home/jeroen/u-boot]$ gmake CC="cc" HOSTCC="cc" V=1 NO_SDL=1 sandbox_config tools
> set -e; \
> for i in sandbox_config tools; do \
> gmake -f /usr/home/jeroen/u-boot/Makefile $i; \
> done
> Configuring for sandbox board...
> cc -x c -DDO_DEPS_ONLY -M -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -Wno-format-nonliteral -D__KERNEL__ -DCONFIG_SANDBOX -D__SANDBOX__ -U_FORTIFY_SOURCE -DCONFIG_ARCH_MAP_SYSMEM -DCONFIG_SYS_GENERIC_BOARD -DSANDBOX_NO_SDL -pipe -Iinclude -I/usr/home/jeroen/u-boot/arch/sandbox/include -nostdinc -isystem /usr/lib/include -MQ include/autoconf.mk /usr/home/jeroen/u-boot/include/common.h > include/autoconf.mk.dep || rm include/autoconf.mk.dep
> cc -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -Wno-format-nonliteral -D__KERNEL__ -DCONFIG_SANDBOX -D__SANDBOX__ -U_FORTIFY_SOURCE -DCONFIG_ARCH_MAP_SYSMEM -DCONFIG_SYS_GENERIC_BOARD -DSANDBOX_NO_SDL -pipe -Iinclude -I/usr/home/jeroen/u-boot/arch/sandbox/include -nostdinc -isystem /usr/lib/include -DDO_DEPS_ONLY -dM /usr/home/jeroen/u-boot/include/common.h > include/autoconf.mk.tmp && sed -n -f /usr/home/jeroen/u-boot/tools/scripts/define2mk.sed include/autoconf.mk.tmp > include/autoconf.mk; rm include/autoconf.mk.tmp
> gmake[1]: gcc: Command not found
> gmake[1]: gcc: Command not found
> gcc: not found

What looks really weird here is that
gmake invoked 'cc',
but an error message 'gcc :Command not found' was displayed.

I don't know why.

Best Regards
Masahiro Yamada