Mercurial > yaffs-ecoscentric
annotate Makefile.kernel @ 56:d9a8dfe4cd72
Correct the calculation of the block number to erase.
The use of ">> 5" to calculate the block number from the chunk number
was incorrect for the actual value of PAGES_PER_BLOCK (64).
At the same time, make this less error prone.
| author | luc |
|---|---|
| date | Mon, 01 Aug 2005 21:48:41 +0100 |
| parents | 9fff486c54cb |
| children | 1ac3b3f66ac1 |
| rev | line source |
|---|---|
|
52
9fff486c54cb
Added files that support the ability to "patchin" yaffs2 into the 2.6
marty
parents:
diff
changeset
|
1 # |
|
9fff486c54cb
Added files that support the ability to "patchin" yaffs2 into the 2.6
marty
parents:
diff
changeset
|
2 # Makefile for the linux YAFFS filesystem routines. |
|
9fff486c54cb
Added files that support the ability to "patchin" yaffs2 into the 2.6
marty
parents:
diff
changeset
|
3 # |
|
9fff486c54cb
Added files that support the ability to "patchin" yaffs2 into the 2.6
marty
parents:
diff
changeset
|
4 |
|
9fff486c54cb
Added files that support the ability to "patchin" yaffs2 into the 2.6
marty
parents:
diff
changeset
|
5 obj-$(CONFIG_YAFFS_FS) += yaffs.o |
|
9fff486c54cb
Added files that support the ability to "patchin" yaffs2 into the 2.6
marty
parents:
diff
changeset
|
6 |
|
9fff486c54cb
Added files that support the ability to "patchin" yaffs2 into the 2.6
marty
parents:
diff
changeset
|
7 yaffs-y := yaffs_ecc.o yaffs_fs.o yaffs_guts.o |
|
9fff486c54cb
Added files that support the ability to "patchin" yaffs2 into the 2.6
marty
parents:
diff
changeset
|
8 yaffs-y += yaffs_packedtags2.o |
|
9fff486c54cb
Added files that support the ability to "patchin" yaffs2 into the 2.6
marty
parents:
diff
changeset
|
9 yaffs-y += yaffs_tagscompat.o yaffs_tagsvalidity.o |
|
9fff486c54cb
Added files that support the ability to "patchin" yaffs2 into the 2.6
marty
parents:
diff
changeset
|
10 yaffs-y += yaffs_mtdif.o yaffs_mtdif2.o |
