summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorVladimir Yakovlev <nagos@inbox.ru>2012-07-07 10:05:06 +0000
committerWolfgang Denk <wd@denx.de>2012-07-08 22:41:19 +0200
commit8b6a4952e6064dc558cb7d5d375990b17491f26f (patch)
tree97457abdb9280332b27841ad34eec716532d3f9e /tools/Makefile
parentdb7720bad4ae0577c140fd72def24311afece894 (diff)
downloadu-boot-8b6a4952e6064dc558cb7d5d375990b17491f26f.tar.gz
u-boot-8b6a4952e6064dc558cb7d5d375990b17491f26f.tar.xz
u-boot-8b6a4952e6064dc558cb7d5d375990b17491f26f.zip
tools: Fix mingw tools build
mkenvimage does not build due to missed os_support.o and unsupported file modes S_IRGRP S_IWGRP. Tested with mingw 4.2.1 on ubuntu 12.04. Signed-off-by: Vladimir Yakovlev <nagos@inbox.ru>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 8097d9583b..a7d1e18fe2 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -196,7 +196,8 @@ $(obj)xway-swap-bytes$(SFX): $(obj)xway-swap-bytes.o
$(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^
$(HOSTSTRIP) $@
-$(obj)mkenvimage$(SFX): $(obj)crc32.o $(obj)mkenvimage.o
+$(obj)mkenvimage$(SFX): $(obj)crc32.o $(obj)mkenvimage.o \
+ $(obj)os_support.o
$(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^
$(HOSTSTRIP) $@