Messages in this thread Patch in this message | | | Date | Thu, 4 Mar 1999 08:50:01 +0100 | From | Paul Slootman <> | Subject | Re: Linux 2.0.37pre8 |
| |
Could I bother you to put in the following two patches? The first is from 2.2 to automagically determine the architecture (I fell into this trap again when trying 2.0.37pre7 on alpha, after having been spoilt by the 2.2 Makefile).
The second is to allow for make versions >= 3.77, which barfs on an rvalue alone on a line without an lvalue to which to assign it to. Believe me, this is also a FAQ on the alpha lists.
---------------------------------------------------------------------- --- Makefile.orig Mon Nov 16 13:53:42 1998 +++ Makefile Thu Mar 4 08:43:35 1999 @@ -2,7 +2,7 @@ PATCHLEVEL = 0 SUBLEVEL = 36 -ARCH = i386 +ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/) # # For SMP kernels, set this. We don't want to have this in the config file --- arch/alpha/Makefile.orig Mon Sep 28 15:27:35 1998 +++ arch/alpha/Makefile Thu Mar 4 08:43:54 1999 @@ -27,9 +27,9 @@ CFLAGS := $(CFLAGS) -mno-fp-regs # determine if we can use the BWX instructions with GAS -$(shell rm -f /tmp/GAS_VER) +dummy=$(shell rm -f /tmp/GAS_VER) #$(shell $(AS) --version >& /tmp/GAS_VER) -$(shell $(AS) --version > /tmp/GAS_VER 2>&1) +dummy=$(shell $(AS) --version > /tmp/GAS_VER 2>&1) OLD_GAS := $(shell if cat /tmp/GAS_VER | grep 'version 2.7' > /dev/null; then echo yes; else echo no; fi) ifneq ($(OLD_GAS),yes) ---------------------------------------------------------------------- Paul Slootman -- home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |