diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-02-09 11:24:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-11 12:27:47 +0000 |
commit | 48575116da8be69a84853dbb2ef21c5763714bef (patch) | |
tree | 4e1c34a64cbdeba1098ff555716fb084836230d4 | |
parent | 34798fa0c526563a58e1f07bed3b80a216748f00 (diff) | |
download | poky-48575116da8be69a84853dbb2ef21c5763714bef.tar.gz |
xserver-xorg: Add PACKAGECONFIG for crypto libraries
Default to libcrypto (openssl) as before.
(From OE-Core rev: 21c78275f4c805f63ee20ad7f8a18359094a8c09)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc index 6648cd370c..f4c5469b56 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | |||
@@ -27,7 +27,7 @@ inherit distro_features_check | |||
27 | REQUIRED_DISTRO_FEATURES = "x11" | 27 | REQUIRED_DISTRO_FEATURES = "x11" |
28 | 28 | ||
29 | PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86vidmodeproto compositeproto recordproto resourceproto videoproto scrnsaverproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto presentproto" | 29 | PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86vidmodeproto compositeproto recordproto resourceproto videoproto scrnsaverproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto presentproto" |
30 | LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl libgcrypt" | 30 | LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess" |
31 | DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util" | 31 | DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util" |
32 | 32 | ||
33 | # Split out some modules and extensions from the main package | 33 | # Split out some modules and extensions from the main package |
@@ -117,10 +117,10 @@ EXTRA_OECONF += "--with-fop=no \ | |||
117 | --sysconfdir=/etc/X11 \ | 117 | --sysconfdir=/etc/X11 \ |
118 | --localstatedir=/var \ | 118 | --localstatedir=/var \ |
119 | --with-xkb-output=/var/lib/xkb \ | 119 | --with-xkb-output=/var/lib/xkb \ |
120 | --with-sha1=libcrypto \ | ||
121 | " | 120 | " |
122 | 121 | ||
123 | PACKAGECONFIG ??= "dri2 udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri glx', '', d)} \ | 122 | PACKAGECONFIG ??= "dri2 udev ${XORG_CRYPTO} \ |
123 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri glx', '', d)} \ | ||
124 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \ | 124 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \ |
125 | ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \ | 125 | ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \ |
126 | " | 126 | " |
@@ -139,6 +139,12 @@ PACKAGECONFIG[systemd] = "--with-systemd-daemon,--without-systemd-daemon,systemd | |||
139 | PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,xineramaproto" | 139 | PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,xineramaproto" |
140 | PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,wayland libepoxy" | 140 | PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,wayland libepoxy" |
141 | 141 | ||
142 | # Xorg requires a SHA1 implementation, pick one | ||
143 | XORG_CRYPTO ??= "openssl" | ||
144 | PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl" | ||
145 | PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle" | ||
146 | PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt" | ||
147 | |||
142 | do_install_append () { | 148 | do_install_append () { |
143 | # Its assumed base-files creates this for us | 149 | # Its assumed base-files creates this for us |
144 | rmdir ${D}${localstatedir}/log/ | 150 | rmdir ${D}${localstatedir}/log/ |