update lua to latest stable version
[openadk.git] / package / adk-helper / Makefile
bloba38d183f261ced83d60317c96bd1ceae98e4501c
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= adk-helper
7 PKG_VERSION:= 1.0
8 PKG_RELEASE:= 1
9 PKG_DESCR:= adk helper utilities
10 PKG_SECTION:= base/misc
12 PKG_CFLINE_ADK_HELPER:= depends on ADK_HOST_ONLY
14 NO_DISTFILES:= 1
16 include ${ADK_TOPDIR}/mk/host.mk
17 include ${ADK_TOPDIR}/mk/package.mk
19 $(eval $(call HOST_template,ADK_HELPER,adk-helper,${PKG_VERSION}-${PKG_RELEASE}))
21 HOST_STYLE:= manual
23 host-build:
24 $(HOST_CC) $(HOST_CFLAGS) -o ${WRKBUILD}/mkcrypt ${WRKBUILD}/mkcrypt.c
25 $(HOST_CC) $(HOST_CFLAGS) -o ${WRKBUILD}/dkgetsz ${WRKBUILD}/dkgetsz.c
27 adk-helper-hostinstall:
28 ${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/bin
29 ${INSTALL_BIN} ${WRKBUILD}/mkcrypt ${STAGING_HOST_DIR}/usr/bin
30 ${INSTALL_BIN} ${WRKBUILD}/dkgetsz ${STAGING_HOST_DIR}/usr/bin
32 include ${ADK_TOPDIR}/mk/host-bottom.mk
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk