diff options
author | Richard Purdie <richard@openedhand.com> | 2007-07-10 14:52:07 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-07-10 14:52:07 +0000 |
commit | df6134d575f7772181353cb9aad7d2244e3452d5 (patch) | |
tree | 9753ea6b3909d0f8f8cb1a7d8f6c36e178e4bf43 /meta/packages/mtd/mtd-utils/add_lzo.patch | |
parent | b15ec7a7ffdf8ce5d21b825e2ac67433b0911649 (diff) | |
download | poky-df6134d575f7772181353cb9aad7d2244e3452d5.tar.gz |
mtd-utils: Tweak LZO patches
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2145 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/mtd/mtd-utils/add_lzo.patch')
-rw-r--r-- | meta/packages/mtd/mtd-utils/add_lzo.patch | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/packages/mtd/mtd-utils/add_lzo.patch b/meta/packages/mtd/mtd-utils/add_lzo.patch index 9afd1ca46b..3421571372 100644 --- a/meta/packages/mtd/mtd-utils/add_lzo.patch +++ b/meta/packages/mtd/mtd-utils/add_lzo.patch | |||
@@ -1,3 +1,5 @@ | |||
1 | Subject: [mtd-utils patch 1/2] Add lzo support to mtd-utils | ||
2 | |||
1 | Add LZO support to mtd-utils to generate LZO compressed jffs2 images | 3 | Add LZO support to mtd-utils to generate LZO compressed jffs2 images |
2 | 4 | ||
3 | Unlike the kernel version, the standard lzo userspace library is used | 5 | Unlike the kernel version, the standard lzo userspace library is used |
@@ -39,7 +41,7 @@ Index: git/compr.c | |||
39 | jffs2_rtime_init(); | 41 | jffs2_rtime_init(); |
40 | #endif | 42 | #endif |
41 | +#ifdef CONFIG_JFFS2_LZO | 43 | +#ifdef CONFIG_JFFS2_LZO |
42 | + jffs2_lzo_init(); | 44 | + jffs2_lzo_init(); |
43 | +#endif | 45 | +#endif |
44 | return 0; | 46 | return 0; |
45 | } | 47 | } |
@@ -49,7 +51,7 @@ Index: git/compr.c | |||
49 | jffs2_zlib_exit(); | 51 | jffs2_zlib_exit(); |
50 | #endif | 52 | #endif |
51 | +#ifdef CONFIG_JFFS2_LZO | 53 | +#ifdef CONFIG_JFFS2_LZO |
52 | + jffs2_lzo_exit(); | 54 | + jffs2_lzo_exit(); |
53 | +#endif | 55 | +#endif |
54 | return 0; | 56 | return 0; |
55 | } | 57 | } |