linux/arch/metag
James Hogan 0b4184c26b metag: avoid unnecessary builtin dtb rebuilds
The builtin .dtb.S intermediate file needs to be marked with .SECONDARY
so that it isn't automatically deleted (which causes it to be
regenerated on every build). Also add *.dtb.S to clean-files so it gets
cleaned up by make clean.

Similarly, if the specified builtin dtb isn't already in dtb-y (e.g.
imported into the tree and specified in CONFIG_METAG_BUILTIN_DTB_NAME)
it too will be treated as an intermediate and deleted automatically
(again causing it to be regenerated on every build), so add it to dtb-y
so it gets added to targets and the dtbs target.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
2013-04-22 11:23:20 +01:00
..
boot metag: avoid unnecessary builtin dtb rebuilds 2013-04-22 11:23:20 +01:00
configs ImgTec Meta architecture changes for v3.9-rc1 2013-03-03 12:06:09 -08:00
include metag: add exported <asm/ech.h> for extended context handling 2013-03-27 14:37:53 +00:00
kernel metag: export _metag_da_present and cpu_2_hwthread_id 2013-03-27 14:37:52 +00:00
lib metag: move usercopy.c exports out of metag_ksyms.c 2013-03-02 20:11:15 +00:00
mm memblock: Kill ARCH_POPULATES_NODE_MAP once more 2013-03-20 13:07:58 +00:00
oprofile metag: OProfile support 2013-03-15 13:21:05 +00:00
tbx metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Kconfig metag: OProfile support 2013-03-15 13:21:05 +00:00
Kconfig.debug metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Kconfig.soc metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Makefile metag: OProfile support 2013-03-15 13:21:05 +00:00