File: INSTALL

package info (click to toggle)
mtd 20050122-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,244 kB
  • ctags: 9,869
  • sloc: ansic: 97,013; asm: 1,055; sh: 558; makefile: 356; cpp: 68
file content (36 lines) | stat: -rw-r--r-- 1,285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Basic installation
__________________

There are two ways to build mtd from CVS code

1. Inside the kernel tree

Get the source from CVS. Invoke patchin.sh from patches directory.
You have at least to supply the directory of the kernel you want to
patch. A further option is [-j], which patches JFFS(2) filesystems 
into your kernel. 
The script works for kernels >= 2.4 and can be used to prepare 
pristine kernels and update your already mtd-patched kernel to the
latest state of the art.
Depending on your kernel version, which is retrieved from the kernel 
Makefile, some modifications and a bunch of softlinks are brought into your
kernel source.
Go back to your kernel directory and invoke make as usual. No 
restrictions are given, if you want to have the drivers linked 
into your kernel or built as modules.

2. Outside the kernel tree

Get the source from CVS. Modify Makefile in the MTD top directory to
match your kernel directory. This requires a kernel source, which 
has the approriate config switches and some mtd patches set already 
(see below). Invoke make from here. This can build module based stuff only.

Don't wack me if it failes. I never did it this way :)

Enjoy.

$Id: INSTALL,v 1.1 2002/11/26 22:22:39 gleixner Exp $

Thomas Gleixner <tglx@linutronix.de>