2015-07-14 22:20:26 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# cpio
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-10-02 15:43:48 +02:00
|
|
|
CPIO_VERSION = 2.12
|
2017-02-06 17:49:25 +01:00
|
|
|
CPIO_SITE = $(BR2_GNU_MIRROR)/cpio
|
2015-10-02 15:43:49 +02:00
|
|
|
CPIO_CONF_OPTS = --bindir=/bin
|
|
|
|
CPIO_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
2017-03-30 15:43:33 +02:00
|
|
|
CPIO_LICENSE = GPL-3.0+
|
2015-07-14 22:20:26 +02:00
|
|
|
CPIO_LICENSE_FILES = COPYING
|
|
|
|
|
2015-08-08 00:47:16 +02:00
|
|
|
# cpio uses argp.h which is not provided by uclibc or musl by default.
|
2015-08-08 00:47:17 +02:00
|
|
|
# Use the argp-standalone package to provide this.
|
2015-08-08 00:47:16 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
2015-07-14 22:20:26 +02:00
|
|
|
CPIO_DEPENDENCIES += argp-standalone
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|