* grub-core/lib/xzembed/xz_config.h: Enable all bcj filters when
not doing embedded decompressor.
This commit is contained in:
parent
3cd910a212
commit
92c88fc896
2 changed files with 23 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/lib/xzembed/xz_config.h: Enable all bcj filters when
|
||||||
|
not doing embedded decompressor.
|
||||||
|
|
||||||
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/disk/ldm.c: Rename variables and arguments to prevent
|
* grub-core/disk/ldm.c: Rename variables and arguments to prevent
|
||||||
|
|
|
@ -26,30 +26,41 @@
|
||||||
|
|
||||||
/* Enable BCJ filter decoders. */
|
/* Enable BCJ filter decoders. */
|
||||||
|
|
||||||
#if defined(GRUB_TARGET_CPU_I386) || defined(GRUB_TARGET_CPU_X86_64)
|
#ifndef GRUB_EMBED_DECOMPRESSOR
|
||||||
|
|
||||||
|
#define XZ_DEC_X86
|
||||||
|
#define XZ_DEC_POWERPC
|
||||||
|
#define XZ_DEC_IA64
|
||||||
|
#define XZ_DEC_ARM
|
||||||
|
#define XZ_DEC_ARMTHUMB
|
||||||
|
#define XZ_DEC_SPARC
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#if defined(__i386__) || defined(__x86_64__)
|
||||||
#define XZ_DEC_X86
|
#define XZ_DEC_X86
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GRUB_TARGET_CPU_POWERPC
|
#ifdef __powerpc__
|
||||||
#define XZ_DEC_POWERPC
|
#define XZ_DEC_POWERPC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GRUB_TARGET_CPU_IA64
|
#ifdef __ia64__
|
||||||
#define XZ_DEC_IA64
|
#define XZ_DEC_IA64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GRUB_TARGET_CPU_ARM
|
#ifdef __arm__
|
||||||
#define XZ_DEC_ARM
|
#define XZ_DEC_ARM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
#ifdef __arm__
|
||||||
#define XZ_DEC_ARMTHUMB
|
#define XZ_DEC_ARMTHUMB
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GRUB_TARGET_CPU_SPARC
|
#ifdef __sparc__
|
||||||
#define XZ_DEC_SPARC
|
#define XZ_DEC_SPARC
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "xz.h"
|
#include "xz.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Reference in a new issue