
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