summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoy.Li <rongqing.li@windriver.com>2013-06-14 15:15:22 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-17 16:45:36 +0100
commit38702506507e9b768995e28f3beebfc9d3c56c6c (patch)
treee92b246e48a2d5b5d5b21a1adc688d114f6a2b56 /meta
parenta83d489dafe5517999363b070ed9fb75f92371d5 (diff)
downloadpoky-38702506507e9b768995e28f3beebfc9d3c56c6c.tar.gz
directfb:filter out -fno-omit-frame-pointer option on x86 arch
directfb need -fomit-frame-pointer option of gcc to build some inline asm code about mmx. But once -fno-omit-frame-pointer was added into TARGET_CFLAGS. That will cause directfb build error on x86 arch. (From OE-Core rev: 07f4030909dcc14c4ce4d6d3690a192c0b4040a9) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/directfb/directfb.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc
index aecc834b1b..cff8a7f312 100644
--- a/meta/recipes-graphics/directfb/directfb.inc
+++ b/meta/recipes-graphics/directfb/directfb.inc
@@ -34,6 +34,10 @@ EXTRA_OECONF = "\
34 --disable-mesa \ 34 --disable-mesa \
35" 35"
36 36
37#Once -fno-omit-frame-pointer option of gcc is added into TARGET_CLFAGS as default
38#this will cause directfb build failure on x86 arch, so filter out it.
39TARGET_CFLAGS_x86 := "${@oe_filter_out('-fno-omit-frame-pointer', '${TARGET_CFLAGS}', d)}"
40
37#PACKAGES_DYNAMIC += "^directfb-inputdrivers-.*" 41#PACKAGES_DYNAMIC += "^directfb-inputdrivers-.*"
38# 42#
39#python populate_packages_prepend () { 43#python populate_packages_prepend () {