summaryrefslogtreecommitdiffstats
path: root/sbe/image
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2016-02-12 05:06:52 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2016-02-14 22:37:27 -0600
commit34c9bd72afe03e36b04a2d965cfeff4cb34066f7 (patch)
tree357ba86f1abda578d0bac660e378338551a473d1 /sbe/image
parentc43b86bd51f6f2fc090401b38baf16c0828ec627 (diff)
downloadtalos-sbe-34c9bd72afe03e36b04a2d965cfeff4cb34066f7.tar.gz
talos-sbe-34c9bd72afe03e36b04a2d965cfeff4cb34066f7.zip
Added sbe_main.bin support back
Simics does not pick the new filenames even if we change simicsInfo file. Till the time simics chnages are not in driver, we have to use old names for our testing Change-Id: I41a83850d636164172a005fb0b746953030442eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24252 Tested-by: Jenkins Server Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'sbe/image')
-rw-r--r--sbe/image/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbe/image/Makefile b/sbe/image/Makefile
index 900246aa..248af833 100644
--- a/sbe/image/Makefile
+++ b/sbe/image/Makefile
@@ -146,10 +146,16 @@ $(OBJDIR)/$(IMAGE_SBE_NAME).bin $(OBJDIR)/$(IMAGE_SBE_NAME).dis: $(OBJDIR)/$(IMA
$(OBJCOPY) -O binary $< $(OBJDIR)/$(IMAGE_SBE_NAME).bin --pad-to 0x`/usr/bin/nm $(OBJDIR)/$(IMAGE_SBE_NAME).out | grep "A _sbe_end" | cut -d " " -f 1`
$(OBJDUMP) -S $< > $(OBJDIR)/$(IMAGE_SBE_NAME).dis
$(NM) $< > $(OBJDIR)/$(IMAGE_SBE_NAME).syms
+ # TODO via SW333946
+ # Remove this once we have simics support for new file names.
+ cp $(OBJDIR)/$(IMAGE_SBE_NAME).bin $(OBJDIR)/sbe_main.bin
# create a linked ELF executable
$(OBJDIR)/$(IMAGE_SBE_NAME).out: pibMemAttrSet buildInfo $(OBJDIR)/base_sbe_fixed.o $(LINK_OBJS) $(LINK_SCRIPT_SBE)
$(LD) -e __system_reset -T$(LINK_SCRIPT_SBE) -Map $(OBJDIR)/$(IMAGE_SBE_NAME).map -Bstatic -o $(OBJDIR)/$(IMAGE_SBE_NAME).out $(LIB_DIRS) $(OBJDIR)/base_sbe_fixed.o --start-group $(LLIBS) --end-group
+ # TODO via SW333946
+ # Remove this once we have simics support for new file names.
+ cp $(OBJDIR)/$(IMAGE_SBE_NAME).out $(OBJDIR)/sbe_main.out
# pass the link command file through the C preprocessor to evaluate macros and remove comments
$(LINK_SCRIPT_SBE): linksbe.cmd
OpenPOWER on IntegriCloud