# IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # $Source: src/build/buildpnor/makefile $ # # IBM CONFIDENTIAL # # COPYRIGHT International Business Machines Corp. 2012,2013 # # p1 # # Object Code Only (OCO) source materials # Licensed Internal Code Source Materials # IBM HostBoot Licensed Internal Code # # The source code for this program is not published or otherwise # divested of its trade secrets, irrespective of what has been # deposited with the U.S. Copyright Office. # # Origin: 30 # # IBM_PROLOG_END_TAG #Build PNOR Images for each platform. #Also builds images which contain the test code. ROOTPATH = ../../.. # Default target to 'buildpnor'. This way you can type make # in this directory without a target and it will build the # pnor images. In the standard case, this makefile is called # from somewhere else with the buildpnor target as well. .DEFAULT_GOAL := buildpnor PNOR_VBU_TARGETS = vbu_MURANO vbu_VENICE 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})) \ CLEAN_TARGETS += ${PNOR_VBU_IMAGES} ${PNOR_VBU_IMAGES:.pnor=_pnor.toc} include ${ROOTPATH}/config.mk .PHONY: buildpnor buildpnor: ${PNOR_VBU_IMAGES} #VBU Specific images $(foreach pnor,$(PNOR_VBU_TARGETS),$(eval $(call PNOR_vbu_template,$(pnor))))