summaryrefslogtreecommitdiffstats
path: root/src/build/buildpnor
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/buildpnor')
-rw-r--r--src/build/buildpnor/makefile5
1 files changed, 5 insertions, 0 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})) \
OpenPOWER on IntegriCloud