annotate README-linux-patch @ 185:61cb2c96f833

Add a symlink option to the patching script
author charles <charles>
date Wed, 25 Jul 2007 01:04:38 +0000
parents 10b81b1cbef7
children 55004e797a2d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
170
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
1 To build YAFFS in the Linux kernel tree you need to run the patch-ker.sh
185
61cb2c96f833 Add a symlink option to the patching script
charles <charles>
parents: 170
diff changeset
2 script from the yaffs soiurce directory, giving your chouce as to whether
61cb2c96f833 Add a symlink option to the patching script
charles <charles>
parents: 170
diff changeset
3 you wish to copy or link the code and the path to your kernel sources, e.g:
170
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
4
185
61cb2c96f833 Add a symlink option to the patching script
charles <charles>
parents: 170
diff changeset
5 ./patch-ker.sh c /usr/src/linux
170
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
6
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
7 This will copy the yaffs files into fs/yaffs2 and modify the Kconfig
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
8 and Makefiles in the fs directory.
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
9
185
61cb2c96f833 Add a symlink option to the patching script
charles <charles>
parents: 170
diff changeset
10 ./patch-ker.sh l /usr/src/linux
61cb2c96f833 Add a symlink option to the patching script
charles <charles>
parents: 170
diff changeset
11
61cb2c96f833 Add a symlink option to the patching script
charles <charles>
parents: 170
diff changeset
12 This does the same as the above but makes symbolic links instead.
61cb2c96f833 Add a symlink option to the patching script
charles <charles>
parents: 170
diff changeset
13
170
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
14 After you've run the script, go back to your normal kernel making procedure
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
15 and configure the yaffs settings you want.
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
16
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
17 Prolems? Contact the yaffs mailing list:
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
18
10b81b1cbef7 Add linux patching readme, updated from YAFFS1
wookey <wookey>
parents:
diff changeset
19 http://www.aleph1.co.uk/mailman/listinfo/yaffs.hmtl