From: David Woodhouse <dwmw2@infradead.org>
To: manningc2@actrix.gen.nz
Cc: linux-mtd@lists.infradead.org
Subject: Re: Newby question
Date: Mon, 20 May 2002 07:49:27 +0100 [thread overview]
Message-ID: <5253.1021877367@redhat.com> (raw)
In-Reply-To: <20020519233143.3205B4B93A@dragon.actrix.co.nz>
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.
--
dwmw2
next prev parent reply other threads:[~2002-05-20 6:49 UTC|newest]
Thread overview: 33+ 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 [this message]
2002-05-20 7:48 ` Newby question --> source tree management Charles Manning
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
-- strict thread matches above, loose matches on Subject: below --
2002-10-19 8:00 Newby Question Antonio W. Lagnada
2002-10-23 9:48 ` Antony Stone
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=5253.1021877367@redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=manningc2@actrix.gen.nz \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.