From a4771e5452ab712be541730fb50fbcea0f807cd3 Mon Sep 17 00:00:00 2001 From: Shakeeb Date: Wed, 28 Sep 2016 02:10:32 -0500 Subject: Move OTPROM disassembly files in images directory Change-Id: I4937cfc80d8dbf3aead69ac686b93e39c7ebec26 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30394 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Sachin Gupta --- src/boot/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/boot') 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 -- cgit v1.2.1