Pass font config to config.h and not by TARGET_CFLAGS as adding

arguments doesn't work if TARGET_CFLAGS is specified on command
	line.
This commit is contained in:
Vladimir Serbinenko 2013-12-04 10:25:53 +01:00
parent 60d5e9cbd9
commit 6f07c4e407
8 changed files with 19 additions and 11 deletions

View file

@ -33,7 +33,7 @@
GRUB_MOD_LICENSE ("GPLv3+");
#ifdef USE_ASCII_FALLBACK
#if HAVE_FONT_SOURCE
#include "ascii.h"
#endif
@ -110,14 +110,14 @@ static struct grub_font null_font;
/* Flag to ensure module is initialized only once. */
static grub_uint8_t font_loader_initialized;
#ifdef USE_ASCII_FALLBACK
#if HAVE_FONT_SOURCE
static struct grub_font_glyph *ascii_font_glyph[0x80];
#endif
static struct grub_font_glyph *
ascii_glyph_lookup (grub_uint32_t code)
{
#ifdef USE_ASCII_FALLBACK
#if HAVE_FONT_SOURCE
static int ascii_failback_initialized = 0;
if (code >= 0x80)