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

Stephen Warren
2014-02-20T16:15:21Z

On 02/20/2014 01:24 AM, Masahiro Yamada wrote:
> Hello Stephen,
>
>
> On Wed, 19 Feb 2014 09:36:14 -0700
> Stephen Warren <swarren@wwwdotorg.org> wrote:
>
>> On 02/19/2014 07:46 AM, Albert ARIBAUD wrote:
>>> Hi Masahiro,
>>>
>>> On Wed, 19 Feb 2014 22:26:43 +0900, Masahiro Yamada
>>> <yamada.m@jp.panasonic.com> 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.
>> ...
>>>> diff --git a/arch/arm/cpu/armv7/tegra124/Makefile b/arch/arm/cpu/armv7/tegra124/Makefile
>> ...
>>>> +# necessary to create built-in.o
>>>> +obj- := __dummy__.o
>>
>> obj- or obj-y?
>
> Definitely obj-.

Really? Why would such a variable even exist or be used. Only obj-n or
obj-y should exist; "" isn't a valid y/n value.