[U-Boot] [PATCH] kbuild,tegra124: add dummy obj- for Kbuild

Tom Rini trini at ti.com
Wed Feb 19 21:51:03 CET 2014


On Wed, Feb 19, 2014 at 10:26:43PM +0900, Masahiro Yamada wrote:

> In Kbuild, every makefile must have non-empty obj- or obj-y.
> Otherwise, built-in.o will not be created and the link stage
> will fail.
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
> 
> Tom,
> Please apply this along with the Kbuild series.

So with this, I then get:
Configuring for venice2 board...
make[2]: *** [arch/arm/dts/tegra124-venice2.dtb] Error 1
make[1]: *** [dts/dt.dtb] Error 2
make: *** [sub-make] Error 2
   text    data     bss     dec     hex filename
 260562   15030  309960  585552   8ef50 venice2/u-boot
  18527     421      72   19020    4a4c venice2/spl/u-boot-spl

Device Tree Source is not correctly specified.
Please define 'CONFIG_DEFAULT_DEVICE_TREE'
or build with 'DEVICE_TREE=<device_tree>' argument

make[2]: *** [arch/arm/dts/tegra124-venice2.dtb] Error 1
make[1]: *** [dts/dt.dtb] Error 2
make: *** [sub-make] Error 2

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with errors: 1 ( venice2 )
----------------------------------------------------------

What's going on as the config file sets CONFIG_DEFAULT_DEVICE_TREE

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140219/bc94f6e4/attachment.pgp>


More information about the U-Boot mailing list