summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-09-19 19:15:08 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-09-19 19:15:08 +0000
commit03ba4131783cc9e872f8bb26a03f15bc11f27564 (patch)
tree88db8dba75ae06ba3bad08e42c5e52efc162535c /arch/alpha/kernel/Makefile
parent257730f99381dd26e10b832fce4c94cae7ac1176 (diff)
- Merge with Linux 2.1.121.
- Bugfixes.
Diffstat (limited to 'arch/alpha/kernel/Makefile')
-rw-r--r--arch/alpha/kernel/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/alpha/kernel/Makefile b/arch/alpha/kernel/Makefile
index fcbb37615..68a130f4e 100644
--- a/arch/alpha/kernel/Makefile
+++ b/arch/alpha/kernel/Makefile
@@ -8,9 +8,9 @@
# Note 2! The CFLAGS definitions are now in the main makefile...
.S.s:
- $(CPP) -D__ASSEMBLY__ $(AFLAGS) -traditional $< -o $*.s
+ $(CC) -D__ASSEMBLY__ $(AFLAGS) -E -o $*.s $<
.S.o:
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+ $(CC) -D__ASSEMBLY__ $(AFLAGS) -c -o $*.o $<
all: kernel.o head.o
@@ -117,4 +117,13 @@ endif
all: kernel.o head.o
+asm_offsets: check_asm
+ ./check_asm > $(TOPDIR)/include/asm-alpha/asm_offsets.h
+
+check_asm: check_asm.c
+ gcc -o $@ $< -I$(TOPDIR)/include -D__KERNEL__ -ffixed-8
+
+clean::
+ rm -f check_asm
+
include $(TOPDIR)/Rules.make