summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <Carl-Daniel Hailfinger>2006-09-14 15:12:36 +0000
committerRonald G. Minnich <rminnich@gmail.com>2006-09-14 15:12:36 +0000
commitcba07dd682f0142474f0aa235e97b6fcbc34d760 (patch)
treef825a9550774d81ebf92ca5ed7fd1d29c30eba2d /src/arch
parent7d9441276f144f0ffc5fe1523daaa63f916b9a25 (diff)
additions and mods for lzma.
Signed-off-by: Carl-Daniel Hailfinger Signed-off-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2413 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/Config.lb9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/arch/i386/Config.lb b/src/arch/i386/Config.lb
index 6f614caf01..1b0dbf7959 100644
--- a/src/arch/i386/Config.lb
+++ b/src/arch/i386/Config.lb
@@ -28,8 +28,15 @@ makerule payload.nrv2b
action "./nrv2b e $(PAYLOAD) $@"
end
+# unlike nrv2b, lzma is a huge build mess. If they want lzma, they have to have built it
+makerule payload.lzma
+ depends "$(PAYLOAD) "
+ action "lzma e $(PAYLOAD) $@"
+end
+
makedefine PAYLOAD-1:=payload
-makedefine PAYLOAD-$(CONFIG_COMPRESSED_ROM_STREAM):=payload.nrv2b
+makedefine PAYLOAD-$(CONFIG_COMPRESSED_ROM_STREAM_NRV2B):=payload.nrv2b
+makedefine PAYLOAD-$(CONFIG_COMPRESSED_ROM_STREAM_LZMA):=payload.lzma
makerule linuxbios.rom
depends "linuxbios.strip buildrom $(PAYLOAD-1)"