blob: cc7161ff166665ea120614c846f8ecd8082a6069 [file] [log] [blame]
Stephen Rothwell3a5f8c52005-10-11 19:40:20 +10001EXTRA_CFLAGS += -mno-minimal-toc
2
Stephen Rothwell4eab0e62006-11-30 16:53:11 +11003extra-y += dt.o
4
Stephen Rothwellfc68e862007-08-22 13:44:58 +10005obj-y += exception.o
Stephen Rothwellc4e3ea22006-05-19 17:04:48 +10006obj-y += hvlog.o hvlpconfig.o lpardata.o setup.o dt_mod.o mf.o lpevents.o \
Stephen Rothwellee2cdec2006-01-12 13:54:20 +11007 hvcall.o proc.o htab.o iommu.o misc.o irq.o
Stephen Rothwell1dee2022007-12-07 16:10:22 +11008obj-$(CONFIG_PCI) += pci.o
Stephen Rothwellb6b86812005-09-28 03:07:14 +10009obj-$(CONFIG_SMP) += smp.o
Stephen Rothwellb833b482007-10-11 14:57:26 +100010obj-$(CONFIG_VIOPATH) += viopath.o vio.o
Stephen Rothwellc111d0b2005-09-28 13:28:01 +100011obj-$(CONFIG_MODULES) += ksyms.o
Stephen Rothwellc4e3ea22006-05-19 17:04:48 +100012
Stephen Rothwell4eab0e62006-11-30 16:53:11 +110013quiet_cmd_dt_strings = DT_STR $@
14 cmd_dt_strings = $(OBJCOPY) --rename-section .rodata.str1.8=.dt_strings \
15 $< $@
16
Stephen Rothwellc4e3ea22006-05-19 17:04:48 +100017$(obj)/dt_mod.o: $(obj)/dt.o
Stephen Rothwell4eab0e62006-11-30 16:53:11 +110018 $(call if_changed,dt_strings)