tools: Add 'firmware' category and add ihex2fw tool
[linux-2.6-microblaze.git] / tools / firmware / Makefile
diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile
new file mode 100644 (file)
index 0000000..d329825
--- /dev/null
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0
+# Makefile for firmware tools
+
+CFLAGS = -Wall -Wextra -g
+
+all: ihex2fw
+%: %.c
+       $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+       $(RM) ihex2fw
+
+.PHONY: all clean
\ No newline at end of file