no-static-libs: Ensure correct whitespace is set for _append
PATCH v2 1/1 no-static-libs: Ensure correct whitespace is set for _append
Adjusted white space in the DISABLE_STATIC to make output of the -e option more readable.
Before:
" --enable-opt1 --with_opt1=${libdir}${DISABLE_STATIC}
After
" --enable-opt1 --with_opt1=${libdir} ${DISABLE_STATIC}
---
v2: Fixed commit message to show what was getting fixed
meta/conf/distro/include/no-static-libs.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/conf/distro/include/no-static-libs.inc +3 -3
@@ -1,4 +1,4 @@ -DISABLE_STATIC = " --disable-static" +DISABLE_STATIC = "--disable-static" # qemu aborts on unrecognised option DISABLE_STATIC_pn-qemu = ""
@@ -27,6 +27,6 @@ DISABLE_STATIC_pn-nativesdk-openssl = "" # libssp-static-dev included in build-appliance DISABLE_STATIC_pn-gcc-runtime = "" -EXTRA_OECONF_append = "${DISABLE_STATIC}" +EXTRA_OECONF_append = " ${DISABLE_STATIC}" -EXTRA_OECMAKE_append_pn-libical = "-DSHARED_ONLY=True" +EXTRA_OECMAKE_append_pn-libical = " -DSHARED_ONLY=True"
Signature · 1 line
2.5.0
Just a note that doing it this way will result in do_configure checksums changing for everything when no-static-libs gets included, even if DISABLE_STATIC is explicitly set to the empty string, as there'll be a trailing space always added to EXTRA_OECONF. If that's okay, so be it, but I wanted to make sure it was considered.
Quoted 44 lines · Saul Wold
Adjusted white space in the
DISABLE_STATICto make output of the -e option more readable.Before:
" --enable-opt1 --with_opt1=${libdir}${DISABLE_STATIC}
After
" --enable-opt1 --with_opt1=${libdir} ${DISABLE_STATIC}Signed-off-by Saul Wold <[email protected]>---
v2: Fixed commit message to show what was getting fixedmeta/conf/distro/include/no-static-libs.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)meta/conf/distro/include/no-static-libs.inc +3
-4@@ -1,4 +1,4 @@ -DISABLE_STATIC = " --disable-static" +DISABLE_STATIC = "--disable-static" # qemu aborts on unrecognised option DISABLE_STATIC_pn-qemu = ""@@ -27,6 +27,6 @@ DISABLE_STATIC_pn-nativesdk-openssl = "" # libssp-static-dev included in build-appliance DISABLE_STATIC_pn-gcc-runtime = "" -EXTRA_OECONF_append = "${DISABLE_STATIC}" +EXTRA_OECONF_append = " ${DISABLE_STATIC}" -EXTRA_OECMAKE_append_pn-libical = "-DSHARED_ONLY=True" +EXTRA_OECMAKE_append_pn-libical = " -DSHARED_ONLY=True" --2.5.0
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 6 lines · Christopher Larson
Just a note that doing it this way will result in
do_configurechecksums changing for everything when no-static-libs gets included, even ifDISABLE_STATICis explicitly set to the empty string, as there'll be a trailing space always added toEXTRA_OECONF. If that's okay, so be it, but I wanted to make sure it was considered.
Mostly agreed. The libical change is right, but keeping the no-impact behaviour for the DISABLE_STATIC variable seems like the right thing to do.
Ross