diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-08-08 14:48:00 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-09-13 17:16:28 -0700 |
commit | 4b01e200eb03695b3e98661b4eb18ec39b6e1445 (patch) | |
tree | 7e7df4a6f1e1d9a044e786788ffd531cd4c37b62 /meta-oe/recipes-graphics/fbida/fbida_2.10.bb | |
parent | af09a2d721bc1979ebda3d8656e8aed73a92a14d (diff) | |
download | meta-openembedded-4b01e200eb03695b3e98661b4eb18ec39b6e1445.tar.gz |
fbida: Fix build with libjpeg-turbo
Dont hardcode cpp to point to gcc collection, helps
compiling with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/fbida/fbida_2.10.bb')
-rw-r--r-- | meta-oe/recipes-graphics/fbida/fbida_2.10.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/fbida/fbida_2.10.bb b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb index 1febac8e9..0bf48ace6 100644 --- a/meta-oe/recipes-graphics/fbida/fbida_2.10.bb +++ b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb | |||
@@ -12,6 +12,9 @@ DEPENDS = "virtual/libiconv jpeg fontconfig freetype libexif" | |||
12 | 12 | ||
13 | SRC_URI = "https://www.kraxel.org/releases/fbida/fbida-${PV}.tar.gz \ | 13 | SRC_URI = "https://www.kraxel.org/releases/fbida/fbida-${PV}.tar.gz \ |
14 | file://0001-Avoid-using-host-path.patch \ | 14 | file://0001-Avoid-using-host-path.patch \ |
15 | file://fix-preprocessor.patch \ | ||
16 | file://support-jpeg-turbo.patch \ | ||
17 | file://use-jpeg-turbo.patch \ | ||
15 | " | 18 | " |
16 | SRC_URI[md5sum] = "09460b964b58c2e39b665498eca29018" | 19 | SRC_URI[md5sum] = "09460b964b58c2e39b665498eca29018" |
17 | SRC_URI[sha256sum] = "7a5a3aac61b40a6a2bbf716d270a46e2f8e8d5c97e314e927d41398a4d0b6cb6" | 20 | SRC_URI[sha256sum] = "7a5a3aac61b40a6a2bbf716d270a46e2f8e8d5c97e314e927d41398a4d0b6cb6" |
@@ -34,7 +37,7 @@ PACKAGECONFIG[lirc] = ",,lirc" | |||
34 | do_compile() { | 37 | do_compile() { |
35 | sed -i -e 's# fbgs# \$(srcdir)/fbgs#; s#-Ijpeg#-I\$(srcdir)/jpeg#; s# jpeg/# \$(srcdir)/jpeg/#' ${S}/GNUmakefile | 38 | sed -i -e 's# fbgs# \$(srcdir)/fbgs#; s#-Ijpeg#-I\$(srcdir)/jpeg#; s# jpeg/# \$(srcdir)/jpeg/#' ${S}/GNUmakefile |
36 | sed -i -e 's:/sbin/ldconfig:echo x:' ${S}/mk/Autoconf.mk | 39 | sed -i -e 's:/sbin/ldconfig:echo x:' ${S}/mk/Autoconf.mk |
37 | sed -i -e 's: cpp: ${TARGET_PREFIX}cpp -I${STAGING_INCDIR}:' ${S}/GNUmakefile | 40 | sed -i -e 's: cpp: ${CPP}:' ${S}/GNUmakefile |
38 | 41 | ||
39 | # Be sure to respect preferences (force to "no") | 42 | # Be sure to respect preferences (force to "no") |
40 | # Also avoid issues when ${BUILD_ARCH} == ${HOST_ARCH} | 43 | # Also avoid issues when ${BUILD_ARCH} == ${HOST_ARCH} |