diff options
author | Matthieu CRAPET <Matthieu.CRAPET@ingenico.com> | 2014-03-20 09:55:53 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-03-26 21:57:48 +0100 |
commit | 8f841276d47ddcd508de0097081ad500df06cac1 (patch) | |
tree | ccc9999e72aa02a59d5d99c48361bb086e9237fa /meta-oe/recipes-graphics/fim/files/cross_cc.patch | |
parent | 7dfa6be8c5d9b093ae79c403c685c6b8ed6216dd (diff) | |
download | meta-openembedded-8f841276d47ddcd508de0097081ad500df06cac1.tar.gz |
fim: add "hf" PACKAGECONFIG option
This embedds a console font in fim executable.
To use it, don't forget to define FBFONT with the special value:
export FBFONT='fim://'
Option is enabled by default because kdb-consolefonts package
only provides PSF version 2 files (fim only support version 1 and creates an error).
Benchmarked fim executable size: +6Kb (x86_64) and +7Kb (armv7).
Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/fim/files/cross_cc.patch')
-rw-r--r-- | meta-oe/recipes-graphics/fim/files/cross_cc.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/fim/files/cross_cc.patch b/meta-oe/recipes-graphics/fim/files/cross_cc.patch new file mode 100644 index 0000000000..85ab1ef4a0 --- /dev/null +++ b/meta-oe/recipes-graphics/fim/files/cross_cc.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 9b0b322d86c7b2d2cddaa62f7dab4aa669739a48 Mon Sep 17 00:00:00 2001 | ||
2 | From: Matthieu Crapet <Matthieu.Crapet@ingenico.com> | ||
3 | Date: Wed, 19 Mar 2014 13:18:21 +0100 | ||
4 | Subject: [PATCH] Upstream-Status: Pending | ||
5 | |||
6 | b2ba should be built by BUILD_CC in cross environment | ||
7 | This is only used when configured with --enable-hardcoded-font | ||
8 | |||
9 | Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> | ||
10 | --- | ||
11 | src/Makefile.am | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
15 | index a1d4330..a8150b9 100644 | ||
16 | --- a/src/Makefile.am | ||
17 | +++ b/src/Makefile.am | ||
18 | @@ -63,7 +63,7 @@ help-acm.cpp: fim.h | ||
19 | $(ECHO) '//#endif' >> $@ | ||
20 | |||
21 | b2ba: | ||
22 | - $(CC) -o b2ba b2ba.c | ||
23 | + $(BUILD_CC) -o b2ba b2ba.c | ||
24 | |||
25 | if FIM_WANT_CUSTOM_HARDCODED_CONSOLEFONT | ||
26 | default_font_byte_array.h: $(FIM_CUSTOM_HARDCODED_CONSOLEFONT) b2ba | ||
27 | -- | ||
28 | 1.8.5.4 | ||
29 | |||