diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2024-01-01 15:49:55 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-01-08 19:54:39 -0800 |
| commit | cf1dd83b6fbbacc0e845137cf832990aa4cf1fc2 (patch) | |
| tree | 6e7d18a0a696d9ecd44042c1e95293199a60a589 | |
| parent | b2ba89eb89126360830b365f958f24f0a3528661 (diff) | |
| download | meta-openembedded-cf1dd83b6fbbacc0e845137cf832990aa4cf1fc2.tar.gz | |
libtalloc: upgrade 2.4.0 -> 2.4.1
* Remove PACKAGECONFIG[libaio] as libaio is no longer required by
libtalloc.
* Add ptest.
* Refresh patches.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-support/libtalloc/libtalloc/0001-talloc-Add-configure-options-for-packages.patch | 52 | ||||
| -rw-r--r-- | meta-networking/recipes-support/libtalloc/libtalloc/0002-Fix-pyext_PATTERN-for-cross-compilation.patch | 6 | ||||
| -rw-r--r-- | meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch | 11 | ||||
| -rw-r--r-- | meta-networking/recipes-support/libtalloc/libtalloc/run-ptest | 17 | ||||
| -rw-r--r-- | meta-networking/recipes-support/libtalloc/libtalloc_2.4.1.bb (renamed from meta-networking/recipes-support/libtalloc/libtalloc_2.4.0.bb) | 15 |
5 files changed, 60 insertions, 41 deletions
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/0001-talloc-Add-configure-options-for-packages.patch b/meta-networking/recipes-support/libtalloc/libtalloc/0001-talloc-Add-configure-options-for-packages.patch index 026a348992..45d847c852 100644 --- a/meta-networking/recipes-support/libtalloc/libtalloc/0001-talloc-Add-configure-options-for-packages.patch +++ b/meta-networking/recipes-support/libtalloc/libtalloc/0001-talloc-Add-configure-options-for-packages.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 888bfe48236b4ce382dc3aa49791cadb70a1fbe4 Mon Sep 17 00:00:00 2001 | 1 | From 18e3d62f5c8f957acc45695cb99c24510d23b457 Mon Sep 17 00:00:00 2001 |
| 2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> | 2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> |
| 3 | Date: Fri, 25 Dec 2020 14:14:08 +0900 | 3 | Date: Fri, 25 Dec 2020 14:14:08 +0900 |
| 4 | Subject: [PATCH] talloc: Add configure options for packages | 4 | Subject: [PATCH] talloc: Add configure options for packages |
| @@ -6,7 +6,6 @@ Subject: [PATCH] talloc: Add configure options for packages | |||
| 6 | Add configure options for the following packages: | 6 | Add configure options for the following packages: |
| 7 | - acl | 7 | - acl |
| 8 | - attr | 8 | - attr |
| 9 | - libaio | ||
| 10 | - libbsd | 9 | - libbsd |
| 11 | - libcap | 10 | - libcap |
| 12 | - valgrind | 11 | - valgrind |
| @@ -21,16 +20,20 @@ Signed-off-by: Joe Slater <joe.slater@windriver.com> | |||
| 21 | 20 | ||
| 22 | Modified tp apply to version 2.2.0 | 21 | Modified tp apply to version 2.2.0 |
| 23 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | 22 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
| 23 | |||
| 24 | Rebase to 2.4.1 | ||
| 25 | Remove libaio option | ||
| 26 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
| 24 | --- | 27 | --- |
| 25 | lib/replace/wscript | 89 +++++++++++++++++++++++++++++++++++---------- | 28 | lib/replace/wscript | 78 +++++++++++++++++++++++++++++++++------------ |
| 26 | wscript | 7 +++- | 29 | wscript | 7 +++- |
| 27 | 2 files changed, 75 insertions(+), 21 deletions(-) | 30 | 2 files changed, 64 insertions(+), 21 deletions(-) |
| 28 | 31 | ||
| 29 | diff --git a/lib/replace/wscript b/lib/replace/wscript | 32 | diff --git a/lib/replace/wscript b/lib/replace/wscript |
| 30 | index 827d74f..0348715 100644 | 33 | index 199e636..3593eaf 100644 |
| 31 | --- a/lib/replace/wscript | 34 | --- a/lib/replace/wscript |
| 32 | +++ b/lib/replace/wscript | 35 | +++ b/lib/replace/wscript |
| 33 | @@ -25,6 +25,41 @@ def options(opt): | 36 | @@ -25,6 +25,34 @@ def options(opt): |
| 34 | opt.PRIVATE_EXTENSION_DEFAULT('') | 37 | opt.PRIVATE_EXTENSION_DEFAULT('') |
| 35 | opt.RECURSE('buildtools/wafsamba') | 38 | opt.RECURSE('buildtools/wafsamba') |
| 36 | 39 | ||
| @@ -48,13 +51,6 @@ index 827d74f..0348715 100644 | |||
| 48 | + help=("Disable use of attr"), | 51 | + help=("Disable use of attr"), |
| 49 | + action="store_false", dest='enable_attr', default=False) | 52 | + action="store_false", dest='enable_attr', default=False) |
| 50 | + | 53 | + |
| 51 | + opt.add_option('--with-libaio', | ||
| 52 | + help=("Enable use of libaio"), | ||
| 53 | + action="store_true", dest='enable_libaio') | ||
| 54 | + opt.add_option('--without-libaio', | ||
| 55 | + help=("Disable use of libaio"), | ||
| 56 | + action="store_false", dest='enable_libaio', default=False) | ||
| 57 | + | ||
| 58 | + opt.add_option('--with-libbsd', | 54 | + opt.add_option('--with-libbsd', |
| 59 | + help=("Enable use of libbsd"), | 55 | + help=("Enable use of libbsd"), |
| 60 | + action="store_true", dest='enable_libbsd') | 56 | + action="store_true", dest='enable_libbsd') |
| @@ -72,49 +68,51 @@ index 827d74f..0348715 100644 | |||
| 72 | @Utils.run_once | 68 | @Utils.run_once |
| 73 | def configure(conf): | 69 | def configure(conf): |
| 74 | conf.RECURSE('buildtools/wafsamba') | 70 | conf.RECURSE('buildtools/wafsamba') |
| 75 | @@ -35,12 +70,25 @@ def configure(conf): | 71 | @@ -38,18 +66,27 @@ def configure(conf): |
| 76 | conf.DEFINE('HAVE_LIBREPLACE', 1) | 72 | conf.DEFINE('HAVE_LIBREPLACE', 1) |
| 77 | conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) | 73 | conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) |
| 78 | 74 | ||
| 79 | - conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h') | 75 | - conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h') |
| 80 | - conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h') | 76 | - conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h') |
| 81 | + conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h') | 77 | + conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h') |
| 82 | + conf.CHECK_HEADERS('attr/xattr.h compat.h ctype.h dustat.h') | 78 | + conf.CHECK_HEADERS('compat.h ctype.h dustat.h') |
| 83 | conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h') | 79 | conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h') |
| 84 | conf.CHECK_HEADERS('locale.h ndir.h pwd.h') | 80 | conf.CHECK_HEADERS('locale.h ndir.h pwd.h') |
| 85 | - conf.CHECK_HEADERS('shadow.h sys/acl.h') | 81 | - conf.CHECK_HEADERS('shadow.h sys/acl.h') |
| 86 | - conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h') | 82 | - conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h') |
| 87 | + conf.CHECK_HEADERS('shadow.h') | 83 | + conf.CHECK_HEADERS('shadow.h') |
| 88 | + conf.CHECK_HEADERS('sys/attributes.h sys/dir.h sys/epoll.h') | 84 | + conf.CHECK_HEADERS('sys/attributes.h sys/dir.h sys/epoll.h') |
| 89 | + | 85 | conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h') |
| 86 | conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h') | ||
| 87 | conf.CHECK_HEADERS('sys/resource.h sys/security.h sys/shm.h sys/statfs.h sys/statvfs.h sys/termio.h') | ||
| 88 | conf.CHECK_HEADERS('sys/vfs.h sys/xattr.h termio.h termios.h sys/file.h') | ||
| 89 | conf.CHECK_HEADERS('sys/ucontext.h sys/wait.h sys/stat.h') | ||
| 90 | |||
| 90 | + if Options.options.enable_acl: | 91 | + if Options.options.enable_acl: |
| 91 | + conf.CHECK_HEADERS('acl/libacl.h sys/acl.h') | 92 | + conf.CHECK_HEADERS('acl/libacl.h sys/acl.h') |
| 92 | + | 93 | + |
| 93 | + if Options.options.enable_attr: | 94 | + if Options.options.enable_attr: |
| 94 | + conf.CHECK_HEADERS('attr/attributes.h attr/xattr.h') | 95 | + conf.CHECK_HEADERS('attr/attributes.h attr/xattr.h') |
| 95 | + | 96 | + |
| 96 | + if Options.options.enable_libaio: | ||
| 97 | + conf.CHECK_HEADERS('libaio.h') | ||
| 98 | + | ||
| 99 | + if Options.options.enable_libcap: | 97 | + if Options.options.enable_libcap: |
| 100 | + conf.CHECK_HEADERS('sys/capability.h') | 98 | + conf.CHECK_HEADERS('sys/capability.h') |
| 101 | + | 99 | + |
| 102 | conf.CHECK_HEADERS('port.h') | 100 | if not conf.CHECK_DECLS('malloc', headers='stdlib.h'): |
| 103 | conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h') | 101 | conf.CHECK_HEADERS('malloc.h') |
| 104 | conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h') | 102 | |
| 105 | @@ -110,8 +158,9 @@ def configure(conf): | 103 | @@ -113,8 +150,9 @@ def configure(conf): |
| 106 | conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h') | 104 | conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h') |
| 107 | conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h') | 105 | conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h') |
| 108 | 106 | ||
| 109 | - conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h') | 107 | - conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h') |
| 110 | - conf.CHECK_HEADERS('valgrind/memcheck.h valgrind/helgrind.h') | 108 | - conf.CHECK_HEADERS('valgrind/memcheck.h valgrind/helgrind.h valgrind/callgrind.h') |
| 111 | + if Options.options.enable_valgrind: | 109 | + if Options.options.enable_valgrind: |
| 112 | + conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h') | 110 | + conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h') |
| 113 | + conf.CHECK_HEADERS('valgrind/memcheck.h valgrind/helgrind.h') | 111 | + conf.CHECK_HEADERS('valgrind/memcheck.h valgrind/helgrind.h valgrind/callgrind.h') |
| 114 | conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h') | 112 | conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h') |
| 115 | conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h') | 113 | conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h') |
| 116 | conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h') | 114 | conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h') |
| 117 | @@ -431,20 +480,20 @@ def configure(conf): | 115 | @@ -443,20 +481,20 @@ def configure(conf): |
| 118 | 116 | ||
| 119 | strlcpy_in_bsd = False | 117 | strlcpy_in_bsd = False |
| 120 | 118 | ||
| @@ -150,7 +148,7 @@ index 827d74f..0348715 100644 | |||
| 150 | conf.CHECK_CODE(''' | 148 | conf.CHECK_CODE(''' |
| 151 | struct ucred cred; | 149 | struct ucred cred; |
| 152 | diff --git a/wscript b/wscript | 150 | diff --git a/wscript b/wscript |
| 153 | index 3089663..fdf9510 100644 | 151 | index 075f1ec..6b4f273 100644 |
| 154 | --- a/wscript | 152 | --- a/wscript |
| 155 | +++ b/wscript | 153 | +++ b/wscript |
| 156 | @@ -31,7 +31,12 @@ def options(opt): | 154 | @@ -31,7 +31,12 @@ def options(opt): |
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/0002-Fix-pyext_PATTERN-for-cross-compilation.patch b/meta-networking/recipes-support/libtalloc/libtalloc/0002-Fix-pyext_PATTERN-for-cross-compilation.patch index 058ac34f81..59461412a6 100644 --- a/meta-networking/recipes-support/libtalloc/libtalloc/0002-Fix-pyext_PATTERN-for-cross-compilation.patch +++ b/meta-networking/recipes-support/libtalloc/libtalloc/0002-Fix-pyext_PATTERN-for-cross-compilation.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 6580e8191c219909d50c991662310e668973722d Mon Sep 17 00:00:00 2001 | 1 | From 843d1dc810efc61275b1121d6b35649d00570851 Mon Sep 17 00:00:00 2001 |
| 2 | From: Yi Zhao <yi.zhao@windriver.com> | 2 | From: Yi Zhao <yi.zhao@windriver.com> |
| 3 | Date: Wed, 24 Nov 2021 13:33:35 +0800 | 3 | Date: Wed, 24 Nov 2021 13:33:35 +0800 |
| 4 | Subject: [PATCH] Fix pyext_PATTERN for cross compilation | 4 | Subject: [PATCH] Fix pyext_PATTERN for cross compilation |
| @@ -40,10 +40,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | |||
| 40 | 1 file changed, 1 insertion(+), 1 deletion(-) | 40 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 41 | 41 | ||
| 42 | diff --git a/third_party/waf/waflib/Tools/python.py b/third_party/waf/waflib/Tools/python.py | 42 | diff --git a/third_party/waf/waflib/Tools/python.py b/third_party/waf/waflib/Tools/python.py |
| 43 | index a23bd01..af202e0 100644 | 43 | index b2dd1a9..2bd3545 100644 |
| 44 | --- a/third_party/waf/waflib/Tools/python.py | 44 | --- a/third_party/waf/waflib/Tools/python.py |
| 45 | +++ b/third_party/waf/waflib/Tools/python.py | 45 | +++ b/third_party/waf/waflib/Tools/python.py |
| 46 | @@ -328,7 +328,7 @@ def check_python_headers(conf, features='pyembed pyext'): | 46 | @@ -339,7 +339,7 @@ def check_python_headers(conf, features='pyembed pyext'): |
| 47 | x = 'MACOSX_DEPLOYMENT_TARGET' | 47 | x = 'MACOSX_DEPLOYMENT_TARGET' |
| 48 | if dct[x]: | 48 | if dct[x]: |
| 49 | env[x] = conf.environ[x] = str(dct[x]) | 49 | env[x] = conf.environ[x] = str(dct[x]) |
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch b/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch index fe8d10d6f4..93c8a1e846 100644 --- a/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch +++ b/meta-networking/recipes-support/libtalloc/libtalloc/avoid-attr-unless-wanted.patch | |||
| @@ -1,19 +1,18 @@ | |||
| 1 | From e18370c204056de799064d8ac72a656eb3745f95 Mon Sep 17 00:00:00 2001 | 1 | From 9130d340c37861a59e812e334e2b13577e705a6c Mon Sep 17 00:00:00 2001 |
| 2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> | 2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> |
| 3 | Date: Fri, 25 Dec 2020 15:10:58 +0900 | 3 | Date: Fri, 25 Dec 2020 15:10:58 +0900 |
| 4 | Subject: [PATCH] avoid attr unless wanted | 4 | Subject: [PATCH] avoid attr unless wanted |
| 5 | 5 | ||
| 6 | Upstream-Status: Inappropriate [embedded specific] | ||
| 6 | --- | 7 | --- |
| 7 | Upstream-Status: Pending | ||
| 8 | |||
| 9 | lib/replace/wscript | 4 +--- | 8 | lib/replace/wscript | 4 +--- |
| 10 | 1 file changed, 1 insertion(+), 3 deletions(-) | 9 | 1 file changed, 1 insertion(+), 3 deletions(-) |
| 11 | 10 | ||
| 12 | diff --git a/lib/replace/wscript b/lib/replace/wscript | 11 | diff --git a/lib/replace/wscript b/lib/replace/wscript |
| 13 | index 0348715..a8554d9 100644 | 12 | index 3593eaf..504a1cb 100644 |
| 14 | --- a/lib/replace/wscript | 13 | --- a/lib/replace/wscript |
| 15 | +++ b/lib/replace/wscript | 14 | +++ b/lib/replace/wscript |
| 16 | @@ -967,8 +967,6 @@ def build(bld): | 15 | @@ -968,8 +968,6 @@ def build(bld): |
| 17 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' | 16 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' |
| 18 | if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' | 17 | if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' |
| 19 | if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' | 18 | if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' |
| @@ -22,7 +21,7 @@ index 0348715..a8554d9 100644 | |||
| 22 | 21 | ||
| 23 | if not bld.CONFIG_SET('HAVE_CLOSEFROM'): | 22 | if not bld.CONFIG_SET('HAVE_CLOSEFROM'): |
| 24 | REPLACE_SOURCE += ' closefrom.c' | 23 | REPLACE_SOURCE += ' closefrom.c' |
| 25 | @@ -983,7 +981,7 @@ def build(bld): | 24 | @@ -984,7 +982,7 @@ def build(bld): |
| 26 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), | 25 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), |
| 27 | private_library=True, | 26 | private_library=True, |
| 28 | provide_builtin_linking=True, | 27 | provide_builtin_linking=True, |
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/run-ptest b/meta-networking/recipes-support/libtalloc/libtalloc/run-ptest new file mode 100644 index 0000000000..84e5381501 --- /dev/null +++ b/meta-networking/recipes-support/libtalloc/libtalloc/run-ptest | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | ptestdir=$(dirname "$(readlink -f "$0")") | ||
| 4 | cd "$ptestdir"/tests || exit | ||
| 5 | |||
| 6 | tests="replace_testsuite talloc_testsuite" | ||
| 7 | |||
| 8 | for f in $tests | ||
| 9 | do | ||
| 10 | if test -x ./"$f"; then | ||
| 11 | if ./"$f" > ./"$f".out 2> ./"$f".err; then | ||
| 12 | echo "PASS: $f" | ||
| 13 | else | ||
| 14 | echo "FAIL: $f" | ||
| 15 | fi | ||
| 16 | fi | ||
| 17 | done | ||
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc_2.4.0.bb b/meta-networking/recipes-support/libtalloc/libtalloc_2.4.1.bb index f8fef9f825..bf7fbc8649 100644 --- a/meta-networking/recipes-support/libtalloc/libtalloc_2.4.0.bb +++ b/meta-networking/recipes-support/libtalloc/libtalloc_2.4.1.bb | |||
| @@ -11,10 +11,11 @@ export PYTHONHASHSEED="1" | |||
| 11 | SRC_URI = "https://www.samba.org/ftp/talloc/talloc-${PV}.tar.gz \ | 11 | SRC_URI = "https://www.samba.org/ftp/talloc/talloc-${PV}.tar.gz \ |
| 12 | file://0001-talloc-Add-configure-options-for-packages.patch \ | 12 | file://0001-talloc-Add-configure-options-for-packages.patch \ |
| 13 | file://0002-Fix-pyext_PATTERN-for-cross-compilation.patch \ | 13 | file://0002-Fix-pyext_PATTERN-for-cross-compilation.patch \ |
| 14 | file://run-ptest \ | ||
| 14 | " | 15 | " |
| 15 | SRC_URI[sha256sum] = "6df36862c42466ef88f360444513870ef46934f9016c84383cc4008a7d0c46ba" | 16 | SRC_URI[sha256sum] = "410a547f08557007be0e88194f218868358edc0ab98c98ba8c167930db3d33f9" |
| 16 | 17 | ||
| 17 | inherit waf-samba | 18 | inherit waf-samba pkgconfig ptest |
| 18 | 19 | ||
| 19 | PACKAGECONFIG ??= "\ | 20 | PACKAGECONFIG ??= "\ |
| 20 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \ | 21 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \ |
| @@ -22,7 +23,6 @@ PACKAGECONFIG ??= "\ | |||
| 22 | " | 23 | " |
| 23 | PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" | 24 | PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" |
| 24 | PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" | 25 | PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" |
| 25 | PACKAGECONFIG[libaio] = "--with-libaio,--without-libaio,libaio" | ||
| 26 | PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd" | 26 | PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd" |
| 27 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" | 27 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" |
| 28 | PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind" | 28 | PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind" |
| @@ -31,8 +31,8 @@ SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr | |||
| 31 | 31 | ||
| 32 | S = "${WORKDIR}/talloc-${PV}" | 32 | S = "${WORKDIR}/talloc-${PV}" |
| 33 | 33 | ||
| 34 | #cross_compile cannot use preforked process, since fork process earlier than point subproces.popen | 34 | # Cross_compile cannot use preforked process, since fork process earlier than point subproces.popen |
| 35 | #to cross Popen | 35 | # to cross Popen |
| 36 | export WAF_NO_PREFORK="yes" | 36 | export WAF_NO_PREFORK="yes" |
| 37 | 37 | ||
| 38 | EXTRA_OECONF += "--disable-rpath \ | 38 | EXTRA_OECONF += "--disable-rpath \ |
| @@ -43,6 +43,11 @@ EXTRA_OECONF += "--disable-rpath \ | |||
| 43 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ | 43 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ |
| 44 | " | 44 | " |
| 45 | 45 | ||
| 46 | do_install_ptest() { | ||
| 47 | install -d ${D}${PTEST_PATH}/tests | ||
| 48 | install -m 0755 ${B}/bin/*_testsuite ${D}${PTEST_PATH}/tests/ | ||
| 49 | } | ||
| 50 | |||
| 46 | PACKAGES += "pytalloc pytalloc-dev" | 51 | PACKAGES += "pytalloc pytalloc-dev" |
| 47 | 52 | ||
| 48 | RPROVIDES:${PN}-dbg += "pytalloc-dbg" | 53 | RPROVIDES:${PN}-dbg += "pytalloc-dbg" |
