diff options
author | Marty Gloff <mgloff@us.ibm.com> | 2015-12-17 10:10:47 -0600 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-02-19 17:06:42 -0600 |
commit | b742fd9b5b3c07129abfa3c099655346f6b1e6a6 (patch) | |
tree | f3e3bd027ac048911296cd75b66e06efa0ea2519 /src/build/mkrules/images.rules.mk | |
parent | 6b3144d3d653cfb3d14cb74598b003cc7c653c73 (diff) | |
download | talos-hostboot-b742fd9b5b3c07129abfa3c099655346f6b1e6a6.tar.gz talos-hostboot-b742fd9b5b3c07129abfa3c099655346f6b1e6a6.zip |
Hostboot Bootloader Infrastructure
New and changed code to provide bootloader infrastructure.
Changes to build bootloader and create the image file.
Change-Id: Ie400f0ca6954b86e275fd68c9462f8d18eeec98a
RTC:127211
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22856
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/mkrules/images.rules.mk')
-rw-r--r-- | src/build/mkrules/images.rules.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/build/mkrules/images.rules.mk b/src/build/mkrules/images.rules.mk index d486baa4d..92722dba2 100644 --- a/src/build/mkrules/images.rules.mk +++ b/src/build/mkrules/images.rules.mk @@ -5,7 +5,7 @@ # # OpenPOWER HostBoot Project # -# Contributors Listed Below - COPYRIGHT 2013,2014 +# Contributors Listed Below - COPYRIGHT 2013,2016 # [+] International Business Machines Corp. # # @@ -37,11 +37,12 @@ CLEAN_TARGETS += $(addsuffix .lnkout.bz2, $(addprefix $(IMGDIR)/., $(IMGS))) define ELF_template $$(IMGDIR)/$(1).elf: $$(addprefix $$(OBJDIR)/, $$($(1)_OBJECTS)) \ - $$(ROOTPATH)/src/kernel.ld + $$(ROOTPATH)/src/$$($(1)_LDFILE) $$(C2) " LD $$(notdir $$@)" $$(C1)$$(LD) -static $$(LDFLAGS) $$($$*_LDFLAGS) \ $$(addprefix $$(OBJDIR)/, $$($(1)_OBJECTS)) \ - $$($(1)_LDFLAGS) -T $$(ROOTPATH)/src/kernel.ld -o $$@ + $$($(1)_LDFLAGS) -T $$(ROOTPATH)/src/$$($(1)_LDFILE) \ + -o $$@ endef $(foreach img,$(IMGS),$(eval $(call ELF_template,$(img)))) |