aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/fbida
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2016-04-27 19:04:53 +0530
committerMartin Jansa <Martin.Jansa@gmail.com>2016-05-06 12:38:33 +0200
commitcdd326f7a61fdf02773a22bf8c5c099c58b205a9 (patch)
treebb16b259cfd761d833913f6178da3e72e9b7b254 /meta-oe/recipes-graphics/fbida
parente03e5d6688ad8e11bab3828cb8366f211fde9ebc (diff)
downloadmeta-openembedded-contrib-cdd326f7a61fdf02773a22bf8c5c099c58b205a9.tar.gz
meta-openembedded-contrib-cdd326f7a61fdf02773a22bf8c5c099c58b205a9.tar.bz2
meta-openembedded-contrib-cdd326f7a61fdf02773a22bf8c5c099c58b205a9.zip
fbida: use separate builddir
Separate builddir from the sourcedir. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Sujith H <sujith.h@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/fbida')
-rw-r--r--meta-oe/recipes-graphics/fbida/fbida_2.10.bb5
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 8d3da69aaf..c14fc9b682 100644
--- a/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
+++ b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
@@ -14,7 +14,9 @@ SRC_URI = "https://www.kraxel.org/releases/fbida/fbida-${PV}.tar.gz"
SRC_URI[md5sum] = "09460b964b58c2e39b665498eca29018"
SRC_URI[sha256sum] = "7a5a3aac61b40a6a2bbf716d270a46e2f8e8d5c97e314e927d41398a4d0b6cb6"
-EXTRA_OEMAKE = "STRIP="
+B = "${WORKDIR}/build"
+
+EXTRA_OEMAKE = "STRIP= 'srcdir=${S}' -f ${S}/GNUmakefile"
PACKAGECONFIG ??= "gif png curl"
PACKAGECONFIG[curl] = ",,curl"
@@ -26,6 +28,7 @@ PACKAGECONFIG[webp] = ",,libwebp"
PACKAGECONFIG[lirc] = ",,lirc"
do_compile() {
+ sed -i -e 's# fbgs# \$(srcdir)/fbgs#; s#-Ijpeg#-I\$(srcdir)/jpeg#; s# jpeg/# \$(srcdir)/jpeg/#' ${S}/GNUmakefile
sed -i -e 's:/sbin/ldconfig:echo x:' ${S}/mk/Autoconf.mk
sed -i -e 's: cpp: ${TARGET_PREFIX}cpp -I${STAGING_INCDIR}:' ${S}/GNUmakefile