kumquat-buildroot/package/cpio/cpio.mk
Gustavo Zacarias 63eaed6498 cpio: install to /bin and after busybox
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>
2015-10-02 16:33:07 +02:00

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))