aboutsummaryrefslogtreecommitdiff
path: root/util/kbc1126/makefile
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2017-03-26 12:05:32 +0800
committerPatrick Georgi <pgeorgi@google.com>2017-05-11 16:48:40 +0200
commit5fd00ce71a1bfd5cd36f9d42ab657a8e7d6c54f2 (patch)
tree0b57a49a7095eb93d15a8aecf450bce2f7649c5a /util/kbc1126/makefile
parent5f9fe7232a24e4abf88b6b642f4df462142cfd85 (diff)
util: Add tools for dumping and inserting KBC1126 firmware images.
Change-Id: Ic521b177b9602ff042312cccaaa89371db7c5855 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/19071 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util/kbc1126/makefile')
-rw-r--r--util/kbc1126/makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/util/kbc1126/makefile b/util/kbc1126/makefile
new file mode 100644
index 0000000000..48268747d6
--- /dev/null
+++ b/util/kbc1126/makefile
@@ -0,0 +1,12 @@
+obj = kbc1126_ec_dump kbc1126_ec_insert
+HOSTCC := $(if $(shell type gcc 2>/dev/null),gcc,cc)
+
+all: $(obj)
+
+%: %.c
+ $(HOSTCC) -Wall -o $@ $<
+
+clean:
+ rm -f kbc1126_ec_dump kbc1126_ec_insert
+
+.PHONY: all clean