forked from luck/tmp_suning_uos_patched
c4e3ea2553
First we capture all the strings from dt.c statically by noting that gcc puts them in a special section of their own. Idea from Michael Ellerman. Then we move the flattened device tree to klimit. Still to come, making the values blob grow as needed. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
12 lines
402 B
Makefile
12 lines
402 B
Makefile
EXTRA_CFLAGS += -mno-minimal-toc
|
|
|
|
obj-y += hvlog.o hvlpconfig.o lpardata.o setup.o dt_mod.o mf.o lpevents.o \
|
|
hvcall.o proc.o htab.o iommu.o misc.o irq.o
|
|
obj-$(CONFIG_PCI) += pci.o vpdinfo.o
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
obj-$(CONFIG_VIOPATH) += viopath.o
|
|
obj-$(CONFIG_MODULES) += ksyms.o
|
|
|
|
$(obj)/dt_mod.o: $(obj)/dt.o
|
|
@$(OBJCOPY) --rename-section .rodata.str1.8=.dt_strings $(obj)/dt.o $(obj)/dt_mod.o
|