2 # Copyright (C) 2011-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
13 include $(INCLUDE_DIR)/host-build.mk
16 mkdir -p $(HOST_BUILD_DIR)
17 $(CP) ./src/* $(HOST_BUILD_DIR)/
18 find $(HOST_BUILD_DIR) -name .svn | $(XARGS) rm -rf
22 $(MAKE) -C $(HOST_BUILD_DIR)
29 $(CP) $(HOST_BUILD_DIR)/padjffs2 $(STAGING_DIR_HOST)/bin/
33 rm -f $(STAGING_DIR_HOST)/bin/padjffs2
36 $(eval $(call HostBuild))