* qmake_base.bbclass patch to lookup for *.pro within ${S} instead of ${B}
@ 2010-12-27 11:59 Denis Dydychkin
2010-12-27 17:14 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Denis Dydychkin @ 2010-12-27 11:59 UTC (permalink / raw)
To: openembedded-devel
qmake_base.bbclass from release-2010.12 has ability to lookup for QMAKE_PROFILES if none specified by recipe. Unfortunately it does that in ${B} directory instead of ${S}, thus it does not work if they differ.
Here is suggested patch:
--- a/classes/qmake_base.bbclass
+++ b/classes/qmake_base.bbclass
@@ -61,7 +61,7 @@ qmake_base_do_configure() {
oenote "using qmake spec in ${QMAKESPEC}, using profiles '${QMAKE_PROFILES}'"
if [ -z "${QMAKE_PROFILES}" ]; then
- PROFILES="`ls *.pro`"
+ PROFILES="`ls ${S}/*.pro`"
else
PROFILES="${QMAKE_PROFILES}"
fi
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: qmake_base.bbclass patch to lookup for *.pro within ${S} instead of ${B} 2010-12-27 11:59 qmake_base.bbclass patch to lookup for *.pro within ${S} instead of ${B} Denis Dydychkin @ 2010-12-27 17:14 ` Khem Raj 0 siblings, 0 replies; 2+ messages in thread From: Khem Raj @ 2010-12-27 17:14 UTC (permalink / raw) To: openembedded-devel On 12/27/2010 3:59 AM, Denis Dydychkin wrote: > > qmake_base.bbclass from release-2010.12 has ability to lookup for QMAKE_PROFILES if none specified by recipe. Unfortunately it does that in ${B} directory instead of ${S}, thus it does not work if they differ. > seems ok to me.Wait for qmake expert to comment. > Here is suggested patch: > > > --- a/classes/qmake_base.bbclass > +++ b/classes/qmake_base.bbclass > @@ -61,7 +61,7 @@ qmake_base_do_configure() { > oenote "using qmake spec in ${QMAKESPEC}, using profiles '${QMAKE_PROFILES}'" > > if [ -z "${QMAKE_PROFILES}" ]; then > - PROFILES="`ls *.pro`" > + PROFILES="`ls ${S}/*.pro`" > else > PROFILES="${QMAKE_PROFILES}" > fi > > > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-27 17:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-27 11:59 qmake_base.bbclass patch to lookup for *.pro within ${S} instead of ${B} Denis Dydychkin
2010-12-27 17:14 ` Khem Raj
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox