diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-12-28 12:33:50 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-12-28 12:33:50 (EST) |
commit | 4ff5a94eb974a783081ee358966b2022aaf1fb20 (patch) | |
tree | 242d67dcfcf3fb4f1f9f0f06097757ec707a7520 /resources/utilities/ich9deblob/Makefile | |
parent | 779f26c4b48b792873438d99526ebe51c9db2565 (diff) | |
download | libreboot-4ff5a94eb974a783081ee358966b2022aaf1fb20.zip libreboot-4ff5a94eb974a783081ee358966b2022aaf1fb20.tar.gz libreboot-4ff5a94eb974a783081ee358966b2022aaf1fb20.tar.bz2 |
ich9deblob: added ich9gen utility
This can generate the descriptor+gbe images from scratch, without
the need for a factory.bin dump.
Diffstat (limited to 'resources/utilities/ich9deblob/Makefile')
-rw-r--r-- | resources/utilities/ich9deblob/Makefile | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/resources/utilities/ich9deblob/Makefile b/resources/utilities/ich9deblob/Makefile index 87e6da2..aaf1a63 100644 --- a/resources/utilities/ich9deblob/Makefile +++ b/resources/utilities/ich9deblob/Makefile @@ -21,7 +21,7 @@ CC=gcc CFLAGS=-I. -Wall -g NOLINKER=-c -all: ich9deblob +all: ich9deblob ich9gen ich9deblob: obj/ich9deblob.o obj/common/descriptor_gbe.o \ obj/descriptor/descriptor.o obj/gbe/gbe.o obj/common/x86compatibility.o @@ -29,10 +29,37 @@ ich9deblob: obj/ich9deblob.o obj/common/descriptor_gbe.o \ $(CC) $(CFLAGS) obj/ich9deblob.o obj/common/descriptor_gbe.o \ obj/common/x86compatibility.o obj/descriptor/descriptor.o obj/gbe/gbe.o \ -o ich9deblob + +ich9gen: obj/ich9gen.o obj/ich9gen/mkdescriptor.o obj/ich9gen/mkgbe.o \ + obj/common/descriptor_gbe.o \ + obj/descriptor/descriptor.o obj/gbe/gbe.o obj/common/x86compatibility.o + + $(CC) $(CFLAGS) obj/ich9gen.o obj/ich9gen/mkdescriptor.o obj/ich9gen/mkgbe.o \ + obj/common/descriptor_gbe.o \ + obj/common/x86compatibility.o obj/descriptor/descriptor.o obj/gbe/gbe.o \ + -o ich9gen + +# for ich9deblob +# ---------------------------------------------------------------------- obj/ich9deblob.o: $(CC) $(CFLAGS) $(NOLINKER) src/ich9deblob.c -o obj/ich9deblob.o + +# for ich9gen +# ---------------------------------------------------------------------- + +obj/ich9gen.o: + $(CC) $(CFLAGS) $(NOLINKER) src/ich9gen.c -o obj/ich9gen.o +obj/ich9gen/mkdescriptor.o: + $(CC) $(CFLAGS) $(NOLINKER) src/ich9gen/mkdescriptor.c -o obj/ich9gen/mkdescriptor.o + +obj/ich9gen/mkgbe.o: + $(CC) $(CFLAGS) $(NOLINKER) src/ich9gen/mkgbe.c -o obj/ich9gen/mkgbe.o + +# for ich9deblob and ich9gen: +# ---------------------------------------------------------------------- + obj/common/descriptor_gbe.o: $(CC) $(CFLAGS) $(NOLINKER) src/common/descriptor_gbe.c -o obj/common/descriptor_gbe.o |