add USE_ASCII_FAILBACK define
This commit is contained in:
parent
00d0648491
commit
2bd591d03e
3 changed files with 7 additions and 2 deletions
|
@ -78,8 +78,6 @@ widthspec.h: widthspec.bin grub-bin2h
|
||||||
$(builddir)/grub-bin2h widthspec < $< > $@
|
$(builddir)/grub-bin2h widthspec < $< > $@
|
||||||
CLEANFILES += widthspec.h
|
CLEANFILES += widthspec.h
|
||||||
|
|
||||||
# XXX: TARGET_CFLAGS += -DUSE_ASCII_FAILBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1
|
|
||||||
|
|
||||||
# Install config.h into platformdir
|
# Install config.h into platformdir
|
||||||
platform_HEADERS = config.h
|
platform_HEADERS = config.h
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@ if COND_i386_ieee1275
|
||||||
endif
|
endif
|
||||||
if COND_mips_yeeloong
|
if COND_mips_yeeloong
|
||||||
CFLAGS_PLATFORM = -march=mips3 -mexplicit-relocs -mflush-func=grub_cpu_flush_cache
|
CFLAGS_PLATFORM = -march=mips3 -mexplicit-relocs -mflush-func=grub_cpu_flush_cache
|
||||||
|
CPPFLAGS_PLATFORM = -DUSE_ASCII_FAILBACK
|
||||||
CCASFLAGS_PLATFORM = -march=mips3
|
CCASFLAGS_PLATFORM = -march=mips3
|
||||||
endif
|
endif
|
||||||
if COND_sparc64_ieee1275
|
if COND_sparc64_ieee1275
|
||||||
|
|
|
@ -8,6 +8,12 @@ CC=$(TARGET_CC)
|
||||||
CPP=$(TARGET_CC)
|
CPP=$(TARGET_CC)
|
||||||
CCAS=$(TARGET_CC)
|
CCAS=$(TARGET_CC)
|
||||||
|
|
||||||
|
if COND_GRUB_MKFONT
|
||||||
|
if COND_HAVE_FONT_SOURCE
|
||||||
|
TARGET_CFLAGS += -DUSE_ASCII_FAILBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
AM_CFLAGS = $(TARGET_CFLAGS)
|
AM_CFLAGS = $(TARGET_CFLAGS)
|
||||||
AM_LDFLAGS = $(TARGET_LDFLAGS)
|
AM_LDFLAGS = $(TARGET_LDFLAGS)
|
||||||
AM_CPPFLAGS = $(TARGET_CPPFLAGS) $(CPPFLAGS_DEFAULT)
|
AM_CPPFLAGS = $(TARGET_CPPFLAGS) $(CPPFLAGS_DEFAULT)
|
||||||
|
|
Loading…
Reference in a new issue