public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Charles Manning <manningc2@actrix.gen.nz>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Newby question --> source tree management
Date: Mon, 20 May 2002 19:48:04 +1200	[thread overview]
Message-ID: <20020520075322.201314088@tiger.actrix.co.nz> (raw)
In-Reply-To: <5253.1021877367@redhat.com>

On Mon, 20 May 2002 18:49, David Woodhouse wrote:
> manningc2@actrix.gen.nz said:
> > OK, I've pulled the latest mtd stuff from CVS and have it in a
> > direcory  called ~/mtd.
> >
> > Now I want to apply these files to my kernel directory (ie so that the
> > files  end up where they should be in the kernel tree).
> >
> > I figure there's some flavour of cp or something that I should be
> > using.
>
> You should be able to build modules just by typing 'make', and it'll find
> the build tree for your kernel in /lib/modules/`uname -r`/build. You can
> override that with LINUXDIR= and also ARCH= and CROSS_COMPILE= as normal
> with a kernel build.
>
> If you want to build stuff into your kernel, copy or symlink the contents
> of the drivers/mtd and include/linux/mtd directories into your kernel tree.
>
> I usually just use symlinks into the checked out MTD tree,
> so I can continue to cvs update it easily, etc.
>
> There's a 'patchin.sh' script which does some of this, I think. I've never
> paid much attention to it.

Thanx David

The symlinks sound like the best option once you get a bit more integrated 
than building seperate modules. 

Manual copying sucketh hugely and sounds rather error prone.

Can you give a few more details on how you structure this? I thought maybe of 
making an equivalence between LINUXDIR and the cvs root  mtd (which to me 
would seem the nicest) , but this would seem to cause pulling CVS to go stomp 
some key files at that level Makefile, COPYING...

Thanx

-- Charles

  reply	other threads:[~2002-05-20  7:53 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16 14:14 FAT for NAND Flash Studying MTD
2002-05-16 14:24 ` David Woodhouse
2002-05-16 14:46   ` Studying MTD
2002-05-16 15:08     ` David Woodhouse
2002-05-16 16:31       ` Paul
2002-05-16 17:35         ` David Woodhouse
2002-05-16 20:34           ` Paul
2002-05-17  6:03             ` David Woodhouse
2002-05-17  6:40               ` Paul
2002-05-18  5:16     ` Yong-iL Joh
2000-01-12 11:37       ` Thomas Gleixner
2002-05-18  7:19       ` David Woodhouse
2002-05-19 23:58       ` FAT for NAND Flash --> Use of OOB Charles Manning
2002-05-17 13:44   ` FAT for NAND Flash Studying MTD
2002-05-17 13:50     ` David Woodhouse
2002-05-17 14:00       ` Studying MTD
2002-05-17 14:39         ` David Woodhouse
2002-05-17 16:19           ` Studying MTD
2002-05-18 16:00             ` David Woodhouse
2002-05-18 17:53               ` Studying MTD
2002-05-18 18:20               ` Studying MTD
2002-05-19  9:34                 ` David Woodhouse
2002-05-19 23:26                   ` Newby question Charles Manning
2002-05-20  6:49                     ` David Woodhouse
2002-05-20  7:48                       ` Charles Manning [this message]
2002-05-18  5:13 ` FAT for NAND Flash Yong-iL Joh
2002-05-18 15:30   ` Studying MTD
2002-05-20  3:39     ` Yong-iL Joh
2002-05-20 11:36       ` Studying MTD
2002-05-21 10:52         ` Yong-iL Joh
2002-05-21 22:36           ` Charles Manning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020520075322.201314088@tiger.actrix.co.nz \
    --to=manningc2@actrix.gen.nz \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox