Makefile 631 B

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # Copyright (C) 2011-2012 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=padjffs2
  9. PKG_RELEASE:=1
  10. include $(INCLUDE_DIR)/host-build.mk
  11. define Host/Prepare
  12. $(call Host/Prepare/Default)
  13. find $(HOST_BUILD_DIR) -name .svn | $(XARGS) rm -rf
  14. endef
  15. define Host/Compile
  16. $(MAKE) -C $(HOST_BUILD_DIR)
  17. endef
  18. define Host/Configure
  19. endef
  20. define Host/Install
  21. $(CP) $(HOST_BUILD_DIR)/padjffs2 $(STAGING_DIR_HOST)/bin/
  22. endef
  23. define Host/Clean
  24. rm -f $(STAGING_DIR_HOST)/bin/padjffs2
  25. endef
  26. $(eval $(call HostBuild))