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

Wolfgang Denk wd at denx.de
Sun Mar 29 00:03:54 CET 2009


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

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A Puritan is someone who is deathly afraid that  someone,  somewhere,
is having fun.


More information about the U-Boot mailing list