linux/arch/arc
Vineet Gupta a89516b31c ARC: [kbuild] Avoid DTB rebuilds if DTS are untouched
Currently, for every ARC kernel build I see the following:

--------------->8-----------------
  DTB    arch/arc/boot/dts/angel4.dtb.S
  AS      arch/arc/boot/dts/angel4.dtb.o
  LD      arch/arc/boot/dts/built-in.o
rm arch/arc/boot/dts/angel4.dtb.S        <-- forces rebuild next iter
  CHK     kernel/config_data.h
--------------->8-----------------

This is because *.dts.S is intermediate file in dtb generation and is by
default deleted by make which needs a ".SECONDARY" hint to NOT do so.

This could have ideally been done in scripts/Makefile.lib - for benefit
of all, however .SECONDARY doesn't seem to work with wildcards.

Thanks to Stephen for suggesting .SECONDARY (vs .PRECIOUS) and making
that work using a non wildcard version in arch makefile.

Thanks to James Hogan for pointing out that *.dtb.S now needs to be
added to clean-files

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2013-04-17 18:19:14 +05:30
..
boot ARC: [kbuild] Avoid DTB rebuilds if DTS are untouched 2013-04-17 18:19:14 +05:30
configs ARC: [plat-arcfpga] defconfig for fully loaded ARC Linux 2013-02-15 23:16:17 +05:30
include ARC: Add implicit compiler barrier to raw_local_irq* functions 2013-04-08 16:10:26 -07:00
kernel ARC: [build] Fix warnings with CONFIG_DEBUG_SECTION_MISMATCH 2013-04-09 17:27:00 +05:30
lib ARC: String library 2013-02-11 20:00:35 +05:30
mm ARC: [build] Fix warnings with CONFIG_DEBUG_SECTION_MISMATCH 2013-04-09 17:27:00 +05:30
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-arcfpga ARC: [Review] Multi-platform image #8: platform registers SMP callbacks 2013-02-15 23:16:17 +05:30
Kbuild ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
Kconfig ARC: [kbuild] Include Kconfig.binfmt 2013-04-09 17:27:01 +05:30
Kconfig.debug ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
Makefile ARC: [build] Allow uncompressed uImage 2013-04-09 12:21:15 +05:30