[uClibc-cvs] uClibc/libc/sysdeps/linux/m68k Makefile,1.28,1.29

Erik Andersen andersen at uclibc.org
Sat Oct 18 10:51:17 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/m68k
In directory winder:/tmp/cvs-serv7652/libc/sysdeps/linux/m68k

Modified Files:
	Makefile 
Log Message:
Peter Kjellerstedt writes:

ln.patch:
* Define $(LN) as ln in Rules.mak.
* Change all occurrences of ln into $(LN).
* Change all constructs like (cd path && ln -sf foo/file file)
  into $(LN) -sf foo/file path/file. The latter construct is
  already used in a number of places so it should not be
  an additional compatibility problem.



Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/m68k/Makefile,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- Makefile	18 Oct 2003 10:19:39 -0000	1.28
+++ Makefile	18 Oct 2003 10:50:51 -0000	1.29
@@ -63,10 +63,9 @@
 headers:
 ifneq ($(strip $(HAVE_ELF)),y)
 	echo "Working around compiler bug in the m68k-pic-coff toolchain"
-	cd $(TOPDIR)/include && ln -fs ../libc/sysdeps/linux/m68k/float.h .
+	$(LN) -fs ../libc/sysdeps/linux/m68k/float.h $(TOPDIR)/include/
 endif
-	cd $(TOPDIR)/include && ln -fs ../libc/sysdeps/linux/m68k/fpu_control.h .
-
+	$(LN) -fs ../libc/sysdeps/linux/m68k/fpu_control.h $(TOPDIR)/include/
 
 clean:
 	$(RM) *.[oa] *~ core
@@ -74,4 +73,3 @@
 ifneq ($(strip $(HAVE_ELF)),y)
 	$(RM) $(TOPDIR)/include/float.h
 endif
-




More information about the uClibc-cvs mailing list