summaryrefslogtreecommitdiffstats
path: root/src/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/Makefile')
-rw-r--r--src/boot/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/boot/Makefile b/src/boot/Makefile
index cc6666c9..c1d1b808 100644
--- a/src/boot/Makefile
+++ b/src/boot/Makefile
@@ -5,7 +5,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2016,2017
+# Contributors Listed Below - COPYRIGHT 2016,2018
# [+] International Business Machines Corp.
#
#
@@ -30,7 +30,6 @@ include bootfiles.mk
INCLUDES += -I$(BUILD_DIR)
OBJS := $(addprefix $(OBJDIR)/, $(BOOT_OBJECTS))
-BOOTOBJS += $(OBJS)
LINK_SCRIPT_LOADER = $(addprefix $(OBJDIR)/, linkscriptloader)
LINK_SCRIPT_OTPROM = $(addprefix $(OBJDIR)/, linkscriptotprom)
@@ -71,8 +70,16 @@ $(IMG_DIR)/$(IMAGE_LOADER_NAME).out: $(LOADER_OBJS) $(LINK_SCRIPT_LOADER)
$(LINK_SCRIPT_LOADER): $(LINKER_DIR)/linkloader.cmd
$(CPP) -I$(INCLUDES) -E -x c++ -P $(DEFS) $(LINKER_DIR)/linkloader.cmd -o $(LINK_SCRIPT_LOADER)
+ifdef PIBMEM_REPAIR_SCOM_P9
+PIBMEM_REPAIR_OBJDIR = $(OBJDIR)/pibmem_repair/scom_repair_p9
+endif
+ifdef PIBMEM_REPAIR_SCOM_AXONE
+PIBMEM_REPAIR_OBJDIR = $(OBJDIR)/pibmem_repair/scom_repair_axone
+endif
+
$(OBJDIR):
mkdir -p $(OBJDIR)
+ mkdir -p $(PIBMEM_REPAIR_OBJDIR)
.PHONY: clean all
@@ -83,5 +90,3 @@ clean:
ifneq ($(MAKECMDGOALS),clean)
include $(OBJS:.o=.d)
endif
-
-
OpenPOWER on IntegriCloud