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>
This commit is contained in:
12
util/kbc1126/makefile
Normal file
12
util/kbc1126/makefile
Normal file
@@ -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
|
Reference in New Issue
Block a user