
Dear Stefano Babic,
In message 1314726584-17203-1-git-send-email-sbabic@denx.de you wrote:
commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47 breaks building on a different directory with the O= parameter. The patch wil fix this issue, generating always asm-offsets.h before the other targets.
Signed-off-by: Stefano Babic sbabic@denx.de CC: Matthias Weisser weisserm@arcor.de CC: Wolfgang Denk wd@denx.de
Note: V2 breaks *all* not ARM boards Put the generated asm-offsets.h into include/generated, because this directory is common to all architectures.
This one is not that much better:
Configuring for apollon board... sed: can't read /work/wd/tmp-arm/arch/arm/cpu/arm1136/omap24xx/asm-offsets.s: No such file or directory make: *** [/work/wd/tmp-arm/include/generated/asm-offsets.h] Error 1 make: *** Waiting for unfinished jobs.... arm-linux-size: '/work/wd/tmp-arm/u-boot': No such file Configuring for da850evm board... sed: can't read /work/wd/tmp-arm/arch/arm/cpu/arm926ejs/davinci/asm-offsets.s: No such file or directory make: *** [/work/wd/tmp-arm/include/generated/asm-offsets.h] Error 1 arm-linux-size: '/work/wd/tmp-arm/u-boot': No such file Configuring for dvlhost board... sed: can't read /work/wd/tmp-arm/arch/arm/cpu/ixp//asm-offsets.s: No such file or directory make: *** [/work/wd/tmp-arm/include/generated/asm-offsets.h] Error 1 arm-linux-size: '/work/wd/tmp-arm/u-boot': No such file Configuring for efikamx - Board: efikamx, Options: IMX_CONFIG=board/efikamx/imximage.cfg text data bss dec hex filename 184792 4104 206516 395412 60894 /work/wd/tmp-arm/u-boot Configuring for harmony board... sed: can't read /work/wd/tmp-arm/arch/arm/cpu/armv7/tegra2/asm-offsets.s: No such file or directory make: *** [/work/wd/tmp-arm/include/generated/asm-offsets.h] Error 1 make: *** Waiting for unfinished jobs.... arm-linux-size: '/work/wd/tmp-arm/u-boot': No such file Configuring for imx27lite board... text data bss dec hex filename 242780 7812 236232 486824 76da8 /work/wd/tmp-arm/u-boot Configuring for imx31_phycore board... sed: can't read /work/wd/tmp-arm/arch/arm/cpu/arm1136/mx31/asm-offsets.s: No such file or directory make: *** [/work/wd/tmp-arm/include/generated/asm-offsets.h] Error 1 make: *** Waiting for unfinished jobs.... arm-linux-size: '/work/wd/tmp-arm/u-boot': No such file Configuring for imx31_phycore_eet board... sed: can't read /work/wd/tmp-arm/arch/arm/cpu/arm1136/mx31/asm-offsets.s: No such file or directory make: *** [/work/wd/tmp-arm/include/generated/asm-offsets.h] Error 1 arm-linux-size: '/work/wd/tmp-arm/u-boot': No such file Configuring for ixdp425 board... sed: can't read /work/wd/tmp-arm/arch/arm/cpu/ixp//asm-offsets.s: No such file or directory make: *** [/work/wd/tmp-arm/include/generated/asm-offsets.h] Error 1 arm-linux-size: '/work/wd/tmp-arm/u-boot': No such file Configuring for ixdpg425 board... sed: can't read /work/wd/tmp-arm/arch/arm/cpu/ixp//asm-offsets.s: No such file or directory make: *** [/work/wd/tmp-arm/include/generated/asm-offsets.h] Error 1 arm-linux-size: '/work/wd/tmp-arm/u-boot': No such file Configuring for jadecpu board... sed: can't read /work/wd/tmp-arm/arch/arm/cpu/arm926ejs/mb86r0x/asm-offsets.s: No such file or directory make: *** [/work/wd/tmp-arm/include/generated/asm-offsets.h] Error 1 arm-linux-size: '/work/wd/tmp-arm/u-boot': No such file ...
etc. etc.
Best regards,
Wolfgang Denk