summaryrefslogtreecommitdiffstats
path: root/src/build/Makefile
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2017-12-06 05:19:18 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2018-01-04 04:16:27 -0500
commit71ffbf448c4e7b57fafeb334afa27347f5620cfc (patch)
treebbc161a29f16087204af5366b179a7a76e03140a /src/build/Makefile
parent1c7f2eb205f464ac09f11afbd35002ab78b43c62 (diff)
downloadtalos-sbe-71ffbf448c4e7b57fafeb334afa27347f5620cfc.tar.gz
talos-sbe-71ffbf448c4e7b57fafeb334afa27347f5620cfc.zip
[SBE-code-re-org][4] Adding app common makefiles
Addition of app/common directory and associated makefiles Change-Id: I9cd107965b5712ee03b32d3939828281a6cadf83 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50569 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/build/Makefile')
-rw-r--r--src/build/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/build/Makefile b/src/build/Makefile
index 36a773c2..a1215378 100644
--- a/src/build/Makefile
+++ b/src/build/Makefile
@@ -56,6 +56,15 @@ LIB_DIRS += -L$(OBJDIR)/sbefw/app/power_seeprom
SBECORESEEPROMLIB := $(OBJDIR)/sbefw/app/power_seeprom/libsbeapppowerseeprom.a
LLIBS += -lsbeapppowerseeprom
+SUBDIRS += ../sbefw/app/common
+LIB_DIRS += -L$(OBJDIR)/sbefw/app/common_pibmem
+SBEAPPLIB := $(OBJDIR)/sbefw/app/common_pibmem/libsbeappcommonpibmem.a
+LLIBS += -lsbeappcommonpibmem
+
+LIB_DIRS += -L$(OBJDIR)/sbefw/app/common_seeprom
+SBECORESEEPROMLIB := $(OBJDIR)/sbefw/app/common_seeprom/libsbeappcommonseeprom.a
+LLIBS += -lsbeappcommonseeprom
+
# FAPI2 library
SUBDIRS += $(PLAT_FAPI2_DIR)
LIB_DIRS += -L$(OBJDIR)/fapi2
@@ -274,6 +283,7 @@ $(SUBDIRS):
_sbecore_seeprom:
$(MAKE) -I $(INCLUDES) -C ../sbefw/core -f Makefile img_mem=seeprom
_sbeapp_seeprom:
+ $(MAKE) -I $(INCLUDES) -C ../sbefw/app/common -f Makefile img_mem=seeprom
$(MAKE) -I $(INCLUDES) -C ../sbefw/app/power -f Makefile img_mem=seeprom
OpenPOWER on IntegriCloud