From: akuster808 <akuster808@gmail.com>
To: george.mccollister@gmail.com
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-webserver][PATCH] apache2: fix config_vars.mk path contamination
Date: Wed, 28 Oct 2015 09:23:46 -0700 [thread overview]
Message-ID: <5630F692.6050109@gmail.com> (raw)
In-Reply-To: <1445897141-24786-1-git-send-email-george.mccollister@gmail.com>
George,
Should this be backported to fido and/or dizzy?
- armin
On 10/26/2015 03:05 PM, George McCollister wrote:
> Replace contaminated paths with staging paths so apxs can be successfully used
> in other recipes to build modules when host and target arch differ.
>
> Signed-off-by: George McCollister <george.mccollister@gmail.com>
> ---
> meta-webserver/recipes-httpd/apache2/apache2_2.4.16.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.16.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.16.bb
> index af5c72a..b62fd8c 100644
> --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.16.bb
> +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.16.bb
> @@ -117,6 +117,10 @@ apache_sysroot_preprocess () {
> sed -i 's!^APR_CONFIG = .*!APR_CONFIG = ${STAGING_BINDIR_CROSS}/apr-1-config!' ${SYSROOT_DESTDIR}${datadir}/${BPN}/build/config_vars.mk
> sed -i 's!^APU_CONFIG = .*!APU_CONFIG = ${STAGING_BINDIR_CROSS}/apu-1-config!' ${SYSROOT_DESTDIR}${datadir}/${BPN}/build/config_vars.mk
> sed -i 's!^includedir = .*!includedir = ${STAGING_INCDIR}/apache2!' ${SYSROOT_DESTDIR}${datadir}/${BPN}/build/config_vars.mk
> + sed -i 's!^CFLAGS = -I[^ ]*!CFLAGS = -I${STAGING_INCDIR}/openssl!' ${SYSROOT_DESTDIR}${datadir}/${BPN}/build/config_vars.mk
> + sed -i 's!^EXTRA_LDFLAGS = .*!EXTRA_LDFLAGS = -L${STAGING_LIBDIR}!' ${SYSROOT_DESTDIR}${datadir}/${BPN}/build/config_vars.mk
> + sed -i 's!^EXTRA_INCLUDES = .*!EXTRA_INCLUDES = -I$(includedir) -I. -I${STAGING_INCDIR}!' ${SYSROOT_DESTDIR}${datadir}/${BPN}/build/config_vars.mk
> + sed -i 's!--sysroot=[^ ]*!--sysroot=${STAGING_DIR_HOST}!' ${SYSROOT_DESTDIR}${datadir}/${BPN}/build/config_vars.mk
> }
>
> #
>
next prev parent reply other threads:[~2015-10-28 16:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 22:05 [meta-webserver][PATCH] apache2: fix config_vars.mk path contamination George McCollister
2015-10-28 16:23 ` akuster808 [this message]
2015-10-28 21:16 ` George McCollister
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5630F692.6050109@gmail.com \
--to=akuster808@gmail.com \
--cc=george.mccollister@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox