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
:= nand flash utility
12 PKG_DFLT_NAND
:= y if ADK_TARGET_WITH_NAND
13 PKG_CFLINE_NAND
:= depends on ADK_TARGET_WITH_NAND
17 include ${ADK_TOPDIR}/mk
/package.mk
19 $(eval
$(call PKG_template
,NAND
,nand
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 INSTALL_STYLE
:= manual
26 ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
27 -o
${WRKBUILD}/nand
${WRKBUILD}/nand.c
30 ${INSTALL_DIR} ${IDIR_NAND}/sbin
31 ${INSTALL_BIN} ${WRKBUILD}/nand
${IDIR_NAND}/sbin
33 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk