summaryrefslogtreecommitdiffstats
path: root/package/e2fsprogs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/e2fsprogs/Makefile')
-rw-r--r--package/e2fsprogs/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile
index 1d56bacc8..633b55512 100644
--- a/package/e2fsprogs/Makefile
+++ b/package/e2fsprogs/Makefile
@@ -69,6 +69,11 @@ CONFIGURE_ARGS += \
--enable-elf-shlibs \
--enable-dynamic-e2fsck
+define Build/Prepare
+ $(call Build/Prepare/Default)
+ $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/config/
+endef
+
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/util \
BUILDCC="$(HOSTCC)" \