[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <516E67B2.20509@imgtec.com>
Date: Wed, 17 Apr 2013 10:13:22 +0100
From: James Hogan <james.hogan@...tec.com>
To: Vineet Gupta <Vineet.Gupta1@...opsys.com>
CC: Stephen Warren <swarren@...dotorg.org>,
"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Michal Marek <mmarek@...e.cz>,
Stephen Warren <swarren@...dia.com>,
Grant Likely <grant.likely@...retlab.ca>,
<linux-kbuild@...r.kernel.org>, Sam Ravnborg <sam@...nborg.org>
Subject: Re: [PATCH] Kbuild: Avoid DTB rebuilds if source files are untouched
On 17/04/13 05:13, Vineet Gupta wrote:
> Hi James,
>
> On 04/16/2013 09:23 PM, James Hogan wrote:
>> On 12/04/13 22:52, Stephen Warren wrote:
>>> +.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
>> Note, this may not work if you're using CONFIG_ARC_BUILTIN_DTB_NAME,
>> since it'll have quotes around it, so you may instead need:
>> .SECONDARY: $(obj)/$(patsubst "%",%,$(builtindtb-y)).dtb.S
>>
>> (at least that's what's required for the metag equivalent)
>>
>>> +
>>> dtbs: $(addprefix $(obj)/, $(builtindtb-y).dtb)
>> You might find the same thing here too.
>
> Actually in my Makefile, the quotes are stripped off in the very beginning to
> avoid duplicating it in every place.
>
> ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"")
> builtindtb-y := $(patsubst "%",%,$(CONFIG_ARC_BUILTIN_DTB_NAME))
> endif
Ah yes, I didn't notice that difference. I'll do the same thing for
metag (it only had 1 reference to it before).
Thanks
James
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists