63eaed6498
As the usual rule consider full-blown packages superior to busybox, hence build after it. Also install cpio to /bin to override the busybox-provided one. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
21 lines
609 B
Makefile
21 lines
609 B
Makefile
################################################################################
|
|
#
|
|
# cpio
|
|
#
|
|
################################################################################
|
|
|
|
CPIO_VERSION = 2.12
|
|
CPIO_SITE = http://ftp.gnu.org/gnu/cpio
|
|
CPIO_CONF_OPTS = --bindir=/bin
|
|
CPIO_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
|
CPIO_LICENSE = GPLv3+
|
|
CPIO_LICENSE_FILES = COPYING
|
|
|
|
# cpio uses argp.h which is not provided by uclibc or musl by default.
|
|
# Use the argp-standalone package to provide this.
|
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
|
CPIO_DEPENDENCIES += argp-standalone
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|