summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/build/buildpnor/makefile5
-rw-r--r--src/sys/prof/makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/build/buildpnor/makefile b/src/build/buildpnor/makefile
index 458785563..f52a05fbb 100644
--- a/src/build/buildpnor/makefile
+++ b/src/build/buildpnor/makefile
@@ -35,12 +35,17 @@ PNOR_VBU_TARGETS = vbu
define PNOR_vbu_template
$${IMGDIR}/$(1).pnor: $${IMGDIR}/hbicore_extended.bin $${IMGDIR}/$(1)_targeting.bin
+ifdef HOSTBOOT_PROFILE
+ @echo " HOSTBOOT_PROFILE enabled."
+ @echo " Build of vbu.pnor skipped due to space constraints."
+else
./buildpnorOld.pl --pnorLayout ./pnorLayoutVpo.xml \
--genToc \
--pnorOutBin $${IMGDIR}/$(1).pnor \
--binFile_part $${IMGDIR}/$(1)_pnor.toc \
--binFile_HBI $${IMGDIR}/hbicore_extended.bin \
--binFile_HBD $${IMGDIR}/$(1)_targeting.bin
+endif
endef
PNOR_VBU_IMAGES = $(addsuffix .pnor, $(addprefix $(IMGDIR)/, ${PNOR_VBU_TARGETS})) \
diff --git a/src/sys/prof/makefile b/src/sys/prof/makefile
index a74d7897c..8ed0a86b2 100644
--- a/src/sys/prof/makefile
+++ b/src/sys/prof/makefile
@@ -31,7 +31,7 @@ ROOTPATH = ../../..
ifdef HOSTBOOT_PROFILE
OBJS = gcov.o
-undefine HOSTBOOT_PROFILE
+unexport HOSTBOOT_PROFILE
endif
OBJS += idletask.o
OpenPOWER on IntegriCloud