mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] sockperf: don't run autogen.sh in sockperf.make
@ 2025-10-13 16:35 Sven Püschel
  2025-10-17  8:21 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Püschel @ 2025-10-13 16:35 UTC (permalink / raw)
  To: ptxdist; +Cc: Sven Püschel

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 <s.pueschel@pengutronix.de>
---
 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] sockperf: don't run autogen.sh in sockperf.make
  2025-10-13 16:35 [ptxdist] [PATCH] sockperf: don't run autogen.sh in sockperf.make Sven Püschel
@ 2025-10-17  8:21 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2025-10-17  8:21 UTC (permalink / raw)
  To: ptxdist; +Cc: Sven Püschel

Thanks, applied as deb15b25163b6d4e12ddb49a22bc308f62e5d327.

Michael

[sent from post-receive hook]

On Fri, 17 Oct 2025 10:21:04 +0200, Sven Püschel <s.pueschel@pengutronix.de> wrote:
> 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 <s.pueschel@pengutronix.de>
> Message-Id: <20251013163527.2665822-2-s.pueschel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/patches/sockperf-3.10/autogen.sh b/patches/sockperf-3.10/autogen.sh
> new file mode 120000
> index 000000000000..9f8a4cb7ddcb
> --- /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 55b96875d5d4..b1037c899e95 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
>  # ----------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-17  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-13 16:35 [ptxdist] [PATCH] sockperf: don't run autogen.sh in sockperf.make Sven Püschel
2025-10-17  8:21 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox