diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-01-23 15:17:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-26 10:44:28 +0000 |
commit | f98baa62e517232e3da429c9452c0fef442f6e3d (patch) | |
tree | b1a78fe4be03a971d9c7fc2482646e3ccbd3e135 /meta/recipes-connectivity/socat | |
parent | fdd6d5daf12d526b8ce4d1b1cdedd1628a8dfeb7 (diff) | |
download | poky-f98baa62e517232e3da429c9452c0fef442f6e3d.tar.gz |
socat: support native compilation
This is needed for building the swtpm TPM simulator (recipe
in meta-security).
Native compilation disables tcp-wrappers by default to simplify
the build.
"nativesdk" is added just in case that someone also wants this
in an SDK.
(From OE-Core rev: a33a252462e2d7b90a1c89e42a96b9696eb08b23)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/socat')
-rw-r--r-- | meta/recipes-connectivity/socat/socat_1.7.3.1.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/socat/socat_1.7.3.1.bb b/meta/recipes-connectivity/socat/socat_1.7.3.1.bb index 4da6d3970b..a579f1ef0f 100644 --- a/meta/recipes-connectivity/socat/socat_1.7.3.1.bb +++ b/meta/recipes-connectivity/socat/socat_1.7.3.1.bb | |||
@@ -29,10 +29,13 @@ EXTRA_OECONF += "ac_cv_have_z_modifier=yes \ | |||
29 | ac_cv_header_bsd_libutil_h=no \ | 29 | ac_cv_header_bsd_libutil_h=no \ |
30 | " | 30 | " |
31 | 31 | ||
32 | PACKAGECONFIG ??= "tcp-wrappers" | 32 | PACKAGECONFIG_class-target ??= "tcp-wrappers" |
33 | PACKAGECONFIG ??= "" | ||
33 | PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" | 34 | PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" |
34 | 35 | ||
35 | do_install_prepend () { | 36 | do_install_prepend () { |
36 | mkdir -p ${D}${bindir} | 37 | mkdir -p ${D}${bindir} |
37 | install -d ${D}${bindir} ${D}${mandir}/man1 | 38 | install -d ${D}${bindir} ${D}${mandir}/man1 |
38 | } | 39 | } |
40 | |||
41 | BBCLASSEXTEND = "native nativesdk" | ||