summaryrefslogtreecommitdiff
path: root/packages/u-boot/files/uboot-20070311-tools_makefile_ln_sf.patch
blob: eca50615ad7a44eff9f6329aeebae93c312b6054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: git/tools/Makefile
===================================================================
--- git.orig/tools/Makefile	2008-03-03 13:32:32.000000000 +0800
+++ git/tools/Makefile	2008-03-03 13:40:23.000000000 +0800
@@ -208,18 +208,18 @@
 
 $(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
 
 $(obj)sha1.c:
 		@rm -f $(obj)sha1.c
-		ln -s $(src)../lib_generic/sha1.c $(obj)sha1.c
+		ln -sf $(src)../lib_generic/sha1.c $(obj)sha1.c
 
 $(LOGO_H):	$(obj)bmp_logo $(LOGO_BMP)
 		$(obj)./bmp_logo $(LOGO_BMP) >$@