* grub-core/lib/xzembed/xz_config.h: Enable all bcj filters when

not doing embedded decompressor.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-18 17:13:38 +02:00
parent 3cd910a212
commit 92c88fc896
2 changed files with 23 additions and 7 deletions

View file

@ -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>
* grub-core/disk/ldm.c: Rename variables and arguments to prevent

View file

@ -26,30 +26,41 @@
/* 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
#endif
#ifdef GRUB_TARGET_CPU_POWERPC
#ifdef __powerpc__
#define XZ_DEC_POWERPC
#endif
#ifdef GRUB_TARGET_CPU_IA64
#ifdef __ia64__
#define XZ_DEC_IA64
#endif
#ifdef GRUB_TARGET_CPU_ARM
#ifdef __arm__
#define XZ_DEC_ARM
#endif
#if 0
#ifdef __arm__
#define XZ_DEC_ARMTHUMB
#endif
#ifdef GRUB_TARGET_CPU_SPARC
#ifdef __sparc__
#define XZ_DEC_SPARC
#endif
#endif
#include "xz.h"
#include <stdlib.h>