]> code.ossystems Code Review - openembedded-core.git/commitdiff
openjade-native_1.3.2.bb: remove CONFIGUREOPTS as vardep for do_configure
authorMatthew McClintock <msm@freescale.com>
Sun, 4 Dec 2011 20:09:14 +0000 (14:09 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Dec 2011 16:07:17 +0000 (16:07 +0000)
This variable was being expanded immediately and pulling in
paths to the variable dependecies which causes it's sstate-cache
to never be reused

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/openjade/openjade-native_1.3.2.bb

index 0cce46eca259a576b27e0848b2239a6fad8b21e6..18d311e9d5042ab37f8f9c15bac6499c109eaa74 100644 (file)
@@ -28,6 +28,11 @@ EXTRA_OECONF = "--enable-spincludedir=${STAGING_INCDIR}/OpenSP \
 # results in it being specified twice when configure is run.
 CONFIGUREOPTS := "${@d.getVar('CONFIGUREOPTS', True).replace('--datadir=${datadir}', '--datadir=${STAGING_DATADIR}/sgml/openjade-${PV}')}"
 
+# CONFIGUREOPTS has hard coded paths so we need to ignore it's vardeps
+# there are other bits in there too but they are picked up by other variable
+# dependencies so it all works out
+do_configure[vardepsexclude] += "CONNFIGUREOPTS"
+
 CFLAGS =+ "-I${S}/include"
 
 SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst"