diff options
Diffstat (limited to 'src/build/mkrules/hbfw')
-rwxr-xr-x | src/build/mkrules/hbfw/fsp/makefile | 44 | ||||
-rwxr-xr-x | src/build/mkrules/hbfw/img/makefile | 57 | ||||
-rwxr-xr-x | src/build/mkrules/hbfw/makefile | 66 | ||||
-rwxr-xr-x | src/build/mkrules/hbfw/simics/makefile | 53 |
4 files changed, 220 insertions, 0 deletions
diff --git a/src/build/mkrules/hbfw/fsp/makefile b/src/build/mkrules/hbfw/fsp/makefile new file mode 100755 index 000000000..2bba0d394 --- /dev/null +++ b/src/build/mkrules/hbfw/fsp/makefile @@ -0,0 +1,44 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/build/mkrules/hbfw/fsp/makefile $ +# +# IBM CONFIDENTIAL +# +# COPYRIGHT International Business Machines Corp. 2012 +# +# 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 other- +# wise 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/fsp/makefile +# +# NOTE: Do NOT modify this file in CMVC directly! It comes from the Hostboot +# repository and will be overwritten. + + +# Process the targeting subtree + +.if(${CONTEXT:R} == "ppc") + +EXPINC_SUBDIRS += targeting +OBJECTS_SUBDIRS += +EXPLIB_SUBDIRS += +EXPSHLIB_SUBDIRS += targeting +STANDARD_SUBDIRS += targeting +RUNBVT_SUBDIRS += + +.endif + +.include <${RULES_MK}> diff --git a/src/build/mkrules/hbfw/img/makefile b/src/build/mkrules/hbfw/img/makefile new file mode 100755 index 000000000..d2e08cdfc --- /dev/null +++ b/src/build/mkrules/hbfw/img/makefile @@ -0,0 +1,57 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/build/mkrules/hbfw/img/makefile $ +# +# IBM CONFIDENTIAL +# +# COPYRIGHT International Business Machines Corp. 2012 +# +# 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 other- +# wise 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/img/makefile +# +# NOTE: Do NOT modify this file in CMVC directly! It comes from the Hostboot +# repository and will be overwritten. + +.include <${RULES_MK}> + +.if($(CONTEXT:R) == "ppc") + +PNOR_IMAGES = tuleta.pnor murano.pnor venice.pnor +OTHER_IMAGES = hostboot.bin + +ALL_IMAGES = ${PNOR_IMAGES} ${OTHER_IMAGES} + +DEFAULT_PATH = ${.PATH} +SRCPATH = ${DEFAULT_PATH:M*src*} + +OTHERS = cp_hbfiles + +cp_hbfiles: + ${ALL_IMAGES:@image@cp -f ${SRCPATH:F${image}} ${image};@} + +clobber_cp_hbfiles: + rm ${ALL_IMAGES} + +FLASH_DEST = $(MAKETOP)$(OBJECTDIRTOP)../images/$(CONTEXT)/lab/flash + +update_images_for_sandbox: + mkdir -p ${FLASH_DEST} + ${ALL_IMAGES:@image@${hbimg:!cd ${FLASH_DEST}; cp -f ${.PATH:F${image}} ${image};!e}@} + +.endif + diff --git a/src/build/mkrules/hbfw/makefile b/src/build/mkrules/hbfw/makefile new file mode 100755 index 000000000..31ba42fad --- /dev/null +++ b/src/build/mkrules/hbfw/makefile @@ -0,0 +1,66 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/build/mkrules/hbfw/makefile $ +# +# IBM CONFIDENTIAL +# +# COPYRIGHT International Business Machines Corp. 2012 +# +# 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 other- +# wise 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. + +STANDARD_SUBDIRS += \ + img \ + simics + +# Process the fsp subtree + +.if(${CONTEXT:R} == "ppc") + +EXPINC_SUBDIRS += fsp +OBJECTS_SUBDIRS += +EXPLIB_SUBDIRS += +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 + +_SUBDIR/BUILD/EXPINC/fsp: expand_tars_fsp.tar +_SUBDIR/BUILD/EXPINC/simics: expand_tars_simics.tar + +EXPINC_TARGETS += expand_tars + +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_//} + +.include <${RULES_MK}> diff --git a/src/build/mkrules/hbfw/simics/makefile b/src/build/mkrules/hbfw/simics/makefile new file mode 100755 index 000000000..ac5c91399 --- /dev/null +++ b/src/build/mkrules/hbfw/simics/makefile @@ -0,0 +1,53 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/build/mkrules/hbfw/simics/makefile $ +# +# IBM CONFIDENTIAL +# +# COPYRIGHT International Business Machines Corp. 2012 +# +# 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 other- +# wise 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/simics/makefile +# +# NOTE: Do NOT modify this file in CMVC directly! It comes from the Hostboot +# repository and will be overwritten. + +.include <${RULES_MK}> + +OTHERS = copy_scripts + +HBFW_SIMICS_PATH = ${MAKETOP}simu/scripts/hbfw/ + +HBFW_SRC_PATHS = ${.PATH:M*src*hbfw*} ${.PATH:M*obj*hbfw*} +HBFW_SRC_DIRS = ${HBFW_SRC_PATHS:XD} +HBFW_SRC_FILES = ${:!${HBFW_SRC_DIRS:@path@ls ${path};@}!} + +HBFW_SCRIPTS_TO_COPY = ${HBFW_SRC_FILES:Nmakefile} +HBFW_SCRIPTS_PATHS = ${HBFW_SCRIPTS_TO_COPY:p} + +HBFW_COPY_COMMAND = \ + ${HBFW_SCRIPTS_PATHS:@file@cp -r ${file} ${HBFW_SIMICS_PATH}; @} +HBFW_REMOVE_COMMAND = \ + ${HBFW_SCRIPTS_TO_COPY:@file@rm -rf ${HBFW_SIMICS_PATH}${file}; @} + +copy_scripts: + mkdir -p ${HBFW_SIMICS_PATH} + ${HBFW_COPY_COMMAND} + +clobber_copy_scripts: + ${HBFW_REMOVE_COMMAND} |