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

Jeroen Hofstee
2014-06-17T18:45:05Z

Hello Masahiro,

On 17-06-14 03:42, Masahiro Yamada wrote:
> On Mon, 16 Jun 2014 19:58:28 +0200
> Jeroen Hofstee <dasuboot@myspectrum.nl> wrote:
>
>> Hello Masahiro,
>>
>> On ma, 2014-06-16 at 18:56 +0900, Masahiro Yamada wrote:
>>> "make %_config all" was supported for the first time in U-Boot:
>>> commit 53bca5ab
>>> kbuild: support simultaneous board configuration and "make all"
>>>
>>> Surprisingly it had not been working in Linux Kernel for a long time.
>>>
>>> So I sent back the patch to the Linux Kbuild community and it was
>>> accepted with a little code improvement, at commit 9319f453.
>>>
>>> Now, you can do "make defconfig all" or "make %_defconfig all"
>>> in Linux too.
>>>
>> There is some issue with this in current master I guess. I haven't
>> bothered too much, but I think the one liner cause gcc to be called even
>> if both compilers are set to clang. With a separate config and make step
>> I have never seen such behavior. I only noticed it on FreeBSD though
>> since gcc is not installed there and actually errors, so it might be
>> awk / sed related as well.
>>
>> Anyway, perhaps rings a bell...
>
> Could you tell me how to reproduce the problem?
>
> As far as I tested on FreeBSD where gcc is not installed,
> I do not see that problem.
>
> This is my repeat steps.
> It fails on the halfway, but at least Clang is used for both HOSTCC and CC.

