* [U-Boot] problem building next on P2020DS_36BIT
@ 2009-12-10 19:22 Kumar Gala
2009-12-10 19:39 ` Kumar Gala
0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2009-12-10 19:22 UTC (permalink / raw)
To: u-boot
I'm seeing the following build compile error related to building the next tree on P2020DS_36BIT. What's odd is that git bisect says its related to:
commit 4b142febff71eabdb7ddbb125c7b583b24ddc434
Author: Heiko Schocher <hs@denx.de>
Date: Thu Dec 3 11:21:21 2009 +0100
common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL
...
But that seems very odd to me. The other thing is if I run 'make' again it completes.
- k
make[2]: Leaving directory `/local/home/galak/git/u-boot-85xx/disk'
make -C drivers/bios_emulator/
make[2]: Entering directory `/local/home/galak/git/u-boot-85xx/drivers/bios_emulator'
In file included from atibios.c:49:
biosemui.h:47:21: error: biosemu.h: No such file or directory
In file included from biosemu.c:50:
biosemui.h:47:21: error: biosemu.h: No such file or directory
In file included from besys.c:51:
biosemui.h:47:21: error: biosemu.h: No such file or directory
In file included from bios.c:45:
biosemui.h:47:21: error: biosemu.h: No such file or directory
x86emu/decode.c:40:28: error: x86emu/x86emui.h: No such file or directory
x86emu/ops2.c:45:28: error: x86emu/x86emui.h: No such file or directory
x86emu/ops.c:76:28: error: x86emu/x86emui.h: No such file or directory
x86emu/prim_ops.c:103:28: error: x86emu/x86emui.h: No such file or directory
x86emu/sys.c:43:28: error: x86emu/x86emui.h: No such file or directory
x86emu/debug.c:42:28: error: x86emu/x86emui.h: No such file or directory
make[2]: *** No rule to make target `/tmp/p2020-2/drivers/bios_emulator/.depend', needed by `/tmp/p2020-2/drivers/bios_emulator/libatibiosemu.a'. Stop.
make[2]: Leaving directory `/local/home/galak/git/u-boot-85xx/drivers/bios_emulator'
make[1]: *** [/tmp/p2020-2/drivers/bios_emulator/libatibiosemu.a] Error 2
make[1]: Leaving directory `/local/home/galak/git/u-boot-85xx'
make: *** [P2020DS_36BIT] Error 2
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot] problem building next on P2020DS_36BIT
2009-12-10 19:22 [U-Boot] problem building next on P2020DS_36BIT Kumar Gala
@ 2009-12-10 19:39 ` Kumar Gala
2009-12-10 20:35 ` Scott Wood
0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2009-12-10 19:39 UTC (permalink / raw)
To: u-boot
Scott,
This appears to be related to .depend generation and the patch that seems to cause the issue is:
Author: Scott Wood <scottwood@freescale.com>
Date: Wed Nov 4 18:41:41 2009 -0600
makefiles: fixes for building build tools
Currently, some of the tools instead set CC to be HOSTCC in order to re-use
some pattern rules -- but this fails when the user overrides CC on the make
command line. Also, the HOSTCFLAGS in tools/Makefile are currently not
being used because config.mk overwrites them.
It looks like for some reason we aren't getting the EXTRA_CFLAGS in drivers/bios_emulator/Makefile aren't getting picked up in the .depend generation.
- k
On Dec 10, 2009, at 1:22 PM, Kumar Gala wrote:
> I'm seeing the following build compile error related to building the next tree on P2020DS_36BIT. What's odd is that git bisect says its related to:
>
> commit 4b142febff71eabdb7ddbb125c7b583b24ddc434
> Author: Heiko Schocher <hs@denx.de>
> Date: Thu Dec 3 11:21:21 2009 +0100
>
> common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL
>
> ...
>
> But that seems very odd to me. The other thing is if I run 'make' again it completes.
>
> - k
>
> make[2]: Leaving directory `/local/home/galak/git/u-boot-85xx/disk'
> make -C drivers/bios_emulator/
> make[2]: Entering directory `/local/home/galak/git/u-boot-85xx/drivers/bios_emulator'
> In file included from atibios.c:49:
> biosemui.h:47:21: error: biosemu.h: No such file or directory
> In file included from biosemu.c:50:
> biosemui.h:47:21: error: biosemu.h: No such file or directory
> In file included from besys.c:51:
> biosemui.h:47:21: error: biosemu.h: No such file or directory
> In file included from bios.c:45:
> biosemui.h:47:21: error: biosemu.h: No such file or directory
> x86emu/decode.c:40:28: error: x86emu/x86emui.h: No such file or directory
> x86emu/ops2.c:45:28: error: x86emu/x86emui.h: No such file or directory
> x86emu/ops.c:76:28: error: x86emu/x86emui.h: No such file or directory
> x86emu/prim_ops.c:103:28: error: x86emu/x86emui.h: No such file or directory
> x86emu/sys.c:43:28: error: x86emu/x86emui.h: No such file or directory
> x86emu/debug.c:42:28: error: x86emu/x86emui.h: No such file or directory
> make[2]: *** No rule to make target `/tmp/p2020-2/drivers/bios_emulator/.depend', needed by `/tmp/p2020-2/drivers/bios_emulator/libatibiosemu.a'. Stop.
> make[2]: Leaving directory `/local/home/galak/git/u-boot-85xx/drivers/bios_emulator'
> make[1]: *** [/tmp/p2020-2/drivers/bios_emulator/libatibiosemu.a] Error 2
> make[1]: Leaving directory `/local/home/galak/git/u-boot-85xx'
> make: *** [P2020DS_36BIT] Error 2
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot] problem building next on P2020DS_36BIT
2009-12-10 19:39 ` Kumar Gala
@ 2009-12-10 20:35 ` Scott Wood
0 siblings, 0 replies; 3+ messages in thread
From: Scott Wood @ 2009-12-10 20:35 UTC (permalink / raw)
To: u-boot
Kumar Gala wrote:
> Scott,
>
> This appears to be related to .depend generation and the patch that seems to cause the issue is:
>
> Author: Scott Wood <scottwood@freescale.com>
> Date: Wed Nov 4 18:41:41 2009 -0600
>
> makefiles: fixes for building build tools
>
> Currently, some of the tools instead set CC to be HOSTCC in order to re-use
> some pattern rules -- but this fails when the user overrides CC on the make
> command line. Also, the HOSTCFLAGS in tools/Makefile are currently not
> being used because config.mk overwrites them.
>
> It looks like for some reason we aren't getting the EXTRA_CFLAGS in drivers/bios_emulator/Makefile aren't getting picked up in the .depend generation.
EXTRA_CFLAGS is not part of the u-boot build system. CFLAGS is, but it
is not used in dependency generation.
Prior to that change, HOSTCFLAGS was being used inappropriately in
generating target dependencies. If you change the HOSTCFLAGS reference
in drivers/bios_emulator/Makefile to CPPFLAGS, it works.
Unfortunately, that makefile still has to update CFLAGS as well, because
it's too late at that point for changes to CPPFLAGS to propagate to CFLAGS.
-Scott
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-10 20:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-10 19:22 [U-Boot] problem building next on P2020DS_36BIT Kumar Gala
2009-12-10 19:39 ` Kumar Gala
2009-12-10 20:35 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox