[oe-commits] [openembedded-core] 41/44: openssl_1.0: drop obsolete exporting of AS, EX_LIBS and DIRS

git at git.openembedded.org git at git.openembedded.org
Sun Jul 29 23:00:35 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 078fd1c2fa32e1e9277133d83302cb48df2e1cb9
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Sat Jul 28 13:39:20 2018 -0700

    openssl_1.0: drop obsolete exporting of AS, EX_LIBS and DIRS
    
    Previously (when EXTRA_OEMAKE contained -e) exporting these variables
    over-rode default values in the top-level openssl Makefile. However,
    since -e was removed from EXTRA_OEMAKE as part of:
    
      http://git.openembedded.org/openembedded-core/commit/?id=537a404cfbb811fcb526cdb5f2e059257de6ef13
    
    exporting these variables does nothing. The comment from that commit
    that only AR is affected by removing -e wasn't correct, but the
    effects of letting the openssl Makefile also control AS, EX_LIBS and
    DIRS seem to be either benign or beneficial.
    
    Since without -e make ignores DIRS from the environment and always
    runs for all subdirs (including "test"), adding "test" to DIRS and
    calling "make depend" again from do_compile_ptest() can be dropped.
    
    Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-connectivity/openssl/openssl_1.0.2o.bb | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
index ee1c1f7..c2d9264 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
@@ -72,9 +72,6 @@ PACKAGECONFIG[cryptodev-linux] = "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS,,cryp
 # vulnerability
 EXTRA_OECONF = "no-ssl3"
 
-export DIRS = "crypto ssl apps engines"
-export AS = "${CC} -c"
-export EX_LIBS = "-lgcc -ldl"
 export OE_LDFLAGS = "${LDFLAGS}"
 
 # openssl fails with ccache: https://bugzilla.yoctoproject.org/show_bug.cgi?id=12810
@@ -222,9 +219,6 @@ do_compile_class-target () {
 }
 
 do_compile_ptest () {
-	# build dependencies for test directory too
-	export DIRS="$DIRS test"
-	oe_runmake depend
 	oe_runmake buildtest
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list