python3: allow to use libopenssl
[openadk.git] / package / nand / Makefile
blob668cb4e5c27a92a6c2bf695c7d023c6746d5faec
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:= nand
7 PKG_VERSION:= 1.0
8 PKG_RELEASE:= 4
9 PKG_DESCR:= nand flash utility
10 PKG_SECTION:= sys/fs
12 PKG_DFLT_NAND:= y if ADK_TARGET_WITH_NAND
13 PKG_CFLINE_NAND:= depends on ADK_TARGET_WITH_NAND
15 NO_DISTFILES:= 1
17 include ${ADK_TOPDIR}/mk/package.mk
19 $(eval $(call PKG_template,NAND,nand,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 CONFIG_STYLE:= manual
22 BUILD_STYLE:= manual
23 INSTALL_STYLE:= manual
25 do-build:
26 ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
27 -o ${WRKBUILD}/nand ${WRKBUILD}/nand.c
29 do-install:
30 ${INSTALL_DIR} ${IDIR_NAND}/sbin
31 ${INSTALL_BIN} ${WRKBUILD}/nand ${IDIR_NAND}/sbin
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk