Makefile 787 B

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= nand
  5. PKG_VERSION:= 1.0
  6. PKG_RELEASE:= 3
  7. PKG_DESCR:= NAND utility
  8. PKG_SECTION:= fs
  9. PKG_TARGET_DEPENDS:= routerboard
  10. NO_DISTFILES:= 1
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,NAND,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. PKGDFLT_NAND= y
  14. CONFIG_STYLE:= manual
  15. BUILD_STYLE:= manual
  16. INSTALL_STYLE:= manual
  17. do-build:
  18. ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/nand \
  19. ${WRKBUILD}/nand.c
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_NAND}/sbin
  22. ${INSTALL_BIN} ${WRKBUILD}/nand ${IDIR_NAND}/sbin
  23. include ${TOPDIR}/mk/pkg-bottom.mk