5d01ec0f80
There are a few changes. The 20K bootblock size restriction is gone. ROMFS has been tested and works on v2 with qemu and kontron. Once this patch is in, those patches will follow. Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4032 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
27 lines
626 B
Makefile
27 lines
626 B
Makefile
CC=gcc
|
|
CFLAGS=-Wall -Werror -g
|
|
|
|
LZMA_OBJ := lzma/LZMAEncoder.o lzma/LZInWindow.o
|
|
LZMA_OBJ += lzma/RangeCoderBit.o lzma/StreamUtils.o
|
|
LZMA_OBJ += lzma/OutBuffer.o lzma/Alloc.o
|
|
LZMA_OBJ += lzma/CRC.o
|
|
LZMA_OBJ += lzma/lzma-compress.o
|
|
|
|
COMMON= common.o compress.o $(LZMA_OBJ)
|
|
|
|
all: rom-mkstage rom-mkpayload
|
|
|
|
rom-mkstage: rom-mkstage.o $(COMMON)
|
|
$(CXX) -g -o $@ rom-mkstage.o $(COMMON)
|
|
|
|
rom-mkpayload: rom-mkpayload.o $(COMMON)
|
|
$(CXX) -o $@ rom-mkpayload.o $(COMMON)
|
|
|
|
include lzma/Makefile
|
|
|
|
%.o: %.c
|
|
$(CC) -Wall -Werror -g -c -o $@ $<
|
|
|
|
clean:
|
|
@ rm -f rom-mkpayload.o rom-mkstage.o $(COMMON)
|
|
@ rm -f rom-mkpayload rom-mkstage
|