* MTD CVS and Official Kernel Tree @ 2001-04-19 16:18 Fabrice Gautier 2001-04-19 16:25 ` David Woodhouse 2001-04-19 20:35 ` MTD CVS and Official Kernel Tree David Schleef 0 siblings, 2 replies; 5+ messages in thread From: Fabrice Gautier @ 2001-04-19 16:18 UTC (permalink / raw) To: mtd Hi, Am I right when I assume that the mtd cvs tree can be applied to a 2.4 kernel tree by coppying directories like this? Mtd cvs ---------------> Kernel Tree mtd/drivers/mtd -------> linux/drivers/mtd mtd/fs ----------------> linux/fs mtd/include -----------> linux/include And then what about the mtd/kernel directory in the CVS ? Thanks, -- Fabrice Gautier <gautier@email.enstfr> To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MTD CVS and Official Kernel Tree 2001-04-19 16:18 MTD CVS and Official Kernel Tree Fabrice Gautier @ 2001-04-19 16:25 ` David Woodhouse 2001-04-19 20:11 ` [PATCH] Makefiles + vmax301 (was Re: MTD CVS and Official Kernel Tree ) Fabrice Gautier 2001-04-19 20:35 ` MTD CVS and Official Kernel Tree David Schleef 1 sibling, 1 reply; 5+ messages in thread From: David Woodhouse @ 2001-04-19 16:25 UTC (permalink / raw) To: Fabrice Gautier; +Cc: mtd gautier@email.enst.fr said: > Am I right when I assume that the mtd cvs tree can be applied to a 2.4 > kernel tree by coppying directories like this? > mtd/drivers/mtd -------> linux/drivers/mtd > mtd/fs ----------------> linux/fs > mtd/include -----------> linux/include Yep. Assuming I got the Makefiles right. Which is unlikely. gautier@email.enst.fr said: > And then what about the mtd/kernel directory in the CVS ? Ignore it. It used to hold all the files which go into linux/drivers/mtd. Now it only contains two obsolete files. -- dwmw2 To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] Makefiles + vmax301 (was Re: MTD CVS and Official Kernel Tree ) 2001-04-19 16:25 ` David Woodhouse @ 2001-04-19 20:11 ` Fabrice Gautier 2001-04-20 1:05 ` David Woodhouse 0 siblings, 1 reply; 5+ messages in thread From: Fabrice Gautier @ 2001-04-19 20:11 UTC (permalink / raw) To: David Woodhouse; +Cc: mtd On Thu, 19 Apr 2001 17:25:56 +0100 David Woodhouse <dwmw2@infradead.org> wrote: > > gautier@email.enst.fr said: > > Am I right when I assume that the mtd cvs tree can be applied to a 2.4 > > kernel tree by coppying directories like this? > > > mtd/drivers/mtd -------> linux/drivers/mtd > > mtd/fs ----------------> linux/fs > > mtd/include -----------> linux/include > > Yep. Assuming I got the Makefiles right. Which is unlikely. The following patch make them good (for me), plus there is another patch for an include problem in vmax301.c. (it's a "works for me" patch) The problems were: 1/ target for nftl.o before global Rules 2/ $TOPDIR instead of $(TOPDIR) in some Makefiles 3/ mixmem.c has disapeared from CVS. Index: drivers/mtd/Makefile =================================================================== RCS file: /home/cvs/mtd/drivers/mtd/Makefile,v retrieving revision 1.55 diff -u -r1.55 Makefile --- drivers/mtd/Makefile 2001/04/18 21:09:29 1.55 +++ drivers/mtd/Makefile 2001/04/19 20:01:24 @@ -62,7 +62,8 @@ nftl-objs := nftlcore.o nftlmount.o +include $(TOPDIR)/Rules.make + nftl.o: $(nftl-objs) $(LD) -r -o $@ $(nftl-objs) -include $(TOPDIR)/Rules.make Index: drivers/mtd/chips/Makefile =================================================================== RCS file: /home/cvs/mtd/drivers/mtd/chips/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- drivers/mtd/chips/Makefile 2001/04/18 21:09:28 1.1 +++ drivers/mtd/chips/Makefile 2001/04/19 20:01:24 @@ -21,4 +21,4 @@ obj-$(CONFIG_MTD_ROM) += map_rom.o obj-$(CONFIG_MTD_SHARP) += sharp.o -include $TOPDIR/Rules.make +include $(TOPDIR)/Rules.make Index: drivers/mtd/devices/Makefile =================================================================== RCS file: /home/cvs/mtd/drivers/mtd/devices/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- drivers/mtd/devices/Makefile 2001/04/18 21:09:29 1.1 +++ drivers/mtd/devices/Makefile 2001/04/19 20:01:24 @@ -20,4 +20,4 @@ obj-$(CONFIG_MTD_PMC551) += pmc551.o obj-$(CONFIG_MTD_MTDRAM) += mtdram.o -include $TOPDIR/Rules.make +include $(TOPDIR)/Rules.make Index: drivers/mtd/maps/Makefile =================================================================== RCS file: /home/cvs/mtd/drivers/mtd/maps/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- drivers/mtd/maps/Makefile 2001/04/18 21:09:29 1.1 +++ drivers/mtd/maps/Makefile 2001/04/19 20:01:24 @@ -12,7 +12,6 @@ obj-$(CONFIG_MTD_DC21285) += dc21285.o obj-$(CONFIG_MTD_ELAN_104NC) += elan-104nc.o obj-$(CONFIG_MTD_IQ80310) += iq80310.o -obj-$(CONFIG_MTD_MIXMEM) += mixmem.o obj-$(CONFIG_MTD_NORA) += nora.o obj-$(CONFIG_MTD_OCTAGON) += octagon-5066.o obj-$(CONFIG_MTD_PHYSMAP) += physmap.o @@ -24,4 +23,4 @@ obj-$(CONFIG_MTD_SUN_UFLASH) += sun_uflash.o obj-$(CONFIG_MTD_VMAX) += vmax301.o -include $TOPDIR/Rules.make +include $(TOPDIR)/Rules.make Index: drivers/mtd/nand/Makefile =================================================================== RCS file: /home/cvs/mtd/drivers/mtd/nand/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- drivers/mtd/nand/Makefile 2001/04/18 21:09:29 1.1 +++ drivers/mtd/nand/Makefile 2001/04/19 20:01:25 @@ -9,4 +9,4 @@ obj-$(CONFIG_MTD_NAND_ECC) += nand_ecc.o obj-$(CONFIG_MTD_NAND_SPIA) += spia.o -include $TOPDIR/Rules.make +include $(TOPDIR)/Rules.make This one is for an include problem in vmax301.c Index: drivers/mtd/maps/vmax301.c =================================================================== RCS file: /home/cvs/mtd/drivers/mtd/maps/vmax301.c,v retrieving revision 1.19 diff -u -r1.19 vmax301.c --- drivers/mtd/maps/vmax301.c 2001/03/17 16:18:29 1.19 +++ drivers/mtd/maps/vmax301.c 2001/04/19 20:01:25 @@ -20,7 +20,7 @@ #include <linux/malloc.h> #include <linux/ioport.h> #include <linux/init.h> -#include <asm/spinlock.h> +#include <linux/spinlock.h> #include <asm/io.h> #include <linux/mtd/map.h> -- Fabrice Gautier <gautier@email.enstfr> To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Makefiles + vmax301 (was Re: MTD CVS and Official Kernel Tree ) 2001-04-19 20:11 ` [PATCH] Makefiles + vmax301 (was Re: MTD CVS and Official Kernel Tree ) Fabrice Gautier @ 2001-04-20 1:05 ` David Woodhouse 0 siblings, 0 replies; 5+ messages in thread From: David Woodhouse @ 2001-04-20 1:05 UTC (permalink / raw) To: Fabrice Gautier; +Cc: mtd gautier@email.enst.fr said: > The problems were: > 1/ target for nftl.o before global Rules > 2/ $TOPDIR instead of $(TOPDIR) in some Makefiles > 3/ mixmem.c has disapeared from CVS. Thanks; applied - along with the rest of the Makefile cleanup. We should now have clean Makefiles for 2.4 kernels, along with hacks in the GNUmakefiles to fix up the out-of-kernel and 2.[02] builds. I hate make. -- dwmw2 To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MTD CVS and Official Kernel Tree 2001-04-19 16:18 MTD CVS and Official Kernel Tree Fabrice Gautier 2001-04-19 16:25 ` David Woodhouse @ 2001-04-19 20:35 ` David Schleef 1 sibling, 0 replies; 5+ messages in thread From: David Schleef @ 2001-04-19 20:35 UTC (permalink / raw) To: Fabrice Gautier; +Cc: mtd On Thu, Apr 19, 2001 at 06:18:58PM +0200, Fabrice Gautier wrote: > Hi, > > Am I right when I assume that the mtd cvs tree can be applied to a 2.4 > kernel tree by coppying directories like this? > > Mtd cvs ---------------> Kernel Tree > > mtd/drivers/mtd -------> linux/drivers/mtd > mtd/fs ----------------> linux/fs > mtd/include -----------> linux/include > > And then what about the mtd/kernel directory in the CVS ? Funny you should mention this, as I just set up my autobuilder yesterday to create a kernel patch nightly from the latest CVS and the latest kernel. I'm using it for other autobuilding purposes, but I can have it upload the patches somewhere useful it people are interested. dave... To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-04-20 1:06 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-04-19 16:18 MTD CVS and Official Kernel Tree Fabrice Gautier 2001-04-19 16:25 ` David Woodhouse 2001-04-19 20:11 ` [PATCH] Makefiles + vmax301 (was Re: MTD CVS and Official Kernel Tree ) Fabrice Gautier 2001-04-20 1:05 ` David Woodhouse 2001-04-19 20:35 ` MTD CVS and Official Kernel Tree David Schleef
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox