mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-08 03:49:57 +00:00
iperf3: Add OpenSSL build option to PACKAGECONFIG
Make building with OpenSSL optional but enabled by default as today. Signed-off-by: Alexander Vickberg <wickbergster@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
5b7ed1a873
commit
740bdb3e79
@@ -11,8 +11,6 @@ AUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport
|
|||||||
LICENSE = "BSD-3-Clause"
|
LICENSE = "BSD-3-Clause"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=f9088fe7ffdccd042f7645f1012d7f70"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=f9088fe7ffdccd042f7645f1012d7f70"
|
||||||
|
|
||||||
DEPENDS = "openssl"
|
|
||||||
|
|
||||||
SRC_URI = "git://github.com/esnet/iperf.git \
|
SRC_URI = "git://github.com/esnet/iperf.git \
|
||||||
file://0002-Remove-pg-from-profile_CFLAGS.patch \
|
file://0002-Remove-pg-from-profile_CFLAGS.patch \
|
||||||
"
|
"
|
||||||
@@ -23,8 +21,9 @@ S = "${WORKDIR}/git"
|
|||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
|
PACKAGECONFIG ?= "openssl"
|
||||||
|
|
||||||
PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools"
|
PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools"
|
||||||
|
PACKAGECONFIG[openssl] = "--with-openssl=${RECIPE_SYSROOT}${prefix},--without-openssl,openssl"
|
||||||
|
|
||||||
CFLAGS += "-D_GNU_SOURCE"
|
CFLAGS += "-D_GNU_SOURCE"
|
||||||
|
|
||||||
EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}${prefix}"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user