summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffa <wghoffa@us.ibm.com>2014-06-24 15:48:45 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-06-25 08:30:04 -0500
commit2e5a8e8a29d90842c0cbb2138bb1ec0759c5c4d5 (patch)
tree583fba75d5a1f16d9e5022ddd959048e3f29d1be
parent82343f7897f79abc0e9780b7b1a3388728d6562d (diff)
downloadtalos-hostboot-2e5a8e8a29d90842c0cbb2138bb1ec0759c5c4d5.tar.gz
talos-hostboot-2e5a8e8a29d90842c0cbb2138bb1ec0759c5c4d5.zip
Update hbDistribute for OpenPower configurations
Change-Id: Id36b9e425316fd582fa4dd5102ce7bdb6aa89b17 RTC:106898 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11794 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rw-r--r--src/build/mkrules/dist.targets.mk26
-rwxr-xr-xsrc/build/tools/hbDistribute4
2 files changed, 18 insertions, 12 deletions
diff --git a/src/build/mkrules/dist.targets.mk b/src/build/mkrules/dist.targets.mk
index cbfba4660..0cea5df62 100644
--- a/src/build/mkrules/dist.targets.mk
+++ b/src/build/mkrules/dist.targets.mk
@@ -38,7 +38,7 @@ ROOTPATH = ../../..
#
# Content targets.
-VALID_TARGETS = fsp tools
+VALID_TARGETS = fsp tools openpower
#
# Files which are to be directly copied into content targets.
@@ -46,7 +46,7 @@ VALID_TARGETS = fsp tools
# Format is <source file>:<comma separated targets>
#
COPY_FILES = \
- src/build/debug/hb-dump-debug:tools,vpo \
+ src/build/debug/hb-dump-debug:tools,vpo,openpower \
src/build/debug/vpo-debug-framework.pl:vpo \
src/build/debug/fsp-memdump.sh:tools,vpo \
src/build/vpo/hb-dump:vpo \
@@ -56,7 +56,7 @@ COPY_FILES = \
src/build/simics/hb-pnor-vpd-preload.pl:vpo \
src/build/buildpnor/pnorLayoutVpo.xml:vpo \
img/errlparser:tools,vpo \
- img/hbotStringFile:tools,vpo \
+ img/hbotStringFile:tools,vpo,openpower \
img/isteplist.csv:tools,vpo \
img/dimmspd.dat:vpo \
img/procmvpd.dat:vpo \
@@ -66,6 +66,8 @@ COPY_FILES = \
obj/genfiles/targAttrInfo.csv:vpo \
src/build/hwpf/prcd_compile.tcl:tools \
src/usr/hwpf/hwp/initfiles/sample.initfile:tools \
+ src/build/buildpnor/buildSbePart.pl:openpower \
+ src/build/buildpnor/buildpnor.pl:openpower \
$(foreach file, $(call ROOTPATH_WILDCARD,releaseNotes.html), $(file):fsp)\
#
@@ -74,22 +76,22 @@ COPY_FILES = \
# Format is <dest file>:<source file>:<comma separated targets>
#
COPY_RENAME_FILES = \
- makefile:src/build/mkrules/hbfw/makefile:fsp \
+ makefile:src/build/mkrules/hbfw/makefile:fsp\
img/makefile:src/build/mkrules/hbfw/img/makefile:fsp \
hbicore.bin:img/hbicore$(UNDERSCORE_TEST).bin:vpo \
- img/hostboot.bin:img/hbicore$(UNDERSCORE_TEST).bin:fsp \
- img/hostboot_extended.bin:img/hbicore$(UNDERSCORE_TEST)_extended.bin:fsp \
- img/hostboot_runtime.bin:img/hbirt$(UNDERSCORE_TEST).bin:fsp \
+ img/hostboot.bin:img/hbicore$(UNDERSCORE_TEST).bin:fsp,openpower \
+ img/hostboot_extended.bin:img/hbicore$(UNDERSCORE_TEST)_extended.bin:fsp,openpower \
+ img/hostboot_runtime.bin:img/hbirt$(UNDERSCORE_TEST).bin:fsp,openpower \
vbu_MURANO.pnor:img/vbu$(UNDERSCORE_TEST)_MURANO.pnor:vpo \
vbu_VENICE.pnor:img/vbu$(UNDERSCORE_TEST)_VENICE.pnor:vpo \
- hbicore.syms:img/hbicore$(UNDERSCORE_TEST).syms:tools,vpo \
- hbicore.list.bz2:img/hbicore$(UNDERSCORE_TEST).list.bz2:tools,vpo \
+ hbicore.syms:img/hbicore$(UNDERSCORE_TEST).syms:tools,vpo,openpower \
+ hbicore.list.bz2:img/hbicore$(UNDERSCORE_TEST).list.bz2:tools,vpo,openpower \
hbicore.bin.modinfo:img/hbicore$(UNDERSCORE_TEST).bin.modinfo:tools,vpo \
- hbirt.syms:img/hbicore$(UNDERSCORE_TEST).syms:tools,vpo \
- hbirt.list.bz2:img/hbirt$(UNDERSCORE_TEST).list.bz2:tools,vpo \
+ hbirt.syms:img/hbicore$(UNDERSCORE_TEST).syms:tools,vpo,openpower \
+ hbirt.list.bz2:img/hbirt$(UNDERSCORE_TEST).list.bz2:tools,vpo,openpower \
hbirt.bin.modinfo:img/hbirt$(UNDERSCORE_TEST).bin.modinfo:tools,vpo \
$(foreach file, $(call ROOTPATH_WILDCARD,src/build/debug/Hostboot/*.pm), \
- Hostboot/$(notdir $(file)):$(file):tools,vpo)
+ Hostboot/$(notdir $(file)):$(file):tools,vpo,openpower)
#
# Symbolic links created in the target.
diff --git a/src/build/tools/hbDistribute b/src/build/tools/hbDistribute
index ed4236502..0dd06c51e 100755
--- a/src/build/tools/hbDistribute
+++ b/src/build/tools/hbDistribute
@@ -68,6 +68,10 @@ do
TARGET="fsp_TARGET"
;;
+ "--openpower")
+ TARGET="openpower_TARGET"
+ ;;
+
"--release")
TARGET="ALL"
;;
OpenPOWER on IntegriCloud