summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-04-03 16:17:05 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-04-03 16:17:05 +0000
commitf58aa401998eef3d0579c244ecf2ec42619e385f (patch)
tree1c911fde3970fec64a790fabfbcc65359ef44abd /util
parent3cf89efea4a8979fbaa0098b765f61d07c06a9e6 (diff)
I thought that romfs infrastructure is done now, but there were some
issues (see buildbot). The romfs image was always built, and sometimes broke (because of the different image layouts) for buildrom images. After the patch, these issues are avoided by not adding payloads to the romfs image (they wouldn't be read anyway). Both workarounds (in buildrom code for romfs and vice-versa) aren't very pretty, but that's what our buildsystem requires. As I had to create a "communication channel" (via the romfs-support files), I took the chance to also use it for compression information, so if you configure lzma support, you'll get lzma compressed payloads in romfs. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4054 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r--util/newconfig/config.g2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/newconfig/config.g b/util/newconfig/config.g
index c2f7e20ae..9444fc0f6 100644
--- a/util/newconfig/config.g
+++ b/util/newconfig/config.g
@@ -2275,7 +2275,7 @@ def writemakefile(path):
for j in i.roms:
#failover is a hack that will go away soon.
if (j != "failover") and (rommapping[j] != "/dev/null"):
- file.write("\t $(TOP)/util/romtool/romtool %sfs add-payload %s %s/payload\n" % (i.name, rommapping[j], j))
+ file.write("\tif [ -f %s/romfs-support ]; then $(TOP)/util/romtool/romtool %sfs add-payload %s %s/payload `cat %s/romfs-support`; fi\n" % (j, i.name, rommapping[j], j, j))
file.write("\t $(TOP)/util/romtool/romtool %sfs print\n" % i.name)
file.write(".PHONY: all clean romtool")