summaryrefslogtreecommitdiff
path: root/packages/uboot/files/uboot-20070311-tools_makefile_ln_sf.patch
blob: e90cc0de71a4a46bcdaca72163d9c4dbb340f0d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/tools/Makefile	2007-03-11 00:55:44.000000000 +0000
+++ b/tools/Makefile	2007-03-11 00:55:52.000000000 +0000
@@ -194,14 +194,14 @@
 
 $(obj)environment.c:
 		@rm -f $(obj)environment.c
-		ln -s $(src)../common/environment.c $(obj)environment.c
+		ln -sf $(src)../common/environment.c $(obj)environment.c
 
 $(obj)environment.o:	$(obj)environment.c
 		$(CC) -g $(HOST_ENVIRO_CFLAGS) $(CPPFLAGS) -c -o $@ $<
 
 $(obj)crc32.c:
 		@rm -f $(obj)crc32.c
-		ln -s $(src)../lib_generic/crc32.c $(obj)crc32.c
+		ln -sf $(src)../lib_generic/crc32.c $(obj)crc32.c
 
 $(LOGO_H):	$(obj)bmp_logo $(LOGO_BMP)
 		$(obj)./bmp_logo $(LOGO_BMP) >$@