From fd6481d82ff407139157e53df28563d40bb3ad3b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 29 Jul 2010 15:25:12 +0200 Subject: add a cpio implementation to tools directory cpio utility is a mess in point of portability. For example NetBSD cpio implementation does not support userid and groupid changes for the archive. This feature is required for initramfs filesystem targets. This cpio is from the Heirloom project. Fix needed rebuild of tools, when changing targets. --- tools/mkcrypt/Makefile | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'tools/mkcrypt') diff --git a/tools/mkcrypt/Makefile b/tools/mkcrypt/Makefile index e6c8d83e1..3b1924c5b 100644 --- a/tools/mkcrypt/Makefile +++ b/tools/mkcrypt/Makefile @@ -3,20 +3,9 @@ include $(TOPDIR)/rules.mk -PKG_NAME:= mkcrypt -PKG_VERSION:= 0.1 -PKG_RELEASE:= 1 -NO_DISTFILES:= 1 +${STAGING_TOOLS}/bin/mkcrypt: + $(HOSTCC) -o $(STAGING_TOOLS)/bin/mkcrypt mkcrypt.c -include ../rules.mk - -$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared - $(HOSTCC) -o $(WRKBUILD)/mkcrypt mkcrypt.c - touch $@ - -$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled - $(INSTALL_BIN) $(WRKBUILD)/mkcrypt \ - ${STAGING_TOOLS}/bin - touch $@ +install: ${STAGING_TOOLS}/bin/mkcrypt include $(TOPDIR)/mk/tools.mk -- cgit v1.2.3