lkcd
[Top] [All Lists]

Re: dump_rle.o doesn't get compiled for new lkcd patch

To: shaider@xxxxxxxxxx
Subject: Re: dump_rle.o doesn't get compiled for new lkcd patch
From: "Vamsi Krishna S ." <vamsi@xxxxxxxxxx>
Date: Wed, 24 Oct 2001 13:49:05 +0530
Cc: lkcd <lkcd@xxxxxxxxxxx>, "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
In-reply-to: <CA256AEF.00283F7A.00@xxxxxxxxxxxxxxxxxxx>; from shaider@xxxxxxxxxx on Wed, Oct 24, 2001 at 01:13:54PM +0530
References: <CA256AEF.00283F7A.00@xxxxxxxxxxxxxxxxxxx>
Reply-to: vamsi@xxxxxxxxxx
Sender: owner-lkcd@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
The patch given below should fix it. 

Matt,

If it is okay with you, I will check this in.

Vamsi Krishna S.
Linux Technology Center,
IBM Software Lab, Bangalore.
Ph: +91 80 5262355 Extn: 3959
Internet: vamsi@xxxxxxxxxx

On Wed, Oct 24, 2001 at 01:13:54PM +0530, shaider@xxxxxxxxxx wrote:

>      I'm having some problems with the new lkcd-4.0 patch.  The dump_rle.c
> file in the linux/drivers/dump directory is not getting compiled when I
> build the kernel.  I have configured the kernel with both CONFIG_DUMP and
> CONFIG_DUMP_COMPRESS_RLE set to y (and not loadable modules).  However, the
> dump_rle.o never gets built.
> 
<snip>
-- 

diff -urN -X dontdiff lkcd_cvs_orig/2.4/Makefile lkcd_cvs/2.4/Makefile
--- lkcd_cvs_orig/2.4/Makefile  Mon Sep 24 15:09:00 2001
+++ lkcd_cvs/2.4/Makefile       Wed Oct 24 13:39:01 2001
@@ -146,7 +146,7 @@
 DRIVERS-$(CONFIG_ARCNET) += drivers/net/arcnet/arcnetdrv.o
 DRIVERS-$(CONFIG_ATM) += drivers/atm/atm.o
 DRIVERS-$(CONFIG_IDE) += drivers/ide/idedriver.o
-DRIVERS-$(CONFIG_DUMP) += drivers/dump/dump.o
+DRIVERS-$(CONFIG_DUMP) += drivers/dump/dumpdrv.o
 DRIVERS-$(CONFIG_SCSI) += drivers/scsi/scsidrv.o
 DRIVERS-$(CONFIG_FUSION_BOOT) += drivers/message/fusion/fusion.o
 DRIVERS-$(CONFIG_IEEE1394) += drivers/ieee1394/ieee1394drv.o
diff -urN -X dontdiff lkcd_cvs_orig/2.4/drivers/dump/Makefile 
lkcd_cvs/2.4/drivers/dump/Makefile
--- lkcd_cvs_orig/2.4/drivers/dump/Makefile     Mon Sep 24 15:49:56 2001
+++ lkcd_cvs/2.4/drivers/dump/Makefile  Wed Oct 24 13:39:40 2001
@@ -6,15 +6,16 @@
 # the dump directory.
 #
 
+O_TARGET       :=      dumpdrv.o
 export-objs    :=
 
 list-multi     :=      dump.o
 dump-objs      :=      dump_base.o
 
 # get the base dump module and compression modules out of the way
+obj-$(CONFIG_DUMP)                     += dump.o
 obj-$(CONFIG_DUMP_COMPRESS_RLE)                += dump_rle.o
 obj-$(CONFIG_DUMP_COMPRESS_GZIP)       += dump_gzip.o
-obj-$(CONFIG_DUMP)                     += dump.o
 
 # now deal with each individual architecture.
 ifeq ($(ARCH),i386)
@@ -29,7 +30,7 @@
        dump-objs               += dump_ia64.o
 endif
 
+include $(TOPDIR)/Rules.make
+
 dump.o:        $(dump-objs)
        $(LD) -r -o $@ $(dump-objs)
-
-include $(TOPDIR)/Rules.make

<Prev in Thread] Current Thread [Next in Thread>