From ff23ecf6698ed48d18a612aadf1fbae64a47b207 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 18 Oct 2003 10:51:06 +0000 Subject: 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. --- libc/sysdeps/linux/m68k/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/m68k/Makefile') diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile index 321dcf7b3..5c8d3e381 100644 --- a/libc/sysdeps/linux/m68k/Makefile +++ b/libc/sysdeps/linux/m68k/Makefile @@ -63,10 +63,9 @@ $(COBJS): %.o : %.c 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 @@ clean: ifneq ($(strip $(HAVE_ELF)),y) $(RM) $(TOPDIR)/include/float.h endif - -- cgit v1.2.3