summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/Makefile
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-03 11:48:20 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-03 11:48:20 (EDT)
commit438cc1fe58f4b65099d778596b93e8094594cb69 (patch)
tree64f15e7b5e970341799fae6f3de103301dfde452 /resources/utilities/ich9deblob/Makefile
parent2350f55533902f9f67b50a920fad2044daec03ac (diff)
downloadlibreboot-438cc1fe58f4b65099d778596b93e8094594cb69.zip
libreboot-438cc1fe58f4b65099d778596b93e8094594cb69.tar.gz
libreboot-438cc1fe58f4b65099d778596b93e8094594cb69.tar.bz2
demefactory (new utility): create GM45 factory.rom without the ME
Diffstat (limited to 'resources/utilities/ich9deblob/Makefile')
-rw-r--r--resources/utilities/ich9deblob/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/resources/utilities/ich9deblob/Makefile b/resources/utilities/ich9deblob/Makefile
index be4df85..2db8e84 100644
--- a/resources/utilities/ich9deblob/Makefile
+++ b/resources/utilities/ich9deblob/Makefile
@@ -22,7 +22,7 @@ FORCEC99=-std=c99
CFLAGS=-I. -Wall -Wextra -g $(FORCEC99)
NOLINKER=-c
-all: ich9deblob ich9gen
+all: ich9deblob ich9gen demefactory
ich9deblob: obj/ich9deblob.o obj/common/descriptor_gbe.o \
obj/descriptor/descriptor.o obj/gbe/gbe.o obj/common/x86compatibility.o
@@ -40,6 +40,19 @@ ich9gen: obj/ich9gen.o obj/ich9gen/mkdescriptor.o obj/ich9gen/mkgbe.o \
obj/common/x86compatibility.o obj/descriptor/descriptor.o obj/gbe/gbe.o \
-o ich9gen
+demefactory: obj/demefactory.o obj/common/descriptor_gbe.o \
+ obj/descriptor/descriptor.o obj/gbe/gbe.o obj/common/x86compatibility.o
+
+ $(CC) $(CFLAGS) obj/demefactory.o obj/common/descriptor_gbe.o \
+ obj/common/x86compatibility.o obj/descriptor/descriptor.o obj/gbe/gbe.o \
+ -o demefactory
+
+# for demefactory
+# ----------------------------------------------------------------------
+
+obj/demefactory.o:
+ $(CC) $(CFLAGS) $(NOLINKER) src/demefactory.c -o obj/demefactory.o
+
# for ich9deblob
# ----------------------------------------------------------------------
@@ -76,4 +89,4 @@ obj/gbe/gbe.o:
# make clean
# ----------------------------------------------------------------------
clean:
- rm -rf ich9deblob ich9gen obj/*.o obj/*/*.o
+ rm -rf ich9deblob ich9gen demefactory obj/*.o obj/*/*.o