summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbe/image/img_defs.mk6
-rw-r--r--tools/image/Makefile1
2 files changed, 6 insertions, 1 deletions
diff --git a/sbe/image/img_defs.mk b/sbe/image/img_defs.mk
index a9d0a77f..a9abecad 100644
--- a/sbe/image/img_defs.mk
+++ b/sbe/image/img_defs.mk
@@ -75,6 +75,10 @@ ifndef HWPLIB_SRCDIR
export HWPLIB_SRCDIR = $(abspath ../../import/chips/p9/procedures/hwp/lib)
endif
+ifndef IMAGEPROCS_SRCDIR
+export IMAGEPROCS_SRCDIR = $(abspath ../../import/tools/imageProcs)
+endif
+
ifndef P9_XIP_SRCDIR
export P9_XIP_SRCDIR = $(abspath ../../import/chips/p9/xip)
endif
@@ -84,7 +88,7 @@ export P9_XIP_BINDIR = $(P9_XIP_SRCDIR)/bin
endif
ifndef IMG_INCLUDES
-export IMG_INCLUDES = -I$(P9_XIP_SRCDIR) -I$(IMAGE_SRCDIR) -I$(CACHE_SRCDIR) -I$(CORE_SRCDIR) -I$(PERV_SRCDIR) -I$(NEST_SRCDIR) -I$(PM_SRCDIR)
+export IMG_INCLUDES = -I$(IMAGEPROCS_SRCDIR) -I$(P9_XIP_SRCDIR) -I$(IMAGE_SRCDIR) -I$(CACHE_SRCDIR) -I$(CORE_SRCDIR) -I$(PERV_SRCDIR) -I$(NEST_SRCDIR) -I$(PM_SRCDIR)
endif
ifndef BASE_OBJDIR
diff --git a/tools/image/Makefile b/tools/image/Makefile
index b946acd4..d557928a 100644
--- a/tools/image/Makefile
+++ b/tools/image/Makefile
@@ -38,6 +38,7 @@ INCLUDES += -I ../../pk/trace/
INCLUDES += -I ../../tools/ppetracepp/
INCLUDES += -I ../../import/hwpf/fapi2/include/
INCLUDES += -I ../../import/chips/p9/xip/
+INCLUDES += -I ../../import/tools/imageProcs/
# Under Linux the scheme is to use a common compiler to create procedures.
# However, the common compiler can be VERY slow, so if the system compiler is
OpenPOWER on IntegriCloud