summaryrefslogtreecommitdiff
path: root/package/nand/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-04 22:07:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-04 22:07:41 +0100
commit41f61a4fe1425d69768028ec1c7d13a14fa43dff (patch)
tree570276d4a1acd670a40975dabe1b7e2d877a5b93 /package/nand/Makefile
parentadcaca72539b2ff4a5f4deee00d5f0251378ac9b (diff)
implement cfgfs for devices with NAND flash like rb532
Diffstat (limited to 'package/nand/Makefile')
-rw-r--r--package/nand/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/package/nand/Makefile b/package/nand/Makefile
index c453e6a82..54ce99f65 100644
--- a/package/nand/Makefile
+++ b/package/nand/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= nand
PKG_VERSION:= 1.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 3
PKG_DESCR:= NAND utility
PKG_SECTION:= base
@@ -25,15 +25,11 @@ INSTALL_STYLE:= manual
do-build:
mkdir -p ${WRKBUILD}
- ${CP} ./src/* ${WRKBUILD}
- ${TARGET_CC} ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/nandwrite \
- ${WRKBUILD}/nandwrite.c
- ${TARGET_CC} ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/nanddump \
- ${WRKBUILD}/nanddump.c
+ ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/nand \
+ ./src/nand.c
do-install:
${INSTALL_DIR} ${IDIR_NAND}/sbin
- ${INSTALL_BIN} ${WRKBUILD}/nandwrite ${IDIR_NAND}/sbin
- ${INSTALL_BIN} ${WRKBUILD}/nanddump ${IDIR_NAND}/sbin
+ ${INSTALL_BIN} ${WRKBUILD}/nand ${IDIR_NAND}/sbin
include ${TOPDIR}/mk/pkg-bottom.mk