From cba07dd682f0142474f0aa235e97b6fcbc34d760 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Thu, 14 Sep 2006 15:12:36 +0000 Subject: 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 --- src/arch/i386/Config.lb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/arch') 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)" -- cgit v1.2.3