Makefile 674 B

123456789101112131415161718192021222324
  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:= mtd-utils
  5. PKG_VERSION:= 1.5.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a4df1ad29684be79b0fa699bdae01faf
  8. PKG_SITES:= http://openadk.org/distfiles/
  9. include ../rules.mk
  10. all: ${STAGING_HOST_DIR}/bin/mkfs.jffs2
  11. $(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
  12. ${MAKE} -C ${WRKBUILD} CC='${CC_FOR_BUILD}' CPPFLAGS='-DWITHOUT_XATTR=1 -I./include'
  13. touch $@
  14. ${STAGING_HOST_DIR}/bin/mkfs.jffs2: $(WRKBUILD)/.compiled
  15. $(INSTALL_BIN) $(WRKBUILD)/mkfs.jffs2 \
  16. ${STAGING_HOST_DIR}/bin
  17. include $(TOPDIR)/mk/tools.mk