[OE-core] [oe][PATCH 1/2] nginx: Add support for altering build configuration

Valluri, Amarnath amarnath.valluri at intel.com
Fri Nov 6 13:18:26 UTC 2015


sorry for noice: please ignore these patches. Wrong list
________________________________________
From: openembedded-core-bounces at lists.openembedded.org [openembedded-core-bounces at lists.openembedded.org] on behalf of Amarnath Valluri [amarnath.valluri at intel.com]
Sent: Friday, November 06, 2015 3:18 PM
To: openembedded-core at lists.openembedded.org
Subject: [OE-core] [oe][PATCH 1/2] nginx: Add support for altering build        configuration

Passing EXTRA_OECONF to ./configure, this allows to alter build
configure

Signed-off-by: Amarnath Valluri <amarnath.valluri at intel.com>
---
 meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb b/meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb
index a251523..1c9bff7 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb
+++ b/meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb
@@ -27,6 +27,8 @@ inherit update-rc.d useradd
 CFLAGS_append = " -fPIE -pie"
 CXXFLAGS_append = " -fPIE -pie"

+EXTRA_OECONF = ""
+
 do_configure () {
        if [ "${SITEINFO_BITS}" = "64" ]; then
                PTRSIZE=8
@@ -55,7 +57,8 @@ do_configure () {
        --pid-path=/run/nginx/nginx.pid \
        --prefix=${prefix} \
        --with-http_ssl_module \
-       --with-http_gzip_static_module
+       --with-http_gzip_static_module \
+       ${EXTRA_OECONF}
 }

 do_install () {
--
1.9.1

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core at lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




More information about the Openembedded-core mailing list