Weird, below is my build output on current master with some floating
patches to make the build succeed [1] (well I didn't send the time.h yet
since I don't understand how linux gets away with that at the moment)

As mentioned I have no clue why it fails and haven't looked into it.
Just noticed it didn't work.

[1] https://github.com/jhofstee/u-boot/tree/FreeBSD

Regards,
Jeroen

[jeroen at freebsd /usr/home/jeroen/u-boot]$ cc -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd11.0
Thread model: posix
Selected GCC installation:

[jeroen at freebsd /usr/home/jeroen/u-boot]$ gmake -v
GNU Make 3.82
Built for amd64-portbld-freebsd10.0
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

[jeroen at freebsd /usr/home/jeroen/u-boot]$ git branch
* FreeBSD
master
[jeroen at freebsd /usr/home/jeroen/u-boot]$ rm -rf *
[jeroen at freebsd /usr/home/jeroen/u-boot]$ git branch
* FreeBSD
master
[jeroen at freebsd /usr/home/jeroen/u-boot]$ git checkout -f
[jeroen at freebsd /usr/home/jeroen/u-boot]$ git describe
v2014.07-rc3-73-g9188205
[jeroen at freebsd /usr/home/jeroen/u-boot]$ uname -a
FreeBSD freebsd 11.0-CURRENT FreeBSD 11.0-CURRENT #0 0ed0329(master):
Fri Jun 6 14:47:31 CEST 2014 root at freebsd:/usr/obj/usr/src/sys/GENERIC
amd64
[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
usage: dirname string [...]
set -e; : ' CHK include/config/uboot.release'; mkdir -p
include/config/; echo "2014.07-rc3$(sh
/usr/home/jeroen/u-boot/scripts/setlocalversion
/usr/home/jeroen/u-boot)" < Makefile > include/config/uboot.release.tmp;
if [ -r include/config/uboot.release ] && cmp -s
include/config/uboot.release include/config/uboot.release.tmp; then rm
-f include/config/uboot.release.tmp; else : ' UPD
include/config/uboot.release'; mv -f include/config/uboot.release.tmp
include/config/uboot.release; fi
gmake[1]: gcc: Command not found
set -e; : ' CHK include/generated/version_autogenerated.h'; mkdir
-p include/generated/; (echo \#define PLAIN_VERSION
\"2014.07-rc3-00073-g9188205\"; echo \#define U_BOOT_VERSION \"U-Boot \"
PLAIN_VERSION; echo \#define CC_VERSION_STRING \"$(gcc --version | head
-n 1)\"; echo \#define LD_VERSION_STRING \"$(ld --version | head -n
1)\"; ) < include/config/uboot.release >
include/generated/version_autogenerated.h.tmp; if [ -r
include/generated/version_autogenerated.h ] && cmp -s
include/generated/version_autogenerated.h
include/generated/version_autogenerated.h.tmp; then rm -f
include/generated/version_autogenerated.h.tmp; else : ' UPD
include/generated/version_autogenerated.h'; mv -f
include/generated/version_autogenerated.h.tmp
include/generated/version_autogenerated.h; fi
gmake[1]: gcc: Command not found
gcc: not found
set -e; : ' CHK include/generated/timestamp_autogenerated.h'; mkdir
-p include/generated/; (LC_ALL=C date +'#define U_BOOT_DATE "%b %d
%C%y"'; LC_ALL=C date +'#define U_BOOT_TIME "%T"') <
/usr/home/jeroen/u-boot/Makefile >
include/generated/timestamp_autogenerated.h.tmp; if [ -r
include/generated/timestamp_autogenerated.h ] && cmp -s
include/generated/timestamp_autogenerated.h
include/generated/timestamp_autogenerated.h.tmp; then rm -f
include/generated/timestamp_autogenerated.h.tmp; else : ' UPD
include/generated/timestamp_autogenerated.h'; mv -f
include/generated/timestamp_autogenerated.h.tmp
include/generated/timestamp_autogenerated.h; fi
gmake[1]: gcc: Command not found
gmake -f scripts/Makefile.build obj=scripts/basic
gmake[1]: gcc: Command not found
gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c
gcc: not found
gmake[2]: *** [scripts/basic/fixdep] Error 127
gmake[1]: *** [scripts_basic] Error 2
gmake: *** [build-one-by-one] Error 2

[jeroen at freebsd /usr/home/jeroen/u-boot]$ rm -rf *
[jeroen at freebsd /usr/home/jeroen/u-boot]$ git checkout -f
[jeroen at freebsd /usr/home/jeroen/u-boot]$ gmake CC="cc" HOSTCC="cc" V=1
NO_SDL=1 sandbox_config
Configuring for sandbox board..
[jeroen at freebsd /usr/home/jeroen/u-boot]$ gmake CC="cc" HOSTCC="cc" V=1
NO_SDL=1 tools
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
set -e; : ' CHK include/config/uboot.release'; mkdir -p
include/config/; echo "2014.07-rc3$(sh
/usr/home/jeroen/u-boot/scripts/setlocalversion
/usr/home/jeroen/u-boot)" < Makefile > include/config/uboot.release.tmp;
if [ -r include/config/uboot.release ] && cmp -s
include/config/uboot.release include/config/uboot.release.tmp; then rm
-f include/config/uboot.release.tmp; else : ' UPD
include/config/uboot.release'; mv -f include/config/uboot.release.tmp
include/config/uboot.release; fi
set -e; : ' CHK include/generated/version_autogenerated.h'; mkdir
-p include/generated/; (echo \#define PLAIN_VERSION
\"2014.07-rc3-00073-g9188205\"; echo \#define U_BOOT_VERSION \"U-Boot \"
PLAIN_VERSION; echo \#define CC_VERSION_STRING \"$(cc --version | head
-n 1)\"; echo \#define LD_VERSION_STRING \"$(ld --version | head -n
1)\"; ) < include/config/uboot.release >
include/generated/version_autogenerated.h.tmp; if [ -r
include/generated/version_autogenerated.h ] && cmp -s
include/generated/version_autogenerated.h
include/generated/version_autogenerated.h.tmp; then rm -f
include/generated/version_autogenerated.h.tmp; else : ' UPD
include/generated/version_autogenerated.h'; mv -f
include/generated/version_autogenerated.h.tmp
include/generated/version_autogenerated.h; fi
set -e; : ' CHK include/generated/timestamp_autogenerated.h'; mkdir
-p include/generated/; (LC_ALL=C date +'#define U_BOOT_DATE "%b %d
%C%y"'; LC_ALL=C date +'#define U_BOOT_TIME "%T"') <
/usr/home/jeroen/u-boot/Makefile >
include/generated/timestamp_autogenerated.h.tmp; if [ -r
include/generated/timestamp_autogenerated.h ] && cmp -s
include/generated/timestamp_autogenerated.h
include/generated/timestamp_autogenerated.h.tmp; then rm -f
include/generated/timestamp_autogenerated.h.tmp; else : ' UPD
include/generated/timestamp_autogenerated.h'; mv -f
include/generated/timestamp_autogenerated.h.tmp
include/generated/timestamp_autogenerated.h; fi
gmake -f scripts/Makefile.build obj=scripts/basic
cc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c
rm -f .tmp_quiet_recordmcount
gmake -f scripts/Makefile.build obj=.
mkdir -p lib/
cc -Wp,-MD,lib/.asm-offsets.s.d -nostdinc -isystem /usr/lib/include
-Iinclude -I/usr/home/jeroen/u-boot/arch/sandbox/include -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0 -Wall -Wstrict-prototypes -Wno-format-security
-fno-builtin -ffreestanding -Os -fno-stack-protector -g
-Wno-format-nonliteral -DCONFIG_SANDBOX -D__SANDBOX__ -U_FORTIFY_SOURCE
-DCONFIG_ARCH_MAP_SYSMEM -DCONFIG_SYS_GENERIC_BOARD -DSANDBOX_NO_SDL
-pipe -DDO_DEPS_ONLY -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"
-D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o
lib/asm-offsets.s lib/asm-offsets.c
mkdir -p include/generated/
(set -e; echo "#ifndef __GENERIC_ASM_OFFSETS_H__"; echo "#define
__GENERIC_ASM_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo "
*"; echo " * This file was generated by Kbuild"; echo " *"; echo " */";
echo ""; sed -ne "s:[[:space:]]*\.ascii[[:space:]]*\"\(.*\)\":\1:;
/^->/{s:->#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\)
\(.*\):#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\)
\(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" lib/asm-offsets.s; echo "";
echo "#endif" ) > include/generated/generic-asm-offsets.h
gmake -f scripts/Makefile.build obj=tools
cc -Wp,-MD,tools/.img2srec.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -pedantic -o tools/img2srec tools/img2srec.c
cc -Wp,-MD,tools/.aisimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/aisimage.o tools/aisimage.c
cc -Wp,-MD,tools/.atmelimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/atmelimage.o tools/atmelimage.c
echo "#include </usr/home/jeroen/u-boot/common/image-fit.c>"
>tools/common/image-fit.c
cc -Wp,-MD,tools/common/.image-fit.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/common/image-fit.o tools/common/image-fit.c
echo "#include </usr/home/jeroen/u-boot/common/image-sig.c>"
>tools/common/image-sig.c
cc -Wp,-MD,tools/common/.image-sig.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/common/image-sig.o tools/common/image-sig.c
echo "#include </usr/home/jeroen/u-boot/common/image.c>"
>tools/common/image.c
cc -Wp,-MD,tools/common/.image.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/common/image.o tools/common/image.c
cc -Wp,-MD,tools/.default_image.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/default_image.o tools/default_image.c
cc -Wp,-MD,tools/.dumpimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/dumpimage.o tools/dumpimage.c
cc -Wp,-MD,tools/.fit_check_sign.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/fit_check_sign.o tools/fit_check_sign.c
cc -Wp,-MD,tools/.fit_common.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/fit_common.o tools/fit_common.c
cc -Wp,-MD,tools/.fit_image.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/fit_image.o tools/fit_image.c
cc -Wp,-MD,tools/.fit_info.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/fit_info.o tools/fit_info.c
cc -Wp,-MD,tools/.gpimage-common.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/gpimage-common.o tools/gpimage-common.c
cc -Wp,-MD,tools/.gpimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/gpimage.o tools/gpimage.c
cc -Wp,-MD,tools/.image-host.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/image-host.o tools/image-host.c
cc -Wp,-MD,tools/.imagetool.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/imagetool.o tools/imagetool.c
cc -Wp,-MD,tools/.imximage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/imximage.o tools/imximage.c
cc -Wp,-MD,tools/.kwbimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/kwbimage.o tools/kwbimage.c
echo "#include </usr/home/jeroen/u-boot/lib/crc32.c>" >tools/lib/crc32.c
cc -Wp,-MD,tools/lib/.crc32.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -pedantic -c -o tools/lib/crc32.o tools/lib/crc32.c
echo "#include </usr/home/jeroen/u-boot/lib/fdtdec.c>"
>tools/lib/fdtdec.c
cc -Wp,-MD,tools/lib/.fdtdec.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/lib/fdtdec.o tools/lib/fdtdec.c
echo "#include </usr/home/jeroen/u-boot/lib/libfdt/fdt.c>"
>tools/lib/libfdt/fdt.c
cc -Wp,-MD,tools/lib/libfdt/.fdt.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/lib/libfdt/fdt.o tools/lib/libfdt/fdt.c
echo "#include </usr/home/jeroen/u-boot/lib/libfdt/fdt_ro.c>"
>tools/lib/libfdt/fdt_ro.c
cc -Wp,-MD,tools/lib/libfdt/.fdt_ro.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/lib/libfdt/fdt_ro.o tools/lib/libfdt/fdt_ro.c
echo "#include </usr/home/jeroen/u-boot/lib/libfdt/fdt_rw.c>"
>tools/lib/libfdt/fdt_rw.c
cc -Wp,-MD,tools/lib/libfdt/.fdt_rw.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/lib/libfdt/fdt_rw.o tools/lib/libfdt/fdt_rw.c
echo "#include </usr/home/jeroen/u-boot/lib/libfdt/fdt_strerror.c>"
>tools/lib/libfdt/fdt_strerror.c
cc -Wp,-MD,tools/lib/libfdt/.fdt_strerror.o.d -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -DCONFIG_FIT_SIGNATURE
-include /usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/lib/libfdt/fdt_strerror.o
tools/lib/libfdt/fdt_strerror.c
echo "#include </usr/home/jeroen/u-boot/lib/libfdt/fdt_wip.c>"
>tools/lib/libfdt/fdt_wip.c
cc -Wp,-MD,tools/lib/libfdt/.fdt_wip.o.d -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/lib/libfdt/fdt_wip.o tools/lib/libfdt/fdt_wip.c
echo "#include </usr/home/jeroen/u-boot/lib/md5.c>" >tools/lib/md5.c
cc -Wp,-MD,tools/lib/.md5.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -pedantic -c -o tools/lib/md5.o tools/lib/md5.c
echo "#include </usr/home/jeroen/u-boot/lib/rsa/rsa-checksum.c>"
>tools/lib/rsa/rsa-checksum.c
cc -Wp,-MD,tools/lib/rsa/.rsa-checksum.o.d -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/lib/rsa/rsa-checksum.o
tools/lib/rsa/rsa-checksum.c
echo "#include </usr/home/jeroen/u-boot/lib/rsa/rsa-sign.c>"
>tools/lib/rsa/rsa-sign.c
cc -Wp,-MD,tools/lib/rsa/.rsa-sign.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/lib/rsa/rsa-sign.o tools/lib/rsa/rsa-sign.c
In file included from tools/lib/rsa/rsa-sign.c:1:
/usr/home/jeroen/u-boot/lib/rsa/rsa-sign.c:77:6: warning: variable 'ret'
is used uninitialized whenever 'if' condition is true
[-Wsometimes-uninitialized]
if (!rsa) {
^~~~
/usr/home/jeroen/u-boot/lib/rsa/rsa-sign.c:94:9: note: uninitialized use
occurs here
return ret;
^~~
/usr/home/jeroen/u-boot/lib/rsa/rsa-sign.c:77:2: note: remove the 'if'
if its condition is always false
if (!rsa) {
^~~~~~~~~~~
/usr/home/jeroen/u-boot/lib/rsa/rsa-sign.c:48:9: note: initialize the
variable 'ret' to silence this warning
int ret;
^
= 0
1 warning generated.
echo "#include </usr/home/jeroen/u-boot/lib/rsa/rsa-verify.c>"
>tools/lib/rsa/rsa-verify.c
cc -Wp,-MD,tools/lib/rsa/.rsa-verify.o.d -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/lib/rsa/rsa-verify.o tools/lib/rsa/rsa-verify.c
In file included from tools/lib/rsa/rsa-verify.c:1:
/usr/home/jeroen/u-boot/lib/rsa/rsa-verify.c:59:27: warning: comparison
of unsigned expression >= 0 is always true [-Wtautological-compare]
for (i = key->len - 1; i >= 0; i--) {
~ ^ ~
1 warning generated.
echo "#include </usr/home/jeroen/u-boot/lib/sha1.c>" >tools/lib/sha1.c
cc -Wp,-MD,tools/lib/.sha1.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -pedantic -c -o tools/lib/sha1.o tools/lib/sha1.c
echo "#include </usr/home/jeroen/u-boot/lib/sha256.c>"
>tools/lib/sha256.c
cc -Wp,-MD,tools/lib/.sha256.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -pedantic -c -o tools/lib/sha256.o tools/lib/sha256.c
cc -Wp,-MD,tools/.mkenvimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/mkenvimage.o tools/mkenvimage.c
cc -Wp,-MD,tools/.mkimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/mkimage.o tools/mkimage.c
cc -Wp,-MD,tools/.mxsimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/mxsimage.o tools/mxsimage.c
cc -Wp,-MD,tools/.omapimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/omapimage.o tools/omapimage.c
cc -Wp,-MD,tools/.os_support.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/os_support.o tools/os_support.c
cc -Wp,-MD,tools/.pbl_crc32.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/pbl_crc32.o tools/pbl_crc32.c
cc -Wp,-MD,tools/.pblimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/pblimage.o tools/pblimage.c
cc -Wp,-MD,tools/.ublimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -c -o tools/ublimage.o tools/ublimage.c
cc -o tools/mkenvimage tools/mkenvimage.o tools/os_support.o
tools/lib/crc32.o
cc -o tools/dumpimage tools/aisimage.o tools/atmelimage.o
tools/common/image-sig.o tools/lib/crc32.o tools/default_image.o
tools/lib/fdtdec.o tools/fit_common.o tools/fit_image.o tools/gpimage.o
tools/gpimage-common.o tools/common/image-fit.o tools/image-host.o
tools/common/image.o tools/imagetool.o tools/imximage.o tools/kwbimage.o
tools/lib/md5.o tools/mxsimage.o tools/omapimage.o tools/os_support.o
tools/pblimage.o tools/pbl_crc32.o tools/lib/sha1.o tools/lib/sha256.o
tools/ublimage.o tools/lib/libfdt/fdt.o tools/lib/libfdt/fdt_ro.o
tools/lib/libfdt/fdt_rw.o tools/lib/libfdt/fdt_strerror.o
tools/lib/libfdt/fdt_wip.o tools/lib/rsa/rsa-sign.o
tools/lib/rsa/rsa-verify.o tools/lib/rsa/rsa-checksum.o
tools/dumpimage.o -lssl -lcrypto
cc -o tools/mkimage tools/aisimage.o tools/atmelimage.o
tools/common/image-sig.o tools/lib/crc32.o tools/default_image.o
tools/lib/fdtdec.o tools/fit_common.o tools/fit_image.o tools/gpimage.o
tools/gpimage-common.o tools/common/image-fit.o tools/image-host.o
tools/common/image.o tools/imagetool.o tools/imximage.o tools/kwbimage.o
tools/lib/md5.o tools/mxsimage.o tools/omapimage.o tools/os_support.o
tools/pblimage.o tools/pbl_crc32.o tools/lib/sha1.o tools/lib/sha256.o
tools/ublimage.o tools/lib/libfdt/fdt.o tools/lib/libfdt/fdt_ro.o
tools/lib/libfdt/fdt_rw.o tools/lib/libfdt/fdt_strerror.o
tools/lib/libfdt/fdt_wip.o tools/lib/rsa/rsa-sign.o
tools/lib/rsa/rsa-verify.o tools/lib/rsa/rsa-checksum.o tools/mkimage.o
-lssl -lcrypto
cc -o tools/fit_info tools/aisimage.o tools/atmelimage.o
tools/common/image-sig.o tools/lib/crc32.o tools/default_image.o
tools/lib/fdtdec.o tools/fit_common.o tools/fit_image.o tools/gpimage.o
tools/gpimage-common.o tools/common/image-fit.o tools/image-host.o
tools/common/image.o tools/imagetool.o tools/imximage.o tools/kwbimage.o
tools/lib/md5.o tools/mxsimage.o tools/omapimage.o tools/os_support.o
tools/pblimage.o tools/pbl_crc32.o tools/lib/sha1.o tools/lib/sha256.o
tools/ublimage.o tools/lib/libfdt/fdt.o tools/lib/libfdt/fdt_ro.o
tools/lib/libfdt/fdt_rw.o tools/lib/libfdt/fdt_strerror.o
tools/lib/libfdt/fdt_wip.o tools/lib/rsa/rsa-sign.o
tools/lib/rsa/rsa-verify.o tools/lib/rsa/rsa-checksum.o
tools/fit_info.o -lssl -lcrypto
cc -o tools/fit_check_sign tools/aisimage.o tools/atmelimage.o
tools/common/image-sig.o tools/lib/crc32.o tools/default_image.o
tools/lib/fdtdec.o tools/fit_common.o tools/fit_image.o tools/gpimage.o
tools/gpimage-common.o tools/common/image-fit.o tools/image-host.o
tools/common/image.o tools/imagetool.o tools/imximage.o tools/kwbimage.o
tools/lib/md5.o tools/mxsimage.o tools/omapimage.o tools/os_support.o
tools/pblimage.o tools/pbl_crc32.o tools/lib/sha1.o tools/lib/sha256.o
tools/ublimage.o tools/lib/libfdt/fdt.o tools/lib/libfdt/fdt_ro.o
tools/lib/libfdt/fdt_rw.o tools/lib/libfdt/fdt_strerror.o
tools/lib/libfdt/fdt_wip.o tools/lib/rsa/rsa-sign.o
tools/lib/rsa/rsa-verify.o tools/lib/rsa/rsa-checksum.o
tools/fit_check_sign.o -lssl -lcrypto
cc -Wp,-MD,tools/.proftool.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include
/usr/home/jeroen/u-boot/include/libfdt_env.h -idirafterinclude
-idirafter/usr/home/jeroen/u-boot/arch/sandbox/include
-I/usr/home/jeroen/u-boot/lib/libfdt -I/usr/home/jeroen/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -o tools/proftool tools/proftool.c