[U-Boot] Out-of-tree build of API code fails

Dear Rafal,
it seems the api_examples/ code fails when building out of tree:
-> make O=/work/wd/tmp-ppc PMC440_config Configuring for PMC440 board... -> make O=/work/wd/tmp-ppc all Generating /work/wd/tmp-ppc/include/autoconf.mk.dep Generating /work/wd/tmp-ppc/include/autoconf.mk for dir in tools examples api_examples ; do make -C $dir _depend ; done make[1]: Entering directory `/home/wd/git/u-boot/work/tools' ln -s /home/wd/git/u-boot/work/tools/../common/env_embedded.c /work/wd/tmp-ppc/tools/env_embedded.c ln -s /home/wd/git/u-boot/work/tools/../include/zlib.h /work/wd/tmp-ppc/tools/zlib.h ln -s /home/wd/git/u-boot/work/tools/../lib_generic/crc32.c /work/wd/tmp-ppc/tools/crc32.c ln -s /home/wd/git/u-boot/work/tools/../lib_generic/md5.c /work/wd/tmp-ppc/tools/md5.c ln -s /home/wd/git/u-boot/work/tools/../lib_generic/sha1.c /work/wd/tmp-ppc/tools/sha1.c ln -s /home/wd/git/u-boot/work/tools/../common/image.c /work/wd/tmp-ppc/tools/image.c if [ ! -f /work/wd/tmp-ppc/tools/mkimage.h ] ; then \ ln -s /home/wd/git/u-boot/work/tools/../tools/mkimage.h /work/wd/tmp-ppc/tools/mkimage.h; \ fi if [ ! -f /work/wd/tmp-ppc/tools/fdt_host.h ] ; then \ ln -s /home/wd/git/u-boot/work/tools/../tools/fdt_host.h /work/wd/tmp-ppc/tools/fdt_host.h; \ fi make[1]: Leaving directory `/home/wd/git/u-boot/work/tools' make[1]: Entering directory `/home/wd/git/u-boot/work/tools' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/home/wd/git/u-boot/work/tools' make[1]: Entering directory `/home/wd/git/u-boot/work/examples' make[1]: Leaving directory `/home/wd/git/u-boot/work/examples' make[1]: Entering directory `/home/wd/git/u-boot/work/examples' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/home/wd/git/u-boot/work/examples' make[1]: Entering directory `/home/wd/git/u-boot/work/api_examples' make[1]: *** No rule to make target `/work/wd/tmp-ppc/api_examples/.depend', needed by `_depend'. Stop. make[1]: Leaving directory `/home/wd/git/u-boot/work/api_examples' make: *** [depend] Error 2
Could you please have a look? Thanks in advance.
Best regards,
Wolfgang Denk

Dear Rafal Jaworowski,
In message 0AD43A8E-402B-41F0-BAB1-E6D7F7537B41@semihalf.com you wrote:
Dear Wolfgang,
On 2009-03-29, at 00:03, Wolfgang Denk wrote:
Dear Rafal,
it seems the api_examples/ code fails when building out of tree:
...
Could you please have a look? Thanks in advance.
Sure, I'll take a look.
Did your 'having a look' result in any results, like a patch that fixes the problem?
We're slowly but surely approaching the next release and I would like to see this fixed...
Thanks in advance.
Best regards,
Wolfgang Denk

On 2009-05-15, at 23:19, Wolfgang Denk wrote:
In message 0AD43A8E-402B-41F0-BAB1-E6D7F7537B41@semihalf.com you wrote:
Dear Wolfgang,
On 2009-03-29, at 00:03, Wolfgang Denk wrote:
Dear Rafal,
it seems the api_examples/ code fails when building out of tree:
...
Could you please have a look? Thanks in advance.
Sure, I'll take a look.
Did your 'having a look' result in any results, like a patch that fixes the problem?
At the time I looked at this the main line build was broken due to other issues, so I need to see to it again.
kind regards, Rafal

Dear Rafal,
in message 63279FF4-75BF-44E5-914E-213C2BF41DFD@semihalf.com you wrote:
it seems the api_examples/ code fails when building out of tree:
...
Could you please have a look? Thanks in advance.
Sure, I'll take a look.
Did your 'having a look' result in any results, like a patch that fixes the problem?
At the time I looked at this the main line build was broken due to other issues, so I need to see to it again.
This is still broken (and I don'e see any related main line build that is broken), so could you *please* have a look again?
Thanks in advance.
Best regards,
Wolfgang Denk

Dear Wolfgang,
On 2009-06-14, at 21:29, Wolfgang Denk wrote:
in message 63279FF4-75BF-44E5-914E-213C2BF41DFD@semihalf.com you wrote:
it seems the api_examples/ code fails when building out of tree:
...
Could you please have a look? Thanks in advance.
Sure, I'll take a look.
Did your 'having a look' result in any results, like a patch that fixes the problem?
At the time I looked at this the main line build was broken due to other issues, so I need to see to it again.
This is still broken (and I don'e see any related main line build that is broken), so could you *please* have a look again?
I was actually working on this on Sat, but it seems like something obscure and I could not find the cause of the problem so far. I don't have much time right now to look into it any deeper though, so it has to wait, sorry (unless someone else can try to fix it).
kind regards, Rafal
participants (2)
-
Rafal Jaworowski
-
Wolfgang Denk