summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-05-15 16:39:07 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-05-16 10:53:07 -0500
commita151ccb70dab1007ca8aed2f0b89dfdf1cfe406b (patch)
tree6ef8bbbcc698b82f46fa6bcbb43e9a46a76daf20
parent569ae22b11966a12db9fdde9dd60aad7b153ab23 (diff)
downloadtalos-hostboot-a151ccb70dab1007ca8aed2f0b89dfdf1cfe406b.tar.gz
talos-hostboot-a151ccb70dab1007ca8aed2f0b89dfdf1cfe406b.zip
Rename listing files to '*.list.bz2'
I previously changed the listing files to be bzip'd to reduce the size of builds and the FSP tarballs. Many editors, such as vim, will automatically expand these files when you open them but only if the file name is *.bz2. Otherwise, you can use something like 'bzcat hbicore.list.bz2 | editor'. Change-Id: Ic61e21a5e49ba88440f4a19d86a8c467f63e61fd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4532 Tested-by: Jenkins Server Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rw-r--r--.gitignore1
-rw-r--r--src/build/mkrules/dist.targets.mk4
-rw-r--r--src/build/mkrules/images.rules.mk8
3 files changed, 7 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 274911ced..0828624c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
*.o
*.list
+*.list.bz2
*.dep
*.o.hash
*.gcno
diff --git a/src/build/mkrules/dist.targets.mk b/src/build/mkrules/dist.targets.mk
index aef696d2c..13c1a7a4d 100644
--- a/src/build/mkrules/dist.targets.mk
+++ b/src/build/mkrules/dist.targets.mk
@@ -82,7 +82,7 @@ COPY_RENAME_FILES = \
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:img/hbicore$(UNDERSCORE_TEST).list:tools,vpo \
+ hbicore.list.bz2:img/hbicore$(UNDERSCORE_TEST).list.bz2:tools,vpo \
hbicore.bin.modinfo:img/hbicore$(UNDERSCORE_TEST).bin.modinfo:tools,vpo \
$(foreach file, $(call ROOTPATH_WILDCARD,src/build/debug/Hostboot/*.pm), \
Hostboot/$(notdir $(file)):$(file):tools,vpo)
@@ -144,7 +144,7 @@ simics.tar_CONTENTS = \
$(addsuffix :Hostboot/, \
$(call ROOTPATH_WILDCARD,src/build/debug/Hostboot/*.pm)) \
img/hbicore$(UNDERSCORE_TEST).syms \
- img/hbicore$(UNDERSCORE_TEST).list \
+ img/hbicore$(UNDERSCORE_TEST).list.bz2 \
img/hbicore$(UNDERSCORE_TEST).bin.modinfo \
img/errlparser \
img/isteplist.csv \
diff --git a/src/build/mkrules/images.rules.mk b/src/build/mkrules/images.rules.mk
index c067f787c..78a4d0962 100644
--- a/src/build/mkrules/images.rules.mk
+++ b/src/build/mkrules/images.rules.mk
@@ -29,8 +29,8 @@ ifdef IMGS
_IMGS = $(addprefix $(IMGDIR)/, $(IMGS))
IMAGES += $(addsuffix .bin, $(_IMGS)) $(addsuffix .elf, $(_IMGS))
-IMAGE_PASS_BODY += $(addsuffix .list, $(_IMGS)) $(addsuffix .syms, $(_IMGS))
-CLEAN_TARGETS += $(addsuffix .list, $(_IMGS)) $(addsuffix .syms, $(_IMGS))
+IMAGE_PASS_BODY += $(addsuffix .list.bz2, $(_IMGS)) $(addsuffix .syms, $(_IMGS))
+CLEAN_TARGETS += $(addsuffix .list.bz2, $(_IMGS)) $(addsuffix .syms, $(_IMGS))
define ELF_template
$$(IMGDIR)/$(1).elf: $$(addprefix $$(OBJDIR)/, $$($(1)_OBJECTS)) \
@@ -54,11 +54,11 @@ $(IMGDIR)/%.bin: $(IMGDIR)/%.elf \
| bzip2 -zc > $(IMGDIR)/.$*.lnkout
$(C1)$(ROOTPATH)/src/build/tools/addimgid $@ $<
-$(IMGDIR)/%.list $(IMGDIR)/%.syms: $(IMGDIR)/%.bin
+$(IMGDIR)/%.list.bz2 $(IMGDIR)/%.syms: $(IMGDIR)/%.bin
$(C2) " GENLIST $(notdir $*)"
$(C1)(cd $(ROOTPATH); \
src/build/tools/gensyms $*.bin $*_extended.bin 0x40000000 \
> ./img/$*.syms ; \
- src/build/tools/genlist $*.bin | bzip2 -zc > ./img/$*.list)
+ src/build/tools/genlist $*.bin | bzip2 -zc > ./img/$*.list.bz2)
endif
OpenPOWER on IntegriCloud