Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= 5
  7. PKG_DESCR:= compressed config filesystem
  8. PKG_SECTION:= base
  9. PKG_TARGET_DEPENDS:= alix wrap foxboard ag241 rb532
  10. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}
  11. NO_DISTFILES:= 1
  12. CFLINE_CFGFS:= select BUSYBOX_COMM\n\tselect BUSYBOX_MD5SUM\n\tselect BUSYBOX_XARGS\n\tselect BUSYBOX_FEATURE_SORT_BIG\n\tdepends on !ADK_TARGET_ROOTFS_NFSROOT\n\tdepends on !ADK_TARGET_ROOTFS_YAFFS
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,CFGFS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. PKGDFLT_CFGFS= y
  16. BUILD_STYLE:= auto
  17. do-configure:
  18. mkdir -p ${WRKBUILD}
  19. ${CP} ./src/* ${WRKBUILD}
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_CFGFS}/sbin
  22. ${INSTALL_BIN} ${WRKBUILD}/fwcf.sh ${IDIR_CFGFS}/sbin/cfgfs
  23. ${INSTALL_BIN} ${WRKBUILD}/fwcf.helper.out \
  24. ${IDIR_CFGFS}/sbin/cfgfs.helper
  25. include ${TOPDIR}/mk/pkg-bottom.mk