[oe-commits] [openembedded-core] 36/39: ncurses: add SYSROOT_DESTDIR for siteconfig_gencache

git at git.openembedded.org git at git.openembedded.org
Tue Aug 29 10:58:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch pyro
in repository openembedded-core.

commit 421850875a5dafa1deed0647b7b30b76df9b25cf
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Wed May 31 16:27:16 2017 +0800

    ncurses: add SYSROOT_DESTDIR for siteconfig_gencache
    
    After switching to Recipe Specific Sysroots, ncurses
    will not be populated in its own sysroots, then
    siteconfig_gencache fails to find some headers,
    so add ${SYSROOT_DESTDIR}/${includedir} into the
    search list to fix the issue.
    
    Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    (cherry picked from commit 2ef34f7fb60ecdff29aae1d54a90a2e765c15e1e)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-core/ncurses/ncurses.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 8990b0f..1f21cd4 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -18,6 +18,8 @@ SRC_URI = "git://anonscm.debian.org/collab-maint/ncurses.git"
 EXTRA_AUTORECONF = "-I m4"
 CONFIG_SITE =+ "${WORKDIR}/config.cache"
 
+EXTRASITECONFIG = "CFLAGS='${CFLAGS} -I${SYSROOT_DESTDIR}${includedir}'"
+
 # Whether to enable separate widec libraries; must be 'true' or 'false'
 #
 # TODO: remove this variable when widec is supported in every setup?

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list