summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShakeeb <shakeebbk@in.ibm.com>2016-09-28 02:10:32 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2016-10-03 06:56:04 -0400
commita4771e5452ab712be541730fb50fbcea0f807cd3 (patch)
treed5acc2d3155d6ca6531f1a1e233eccfe5b0888bf /src
parentf7da280498b9600185a47316ffbb59bea7e114c0 (diff)
downloadtalos-sbe-a4771e5452ab712be541730fb50fbcea0f807cd3.tar.gz
talos-sbe-a4771e5452ab712be541730fb50fbcea0f807cd3.zip
Move OTPROM disassembly files in images directory
Change-Id: I4937cfc80d8dbf3aead69ac686b93e39c7ebec26 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30394 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/boot/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/boot/Makefile b/src/boot/Makefile
index 38cb449b..1189108a 100644
--- a/src/boot/Makefile
+++ b/src/boot/Makefile
@@ -44,13 +44,13 @@ LOADER_OBJS := $(addprefix $(OBJDIR)/, $(BASE_LOADER_OBJECTS))
#Otprom Loader Objects
OTPROM_LOADER_OBJS := $(addprefix $(OBJDIR)/, $(OTPROM_LOADER_OBJECTS))
# ---- Otprom Image ------
-$(IMG_DIR)/$(IMAGE_OTPROM_NAME).bin $(OBJDIR)/$(IMAGE_OTPROM_NAME).dis: $(OBJDIR)/$(IMAGE_OTPROM_NAME).out
- $(OBJCOPY) -O binary $< $(IMG_DIR)/$(IMAGE_OTPROM_NAME).bin `/usr/bin/nm $(OBJDIR)/$(IMAGE_OTPROM_NAME).out | grep "A _loader_end" | cut -d " " -f 1`
- $(OBJDUMP) -S $< > $(OBJDIR)/$(IMAGE_OTPROM_NAME).dis
+$(IMG_DIR)/$(IMAGE_OTPROM_NAME).bin $(IMG_DIR)/$(IMAGE_OTPROM_NAME).dis: $(IMG_DIR)/$(IMAGE_OTPROM_NAME).out
+ $(OBJCOPY) -O binary $< $(IMG_DIR)/$(IMAGE_OTPROM_NAME).bin `/usr/bin/nm $(IMG_DIR)/$(IMAGE_OTPROM_NAME).out | grep "A _loader_end" | cut -d " " -f 1`
+ $(OBJDUMP) -S $< > $(IMG_DIR)/$(IMAGE_OTPROM_NAME).dis
#create a linked ELF executable
-$(OBJDIR)/$(IMAGE_OTPROM_NAME).out: $(OTPROM_LOADER_OBJS) $(LINK_SCRIPT_OTPROM)
- $(LD) -e l2_loader -T$(LINK_SCRIPT_OTPROM) -Map $(OBJDIR)/$(IMAGE_OTPROM_NAME).map -Bstatic -o $(OBJDIR)/$(IMAGE_OTPROM_NAME).out $(OTPROM_LOADER_OBJS)
+$(IMG_DIR)/$(IMAGE_OTPROM_NAME).out: $(OTPROM_LOADER_OBJS) $(LINK_SCRIPT_OTPROM)
+ $(LD) -e l2_loader -T$(LINK_SCRIPT_OTPROM) -Map $(IMG_DIR)/$(IMAGE_OTPROM_NAME).map -Bstatic -o $(IMG_DIR)/$(IMAGE_OTPROM_NAME).out $(OTPROM_LOADER_OBJS)
# pass the link command file through the C preprocessor to evaluate macros
# and remove comments
OpenPOWER on IntegriCloud