From e14f4cb588669a15bb7757886be31f8a8b10edf8 Mon Sep 17 00:00:00 2001
From: Michal Hrusecky <Michal@Hrusecky.net>
Date: Fri, 20 Jul 2018 21:02:14 +0200
Subject: [PATCH] busybox: Try to fix the issue in completely different way

---
 .../hack/0001-busybox-Provide-static-busybox-build.patch     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/patches/openwrt/hack/0001-busybox-Provide-static-busybox-build.patch b/patches/openwrt/hack/0001-busybox-Provide-static-busybox-build.patch
index df084a104..214a1d5a0 100644
--- a/patches/openwrt/hack/0001-busybox-Provide-static-busybox-build.patch
+++ b/patches/openwrt/hack/0001-busybox-Provide-static-busybox-build.patch
@@ -35,7 +35,7 @@ index 315dd42..1965658 100644
  define Package/busybox/config
  	source "$(SOURCE)/Config.in"
  endef
-@@ -101,11 +115,20 @@ ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
+@@ -101,11 +115,21 @@ ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
  endif
  
  define Build/Configure
@@ -50,8 +50,9 @@ index 315dd42..1965658 100644
  
  define Build/Compile
 +	cp $(PKG_BUILD_DIR)/.config-static $(PKG_BUILD_DIR)/.config
-+	$(call Build/Compile/Default)
++	$(call Build/Compile/Default,all)
 +	cp $(PKG_BUILD_DIR)/busybox $(PKG_BUILD_DIR)/busybox-static
++	$(call Build/Compile/Default,clean)
 +	cp $(PKG_BUILD_DIR)/.config-regular $(PKG_BUILD_DIR)/.config
  	$(call Build/Compile/Default, \
  		CONFIG_PREFIX="$(PKG_INSTALL_DIR)" \
-- 
GitLab