blob: e0412e941c4859a448cf0bb1fcb7274a2c4b11e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# 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))))
|