]> 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, 30 Jan 2012 16:39:04 +0000 (16:39 +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

(From OE-Core rev: ddb8d3de34f809b9c72eb3a2223a74f75eff7911)

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 6cc6bb5d2b4f2d1062104cf8bfb9afca0c6580f1..72f5bb297b07a3d41cc84702c9bbd08644ab4057 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"