summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-25 10:32:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-25 10:35:31 +0100
commit2c6139f32fd4eb2829568bc3c6eeb379c3c7d9be (patch)
tree9904e99f5e1d3293e993ca06070f75c2f29b90af /package
parentacd7dc43632c921003b795f25876e98996fc7bf4 (diff)
use GNU cpio instead of heirloom cpio
On newer hardware heirloom cpio triggers a segfault in memcpy from glibc (ssse3 optimized version). Just use default GNU cpio and provide it via host package.
Diffstat (limited to 'package')
-rw-r--r--package/cpio/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/cpio/Makefile b/package/cpio/Makefile
index 54f371698..c1764b566 100644
--- a/package/cpio/Makefile
+++ b/package/cpio/Makefile
@@ -15,12 +15,15 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+include ${ADK_TOPDIR}/mk/host.mk
include ${ADK_TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,CPIO,cpio,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,CPIO,cpio,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
cpio-install:
${INSTALL_DIR} ${IDIR_CPIO}/usr/bin
${CP} ${WRKINST}/usr/bin/cpio ${IDIR_CPIO}/usr/bin
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk