diff options
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 | } |