diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2015-12-15 02:43:59 -0500 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-01-29 20:24:34 -0800 |
commit | 8e06bcef6793a7c2265e18afe13d8d7b381dbbd8 (patch) | |
tree | 8c161da11de1c17d7557c24d1d4e6afdc1fb8e42 /meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | |
parent | 01189c7cd28bd6007d6f4c5b882f6500d9fdd0c5 (diff) | |
download | meta-openembedded-8e06bcef6793a7c2265e18afe13d8d7b381dbbd8.tar.gz |
samba: add PACKAGECONFIG for valgrind
* Add configure options '--without-valgrind'
* Disable valgrind by default since it doesn't build for all targets
This fixes build errors:
../source3/include/includes.h:156:31: fatal error: \
valgrind/memcheck.h: No such file or directory
compilation terminated.
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/samba/samba_4.1.12.bb')
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb index fbdbd5af3..863d78314 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | |||
@@ -33,6 +33,7 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \ | |||
33 | file://18-avoid-get-config-by-native-ncurses.patch \ | 33 | file://18-avoid-get-config-by-native-ncurses.patch \ |
34 | file://19-systemd-daemon-is-contained-by-libsystemd.patch \ | 34 | file://19-systemd-daemon-is-contained-by-libsystemd.patch \ |
35 | file://20-do-not-import-target-module-while-cross-compile.patch \ | 35 | file://20-do-not-import-target-module-while-cross-compile.patch \ |
36 | file://21-add-config-option-without-valgrind.patch \ | ||
36 | " | 37 | " |
37 | 38 | ||
38 | SRC_URI[md5sum] = "232016d7581a1ba11e991ec2674553c4" | 39 | SRC_URI[md5sum] = "232016d7581a1ba11e991ec2674553c4" |
@@ -65,6 +66,7 @@ PACKAGECONFIG[ldap] = "--with-ldap,--without-ldap,openldap" | |||
65 | PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd" | 66 | PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd" |
66 | PACKAGECONFIG[dmapi] = "--with-dmapi,--without-dmapi,dmapi" | 67 | PACKAGECONFIG[dmapi] = "--with-dmapi,--without-dmapi,dmapi" |
67 | PACKAGECONFIG[zeroconf] = "--enable-avahi,--disable-avahi,avahi" | 68 | PACKAGECONFIG[zeroconf] = "--enable-avahi,--disable-avahi,avahi" |
69 | PACKAGECONFIG[valgrind] = ",--without-valgrind,valgrind," | ||
68 | 70 | ||
69 | SAMBA4_IDMAP_MODULES="idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2" | 71 | SAMBA4_IDMAP_MODULES="idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2" |
70 | SAMBA4_PDB_MODULES="pdb_tdbsam,${@bb.utils.contains('PACKAGECONFIG', 'ldap', 'pdb_ldap,', '', d)}pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4" | 72 | SAMBA4_PDB_MODULES="pdb_tdbsam,${@bb.utils.contains('PACKAGECONFIG', 'ldap', 'pdb_ldap,', '', d)}pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4" |