mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
package/cpio: add argp-standalone dependency with musl
Since argp-standalone is only available for uClibc-ng and musl toolchains, add the dependendy only if it's selected. Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
6b47541e5e
commit
7d53040f33
@ -1,7 +1,7 @@
|
|||||||
config BR2_PACKAGE_CPIO
|
config BR2_PACKAGE_CPIO
|
||||||
bool "cpio"
|
bool "cpio"
|
||||||
# Need argp.h support
|
# Need argp.h support
|
||||||
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
|
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
|
||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
help
|
help
|
||||||
cpio archive utility for creation and extraction.
|
cpio archive utility for creation and extraction.
|
||||||
|
@ -15,10 +15,10 @@ CPIO_PATCH = \
|
|||||||
https://projects.archlinux.org/svntogit/packages.git/plain/cpio/trunk/cpio-2.11-check_for_symlinks-CVE-2015-1197.patch \
|
https://projects.archlinux.org/svntogit/packages.git/plain/cpio/trunk/cpio-2.11-check_for_symlinks-CVE-2015-1197.patch \
|
||||||
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/cpio/files/cpio-2.11-stat.patch
|
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/cpio/files/cpio-2.11-stat.patch
|
||||||
|
|
||||||
# cpio uses argp.h which is not provided by uclibc by default.
|
# cpio uses argp.h which is not provided by uclibc or musl by default.
|
||||||
# Use the argp-standalone package to provide this but make sure
|
# Use the argp-standalone package to provide this but make sure
|
||||||
# the host package does not try to use the host version.
|
# the host package does not try to use the host version.
|
||||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
||||||
CPIO_DEPENDENCIES += argp-standalone
|
CPIO_DEPENDENCIES += argp-standalone
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user