When the configure file is missing from the project, an autogen.sh
should be added to patches instead of running autogen.sh in the prepare
stage.

Signed-off-by: Sven Püschel <[email protected]>
---
 patches/sockperf-3.10/autogen.sh | 1 +
 rules/sockperf.make              | 6 ------
 2 files changed, 1 insertion(+), 6 deletions(-)
 create mode 120000 patches/sockperf-3.10/autogen.sh

diff --git a/patches/sockperf-3.10/autogen.sh b/patches/sockperf-3.10/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/sockperf-3.10/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/rules/sockperf.make b/rules/sockperf.make
index 55b96875d..b1037c899 100644
--- a/rules/sockperf.make
+++ b/rules/sockperf.make
@@ -32,12 +32,6 @@ SOCKPERF_CONF_TOOL   := autoconf
 SOCKPERF_CONF_ENV       := $(CROSS_ENV) GIT_CEILING_DIRECTORIES="$(BUILDDIR)"
 SOCKPERF_MAKE_ENV       := $(CROSS_ENV) GIT_CEILING_DIRECTORIES="$(BUILDDIR)"
 
-$(STATEDIR)/sockperf.prepare:
-       @$(call targetinfo)
-       @$(call world/execute, SOCKPERF, ./autogen.sh)
-       @$(call world/prepare, SOCKPERF)
-       @$(call touch)
-
 # ----------------------------------------------------------------------------
 # Target-Install
 # ----------------------------------------------------------------------------
-- 
2.47.3


Reply via email to