diff options
Diffstat (limited to 'tools/uflash/Makefile')
-rw-r--r-- | tools/uflash/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/uflash/Makefile b/tools/uflash/Makefile new file mode 100644 index 00000000000..8ade3c4a176 --- /dev/null +++ b/tools/uflash/Makefile @@ -0,0 +1,13 @@ +include $(TOPDIR)/config.mk + +all: $(obj)uflash + +HOSTCFLAGS_NOPED += -I $(SRCTREE)/include -DUSE_HOSTCC + +$(obj)uflash: $(SRCTREE)/tools/uflash/uflash.c $(SRCTREE)/lib/crc32.c $(SRCTREE)/lib/errno.c + $(HOSTCC) $(HOSTCFLAGS_NOPED) $(HOSTLDFLAGS) -o $@ $^ + +clean: + rm -f $(obj)uflash + +.PHONY: all clean |