patch-2.2.17 linux/arch/ppc/kernel/Makefile
Next file: linux/arch/ppc/kernel/apus_setup.c
Previous file: linux/arch/ppc/defconfig
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Mon Sep 4 18:39:16 2000
- Orig file:
v2.2.16/arch/ppc/kernel/Makefile
- Orig date:
Mon Sep 4 18:37:47 2000
diff -u --recursive --new-file v2.2.16/arch/ppc/kernel/Makefile linux/arch/ppc/kernel/Makefile
@@ -7,8 +7,13 @@
#
# Note 2! The CFLAGS definitions are now in the main makefile...
+# Once a gas that groks -mvec is generally available, we'll use it...
.S.o:
+#ifdef CONFIG_ALTIVEC
+# $(CC) $(CFLAGS) -D__ASSEMBLY__ -Wa,-mvec -c $< -o $*.o
+#else
$(CC) $(CFLAGS) -D__ASSEMBLY__ -c $< -o $*.o
+#endif
O_TARGET := kernel.o
OX_OBJS := ppc_ksyms.o setup.o
@@ -62,7 +67,8 @@
$(TOPDIR)/include/asm/ptrace.h
$(CC) ${CFLAGS} -S mk_defs.c
cp ppc_defs.head ppc_defs.h
- grep '^#define' mk_defs.s >>ppc_defs.h
+ chmod 755 ppc_defs.h
+ grep '^#define' mk_defs.s >> ppc_defs.h
rm mk_defs.s
find_name : find_name.c
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)