[PATCH] distclean: Remove generated .dtb files

Grant Likely grant.likely at secretlab.ca
Tue Nov 8 00:42:22 EST 2011


On Nov 6, 2011 11:25 PM, "Dirk Behme" <dirk.behme at googlemail.com> wrote:
>
> On 06.11.2011 19:42, Grant Likely wrote:
>>
>> On Sun, Nov 6, 2011 at 11:38 AM, Grant Likely<grant.likely at secretlab.ca>
 wrote:
>>>
>>> On Sat, Nov 05, 2011 at 07:19:15AM +0100, Dirk Behme wrote:
>>>>
>>>> The patch 'arm/dt: Add dtb make rule' adds support to
>>>> create a .dtb file. But this is never removed afterwards.
>>>> Remove the generated .dtb file if 'distclean' is called.
>>>>
>>>> Signed-off-by: Dirk Behme<dirk.behme at de.bosch.com>
>>>> CC: Rob Herring<rob.herring at calxeda.com>
>>>> CC: Shawn Guo<shawn.guo at freescale.com>
>>>> CC: Jason Liu<jason.hui at linaro.org>
>>>> CC: Grant Likely<grant.likely at secretlab.ca>
>>>
>>>
>>> Acked-by: Grant Likely<grant.likely at secretlab.ca>
>>
>>
>> ... although why are only the .dtb files needed in the clean list?
>> How are the other built files cleaned?  'make clean' does remove the
>> other images, but I don't know what the mechanism is.
>
>
> A lot of stuff is removed by the top level Makefile [1]. But as the patch
"arm/dt: Add dtb make rule" adds the .dtb generation to
arch/arm/boot/Makefile, we thought it would be a good place to add the
removal of that file there, too.
>
> Hmm, not sure if this answers your question, though ;)

Okay. Good enough for me.

g.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20111107/f6f8ddf1/attachment.html>


More information about the devicetree-discuss mailing list