[oe] qmake_base.bbclass patch to lookup for *.pro within ${S} instead of ${B}
Khem Raj
raj.khem at gmail.com
Mon Dec 27 17:14:48 UTC 2010
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 at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list