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
9 PKG_DESCR
:= adk helper utilities
10 PKG_SECTION
:= base
/misc
12 PKG_CFLINE_ADK_HELPER
:= depends on ADK_HOST_ONLY
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}))
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