[patch] 2.5.65-mjb1: lkcd: EXTRA_TARGETS is obsolete

From: Adrian Bunk (bunk@fs.tum.de)
Date: Wed Mar 19 2003 - 10:33:04 EST


On Tue, Mar 18, 2003 at 12:22:43AM -0800, Martin J. Bligh wrote:
>...
> lkcd LKCD team
> Linux kernel crash dump support
>...

EXTRA_TARGETS is obsolete in 2.5.

The following should do the same:

--- linux-2.5.65-mjb1/init/Makefile.old 2003-03-19 08:30:22.000000000 +0100
+++ linux-2.5.65-mjb1/init/Makefile 2003-03-19 08:31:22.000000000 +0100
@@ -1,10 +1,6 @@
 #
 # Makefile for the linux kernel.
 #
-ifdef CONFIG_CRASH_DUMP
-EXTRA_TARGETS := kerntypes.o
-CFLAGS_kerntypes.o := -gstabs
-endif
 
 obj-y := main.o version.o mounts.o initramfs.o
 mounts-y := do_mounts.o
@@ -12,6 +8,9 @@
 mounts-$(CONFIG_BLK_DEV_RAM) += do_mounts_rd.o
 mounts-$(CONFIG_BLK_DEV_MD) += do_mounts_md.o
 
+obj-$(CONFIG_CRASH_DUMP) += kerntypes.o
+CFLAGS_kerntypes.o := -gstabs
+
 # files to be removed upon make clean
 clean-files := ../include/linux/compile.h
 

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:27 EST