summaryrefslogtreecommitdiffstats
path: root/src/build/mkrules/hbfw/makefile
blob: 4b7f4e38a35a5994b5c7b2a9eebcda2aa95599c4 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/build/mkrules/hbfw/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

#
# FSP Destination: src/hbfw/makefile
#
# NOTE: Do NOT modify this file in CMVC directly!  It comes from the Hostboot
#       repository and will be overwritten.

# Process the fsp subtree

.if(${CONTEXT:R} == "ppc")

EXPINC_SUBDIRS   += fsp
OBJECTS_SUBDIRS  += 
EXPLIB_SUBDIRS   += fsp
EXPSHLIB_SUBDIRS += fsp
STANDARD_SUBDIRS += fsp img simics
RUNBVT_SUBDIRS   += 

.elseif(${CONTEXT} == "x86.nfp")

EXPINC_SUBDIRS   += fsp
OBJECTS_SUBDIRS  += 
EXPLIB_SUBDIRS   += fsp
EXPSHLIB_SUBDIRS += fsp
STANDARD_SUBDIRS += fsp
RUNBVT_SUBDIRS   +=

.endif

# Directives to expand tar files and ensure expansion before
# subdirectory traversal.
#
# If you add a new tarfile and subdirectory, you must add the 
# corresponding _SUBDIR/BUILD/EXPINC/subdir dependency.

TARFILES = fsp.tar simics.tar

VPATH += fsp/hwas/common:

_SUBDIR/BUILD/EXPINC/fsp: expand_tars_fsp.tar
_SUBDIR/BUILD/EXPINC/simics: expand_tars_simics.tar

EXPINC_TARGETS += expand_tars epub_check

expand_tars: ${TARFILES:S/^/expand_tars_/g}
expand_tars_%: $${@:S/expand_tars_//}
	@echo Extracting $> to ${*:S/expand_tars_//}
	mkdir -p ${*:S/expand_tars_//}
	${TAR} -x --file $> -C ${*:S/expand_tars_//}
epub_check: expand_tars epubProcedureID_check.pl epub_service_codes.H hwasCallout.H
	@echo "===== Checking epubProcedureID's Start:" `date`
	${epubProcedureID_check.pl:P} ${epub_service_codes.H:P} ${hwasCallout.H:P}
	@echo "===== Checking epubProcedureID's End:" `date`

.include <${RULES_MK}>
OpenPOWER on IntegriCloud