summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authordgilbert <dgilbert@us.ibm.com>2011-07-11 12:05:09 -0500
committerDouglas R. Gilbert <dgilbert@us.ibm.com>2011-07-15 09:58:02 -0500
commit1291feb17fa04747795bf5cff72599fa3733d45f (patch)
tree9e6ae90799074a882fa2e5ec2d52bd1520a7a6a8 /config.mk
parent353cc0391b0982b936fe0437fbaa0439f775a6dd (diff)
downloadtalos-hostboot-1291feb17fa04747795bf5cff72599fa3733d45f.tar.gz
talos-hostboot-1291feb17fa04747795bf5cff72599fa3733d45f.zip
Linker support for extended image
Change-Id: I21acf1b870667aa3aa2617837bead3a1697db7c1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/194 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 7e24a3b3f..1bf95f05b 100644
--- a/config.mk
+++ b/config.mk
@@ -150,8 +150,10 @@ $(foreach img,$(IMGS),$(eval $(call ELF_template,$(img))))
${IMGDIR}/%.bin ${IMGDIR}/%.list ${IMGDIR}/%.syms: ${IMGDIR}/%.elf \
$(wildcard ${IMGDIR}/*.so) ${CUSTOM_LINKER_EXE}
${CUSTOM_LINKER} $@ $< \
- $(addprefix ${IMGDIR}/lib, $(addsuffix .so, \
- $($*_MODULES))) > ${IMGDIR}/.$*.lnkout
+ $(addprefix ${IMGDIR}/lib, $(addsuffix .so, $($*_MODULES))) \
+ --extended=0x40000 ${IMGDIR}/$*_extended.bin \
+ $(addprefix ${IMGDIR}/lib, $(addsuffix .so, $($*_EXTENDED_MODULES))) \
+ > ${IMGDIR}/.$*.lnkout
${ROOTPATH}/src/build/tools/addimgid $@ $<
(cd ${ROOTPATH}; \
src/build/tools/gensyms $*.bin > ./img/$*.syms ; \
OpenPOWER on IntegriCloud