summaryrefslogtreecommitdiffstats
path: root/src/build/img_defs.mk
diff options
context:
space:
mode:
authorShakeeb <shakeebbk@in.ibm.com>2016-08-31 15:15:19 -0500
committerAMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>2016-09-01 07:07:29 -0400
commit1008ef70a71fcfdec398ff30923d5025991c85f4 (patch)
treeb22fc2a7cf2c8414ca20dfc7489a7f6d1a145878 /src/build/img_defs.mk
parent28cb5c42ddba0cb9d2a86f43785c60499170ef2f (diff)
downloadtalos-sbe-1008ef70a71fcfdec398ff30923d5025991c85f4.tar.gz
talos-sbe-1008ef70a71fcfdec398ff30923d5025991c85f4.zip
SBE code restructure: cleanup
Change-Id: I354cc79ba25b843fdb1a7524a19b8d0c41bd9051 RTC:159709 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29060 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'src/build/img_defs.mk')
-rw-r--r--src/build/img_defs.mk20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/build/img_defs.mk b/src/build/img_defs.mk
index 8d7b4184..b14ca419 100644
--- a/src/build/img_defs.mk
+++ b/src/build/img_defs.mk
@@ -83,6 +83,10 @@ ifndef BUILD_DIR
export BUILD_DIR = $(SBE_SRC_DIR)/build
endif
+ifndef BUILDDATA_SRCDIR
+export BUILDDATA_SRCDIR = $(BUILD_DIR)/utils
+endif
+
ifndef LINKER_DIR
export LINKER_DIR = $(BUILD_DIR)/linkerscripts
endif
@@ -100,7 +104,7 @@ export TOOLS_SRCDIR = $(SBE_SRC_DIR)/tools
endif
ifndef TEST_SRCDIR
-export TEST_SRCDIR = $(SBE_SRC_DIR)/test
+export TEST_SRCDIR = $(SBE_SRC_DIR)/test/testcases
endif
ifndef DEBUGTOOLS_SRCDIR
@@ -171,6 +175,10 @@ ifndef BOOT_OBJDIR
export BOOT_OBJDIR = $(BASE_OBJDIR)/boot
endif
+ifndef BUILDDATA_OBJDIR
+export BUILDDATA_OBJDIR = $(BASE_OBJDIR)/build/utils
+endif
+
ifndef IMG_DIR
export IMG_DIR = $(SBE_ROOT_DIR)/images
endif
@@ -201,11 +209,15 @@ export IMPORT_COMMON_DIR = $(IMPORT_SRCDIR)/chips/p9/common
endif
ifndef PPETRACEPP_DIR
-export PPETRACEPP_DIR = $(TOOLS_SRCDIR)/ppetracepp
+export PPETRACEPP_DIR = $(TOOLS_SRCDIR)/trace
endif
ifndef PPETRACEPP_BIN_DIR
-export PPETRACEPP_BIN_DIR = $(BASE_OBJDIR)
+export PPETRACEPP_BIN_DIR = $(IMG_DIR)
+endif
+
+ifndef GENFILES_DIR
+export GENFILES_DIR = $(BASE_OBJDIR)/genfiles
endif
ifndef PLAT_FAPI2_DIR
@@ -358,6 +370,8 @@ INCLUDES += -I$(PK_SRCDIR)/ppe
INCLUDES += -I$(PK_SRCDIR)/ppe42
INCLUDES += -I$(SBE_FW_DIR)
INCLUDES += -I$(BOOT_SRCDIR)
+INCLUDES += -I$(GENFILES_DIR)
+INCLUDES += -I$(BUILDDATA_SRCDIR)
INCLUDES += -I$(PK_SRCDIR)/trace
INCLUDES += -I$(PPETRACEPP_DIR)
INCLUDES += -I$(IMPORT_COMMON_DIR)/include
OpenPOWER on IntegriCloud