summaryrefslogtreecommitdiffstats
path: root/src/boot/bootfiles.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/bootfiles.mk')
-rw-r--r--src/boot/bootfiles.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/boot/bootfiles.mk b/src/boot/bootfiles.mk
index d5658f63..238944d8 100644
--- a/src/boot/bootfiles.mk
+++ b/src/boot/bootfiles.mk
@@ -5,7 +5,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2016
+# Contributors Listed Below - COPYRIGHT 2016,2018
# [+] International Business Machines Corp.
#
#
@@ -22,9 +22,15 @@
# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG
-BOOTTOP-S-SOURCES = loader_l1.S
+ifdef PIBMEM_REPAIR_SCOM_P9
+BOOTTOP-S-SOURCES += pibmem_repair/scom_repair_p9/pibmem_repair.S
+endif
+ifdef PIBMEM_REPAIR_SCOM_AXONE
+BOOTTOP-S-SOURCES += pibmem_repair/scom_repair_axone/pibmem_repair.S
+endif
+BOOTTOP-S-SOURCES += loader_l1.S
-BOOT_OBJECTS += $(BOOTTOP-S-SOURCES:.S=.o)
+BOOT_OBJECTS += $(BOOTTOP-C-SOURCES:.c=.o) $(BOOTTOP-S-SOURCES:.S=.o)
BASE-LOADER-C-SOURCES = loader_l2.c
BASE-LOADER-S-SOURCES = loader_l2_setup.S
OpenPOWER on IntegriCloud