diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-04-26 23:00:31 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-04-26 23:00:31 +0300 |
commit | 87d16052ef9d0d563efa78388d20da8b55a1c5ed (patch) | |
tree | 49c9951c777f452d359d654b0bf2461def4dc0c2 /README | |
parent | 7cc3f1c2149e2b00161bd13747b426c15e93d977 (diff) | |
download | xz-embedded-87d16052ef9d0d563efa78388d20da8b55a1c5ed.tar.gz |
Added xz_dec_test module to test the XZ decoder in kernel space.
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -20,19 +20,21 @@ Compiling the Linux kernel module The xz_dec module depends on crc32 module, so make sure that you have it enabled (CONFIG_CRC32). - Building the xz_dec module without support for BCJ filters: + Building the xz_dec and xz_dec_test modules without support for BCJ + filters: cd linux/lib/xz make -C /path/to/kernel/source \ KCPPFLAGS=-I"$(pwd)/../../include" M="$(pwd)" \ - CONFIG_XZ_DEC=m + CONFIG_XZ_DEC=m CONFIG_XZ_DEC_TEST=m - Building the xz_dec module with support for BCJ filters: + Building the xz_dec and xz_dec_test modules with support for BCJ + filters: cd linux/lib/xz make -C /path/to/kernel/source \ KCPPFLAGS=-I"$(pwd)/../../include" M="$(pwd)" \ - CONFIG_XZ_DEC=m CONFIG_XZ_DEC_BCJ=y \ + CONFIG_XZ_DEC=m CONFIG_XZ_DEC_TEST=m CONFIG_XZ_DEC_BCJ=y \ CONFIG_XZ_DEC_X86=y CONFIG_XZ_DEC_POWERPC=y \ CONFIG_XZ_DEC_IA64=y CONFIG_XZ_DEC_ARM=y \ CONFIG_XZ_DEC_ARMTHUMB=y CONFIG_XZ_DEC_SPARC=y @@ -41,6 +43,9 @@ Compiling the Linux kernel module variables. CONFIG_XZ_DEC_BCJ=y is always required to build the support code shared between all BCJ filters. + Most people don't need the xz_dec_test module. You can skip building + it by omitting CONFIG_XZ_DEC_TEST=m from the make command line. + Compiler requirements XZ Embedded should compile as either GNU-C89 (used in the Linux |