patch-2.1.121 linux/arch/alpha/kernel/Makefile
Next file: linux/arch/alpha/kernel/bios32.c
Previous file: linux/arch/alpha/defconfig
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Sep 6 10:34:33 1998
- Orig file:
v2.1.120/linux/arch/alpha/kernel/Makefile
- Orig date:
Tue Aug 18 22:02:01 1998
diff -u --recursive --new-file v2.1.120/linux/arch/alpha/kernel/Makefile linux/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
@@ -116,5 +116,14 @@
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
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov