diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-11-30 00:53:11 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 04:42:01 -0500 |
commit | 4eab0e65bd3c9d3065f54e7477fec79c5e939ed6 (patch) | |
tree | 8baf124754e4de9adaecb7bbe4708586eb6f538a | |
parent | 0470466dbafd1db0815bb884d26a6be431e19f96 (diff) |
[POWERPC] iSeries: stop dt_mod.o being rebuilt unnecessarily
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/platforms/iseries/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/iseries/Makefile b/arch/powerpc/platforms/iseries/Makefile index dee4eb4d8bec..13ac3015d91c 100644 --- a/arch/powerpc/platforms/iseries/Makefile +++ b/arch/powerpc/platforms/iseries/Makefile | |||
@@ -1,5 +1,7 @@ | |||
1 | EXTRA_CFLAGS += -mno-minimal-toc | 1 | EXTRA_CFLAGS += -mno-minimal-toc |
2 | 2 | ||
3 | extra-y += dt.o | ||
4 | |||
3 | obj-y += hvlog.o hvlpconfig.o lpardata.o setup.o dt_mod.o mf.o lpevents.o \ | 5 | obj-y += hvlog.o hvlpconfig.o lpardata.o setup.o dt_mod.o mf.o lpevents.o \ |
4 | hvcall.o proc.o htab.o iommu.o misc.o irq.o | 6 | hvcall.o proc.o htab.o iommu.o misc.o irq.o |
5 | obj-$(CONFIG_PCI) += pci.o vpdinfo.o | 7 | obj-$(CONFIG_PCI) += pci.o vpdinfo.o |
@@ -7,5 +9,9 @@ obj-$(CONFIG_SMP) += smp.o | |||
7 | obj-$(CONFIG_VIOPATH) += viopath.o | 9 | obj-$(CONFIG_VIOPATH) += viopath.o |
8 | obj-$(CONFIG_MODULES) += ksyms.o | 10 | obj-$(CONFIG_MODULES) += ksyms.o |
9 | 11 | ||
12 | quiet_cmd_dt_strings = DT_STR $@ | ||
13 | cmd_dt_strings = $(OBJCOPY) --rename-section .rodata.str1.8=.dt_strings \ | ||
14 | $< $@ | ||
15 | |||
10 | $(obj)/dt_mod.o: $(obj)/dt.o | 16 | $(obj)/dt_mod.o: $(obj)/dt.o |
11 | @$(OBJCOPY) --rename-section .rodata.str1.8=.dt_strings $(obj)/dt.o $(obj)/dt_mod.o | 17 | $(call if_changed,dt_strings) |