1
0

Makefile 812 B

12345678910111213141516171819202122232425262728293031
  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:= cfgfs
  5. PKG_VERSION:= 1.0.6
  6. PKG_RELEASE:= 4
  7. PKG_DESCR:= compressed config filesystem
  8. PKG_SECTION:= base
  9. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}
  10. NO_DISTFILES:= 1
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,CFGFS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. BUILD_STYLE:= auto
  14. do-configure:
  15. mkdir -p ${WRKBUILD}
  16. ${CP} ./src/* ${WRKBUILD}
  17. do-install:
  18. ${INSTALL_DIR} ${IDIR_CFGFS}/sbin
  19. ${INSTALL_BIN} ${WRKBUILD}/fwcf.sh ${IDIR_CFGFS}/sbin/cfgfs
  20. ${INSTALL_BIN} ${WRKBUILD}/fwcf.helper.out \
  21. ${IDIR_CFGFS}/sbin/cfgfs.helper
  22. include ${TOPDIR}/mk/pkg-bottom.mk