summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-31 08:22:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-31 08:22:29 +0200
commit5ef2d4473e58df0f12f804a691094d70c3f13ad1 (patch)
tree1e314c8bf1931ad0bde758d89ab1ab5c0ac5893f
parente2726b79db12734001df807a62e430e89cdecf21 (diff)
combine mkcrypt and dkgetsz to adk-helper package
-rw-r--r--package/adk-helper/Makefile (renamed from package/mkcrypt/Makefile)10
-rw-r--r--package/adk-helper/src/dkgetsz.c (renamed from adk/tools/dkgetsz.c)0
-rw-r--r--package/adk-helper/src/mkcrypt.c (renamed from package/mkcrypt/src/mkcrypt.c)0
-rw-r--r--target/config/Config.in.tools2
4 files changed, 7 insertions, 5 deletions
diff --git a/package/mkcrypt/Makefile b/package/adk-helper/Makefile
index 6f8f873a7..7d0ccb202 100644
--- a/package/mkcrypt/Makefile
+++ b/package/adk-helper/Makefile
@@ -3,10 +3,10 @@
include ${TOPDIR}/rules.mk
-PKG_NAME:= mkcrypt
+PKG_NAME:= adk-helper
PKG_VERSION:= 1.0
PKG_RELEASE:= 1
-PKG_DESCR:= mkcrypt utility
+PKG_DESCR:= adk helper utilities
PKG_SECTION:= misc
PKG_CFLINE_MKCRYPT:= depends on ADK_HOST_ONLY
@@ -16,16 +16,18 @@ NO_DISTFILES:= 1
include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
-$(eval $(call HOST_template,MKCRYPT,mkcrypt,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call HOST_template,ADK_HELPER,adk-helper,${PKG_VERSION}-${PKG_RELEASE}))
HOST_STYLE:= manual
host-build:
$(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o ${WRKBUILD}/mkcrypt ${WRKBUILD}/mkcrypt.c
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o ${WRKBUILD}/dkgetsz ${WRKBUILD}/dkgetsz.c
-mkcrypt-hostinstall:
+adk-helper-hostinstall:
${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/mkcrypt ${STAGING_HOST_DIR}/usr/bin
+ ${INSTALL_BIN} ${WRKBUILD}/dkgetsz ${STAGING_HOST_DIR}/usr/bin
include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/adk/tools/dkgetsz.c b/package/adk-helper/src/dkgetsz.c
index b8315be70..b8315be70 100644
--- a/adk/tools/dkgetsz.c
+++ b/package/adk-helper/src/dkgetsz.c
diff --git a/package/mkcrypt/src/mkcrypt.c b/package/adk-helper/src/mkcrypt.c
index a856759df..a856759df 100644
--- a/package/mkcrypt/src/mkcrypt.c
+++ b/package/adk-helper/src/mkcrypt.c
diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools
index 92bbae9d6..2159b4db7 100644
--- a/target/config/Config.in.tools
+++ b/target/config/Config.in.tools
@@ -3,7 +3,7 @@ config ADK_HOST_BUILD_HEIRLOOM_CPIO
boolean
default y
-config ADK_HOST_BUILD_MKCRYPT
+config ADK_HOST_BUILD_ADK_HELPER
boolean
default y