From ee75b5020b3fb70028f3e4653135b1cae754bd20 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Sun, 4 Dec 2011 14:09:14 -0600 Subject: [PATCH] openjade-native_1.3.2.bb: remove CONFIGUREOPTS as vardep for do_configure 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) (From OE-Core rev: 8f616810b868a30fc01550c017f9fc14220ae7d8) Signed-off-by: Matthew McClintock Signed-off-by: Richard Purdie --- meta/recipes-devtools/openjade/openjade-native_1.3.2.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb index 6cc6bb5d2b..72f5bb297b 100644 --- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb +++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb @@ -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"