mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
libtalloc: fixes for deterministic builds
* Add configure option and PACKAGECONFIG for the following packages: - acl - attr - libaio - libbsd - libcap - valgrind * They are all optional, so disable by default or control them based on DISTRO_FEATURES. * Remove the direct dependency on libaio and libbsd Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
committed by
Joe MacDonald
parent
fe652f8654
commit
778a2b6793
@@ -3,9 +3,9 @@ HOMEPAGE = "http://talloc.samba.org"
|
||||
SECTION = "libs"
|
||||
LICENSE = "LGPL-3.0+ & GPL-3.0+"
|
||||
|
||||
DEPENDS += "libaio libbsd"
|
||||
|
||||
SRC_URI = "http://samba.org/ftp/talloc/talloc-${PV}.tar.gz"
|
||||
SRC_URI = "http://samba.org/ftp/talloc/talloc-${PV}.tar.gz \
|
||||
file://talloc-Add-configure-options-for-packages.patch \
|
||||
"
|
||||
LIC_FILES_CHKSUM = "file://talloc.h;beginline=3;endline=27;md5=a301712782cad6dd6d5228bfa7825249 \
|
||||
file://pytalloc.h;beginline=1;endline=18;md5=2c498cc6f2263672483237b20f46b43d"
|
||||
|
||||
@@ -15,7 +15,16 @@ SRC_URI[sha256sum] = "22d14911164d4de67ff76b5269fa5250d01f78c955bc77e28615350996
|
||||
|
||||
inherit waf-samba
|
||||
|
||||
PACKAGECONFIG[attr] = ",,attr"
|
||||
PACKAGECONFIG ??= "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl"
|
||||
PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr"
|
||||
PACKAGECONFIG[libaio] = "--with-libaio,--without-libaio,libaio"
|
||||
PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd"
|
||||
PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
|
||||
PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind"
|
||||
|
||||
SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr-unless-wanted.patch', d)}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user