summaryrefslogtreecommitdiff
path: root/target/tools/uboot-mkimage/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/tools/uboot-mkimage/Makefile')
-rw-r--r--target/tools/uboot-mkimage/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/tools/uboot-mkimage/Makefile b/target/tools/uboot-mkimage/Makefile
new file mode 100644
index 000000000..fd6700cee
--- /dev/null
+++ b/target/tools/uboot-mkimage/Makefile
@@ -0,0 +1,6 @@
+include $(TOPDIR)/rules.mk
+
+all:
+ $(HOSTCC) -c crc32.c -o crc32.o
+ $(HOSTCC) -c mkimage.c -o mkimage.o
+ $(HOSTCC) -o ${STAGING_TOOLS}/bin/mkimage mkimage.o crc32.o