diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/i386/Config.lb | 9 |
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)" |