summaryrefslogtreecommitdiff
path: root/system/cbootimage/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'system/cbootimage/GNUmakefile')
-rw-r--r--system/cbootimage/GNUmakefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/cbootimage/GNUmakefile b/system/cbootimage/GNUmakefile
new file mode 100644
index 0000000..6233fcd
--- /dev/null
+++ b/system/cbootimage/GNUmakefile
@@ -0,0 +1,20 @@
+C_FILES :=
+C_FILES += nvbctlib_ap20.c
+C_FILES += cbootimage.c
+C_FILES += data_layout.c
+C_FILES += parse.c
+C_FILES += set.c
+C_FILES += crypto.c
+C_FILES += aes_ref.c
+
+OBJS := $(patsubst %.c,%.o,$(notdir $(C_FILES)))
+
+TARGET = cbootimage
+CC = gcc
+CFLAGS=-Wall -O
+
+$(TARGET):$(OBJS)
+ $(CC) -o $(TARGET) $(OBJS) $(CFLAGS)
+
+clean:
+ rm -rf *.o $(TARGET)