patch-2.4.0-test5 linux/arch/sparc64/Makefile
Next file: linux/arch/sparc64/defconfig
Previous file: linux/arch/sparc/mm/viking.S
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Jul 26 18:36:44 2000
- Orig file:
v2.4.0-test4/linux/arch/sparc64/Makefile
- Orig date:
Mon Mar 27 08:08:22 2000
diff -u --recursive --new-file v2.4.0-test4/linux/arch/sparc64/Makefile linux/arch/sparc64/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.43 2000/03/21 06:12:28 davem Exp $
+# $Id: Makefile,v 1.45 2000/07/18 15:24:28 jj Exp $
# sparc64/Makefile
#
# Makefile for the architecture dependent flags and dependencies on the
@@ -12,7 +12,7 @@
# line...
SHELL =/bin/bash
-CC := sparc64-linux-gcc
+CC := $(shell if gcc -m64 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo gcc; else echo sparc64-linux-gcc; fi )
NEW_GCC := $(shell if $(CC) -m64 -mcmodel=medlow -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo y; else echo n; fi; )
NEW_GAS := $(shell if $(LD) --version 2>&1 | grep 'elf64_sparc' > /dev/null; then echo y; else echo n; fi)
@@ -94,8 +94,9 @@
rm -f $(TOPDIR)/vmlinux.aout
archmrproper:
+ rm -f $(TOPDIR)/include/asm-sparc64/asm_offsets.h
-archdep:
+archdep: check_asm
check_asm:
$(MAKE) -C arch/sparc64/kernel check_asm
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)