* [Buildroot] [PATCH v2] package/evilwm: fix compilation with external toolchains
@ 2025-09-11 9:23 Waldemar Brodkorb
2026-01-02 17:20 ` Thomas Petazzoni via buildroot
2026-01-13 19:45 ` Arnout Vandecappelle via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2025-09-11 9:23 UTC (permalink / raw)
To: buildroot
Switch to generic-package, as the configure script isn't really a
autotool generated script. This fixes building evilwm with an
external toolchain.
Fixes:
- https://autobuild.buildroot.org/results/250/25040ce7e94acf8f92c24db895d7dea081de1d7a
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
v1->v2:
- add link to autobuilder (suggested by Arnout)
- use TARGET_CROSS (suggested by Arnout)
---
package/evilwm/evilwm.mk | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/package/evilwm/evilwm.mk b/package/evilwm/evilwm.mk
index 78b531095b..12934427b9 100644
--- a/package/evilwm/evilwm.mk
+++ b/package/evilwm/evilwm.mk
@@ -18,4 +18,26 @@ endef
EVILWM_POST_INSTALL_TARGET_HOOKS += EVILWM_INSTALL_XSESSION_FILE
-$(eval $(autotools-package))
+EVILWM_TOOLS_PREFIX += $(patsubst %-,%,$(TARGET_CROSS))
+
+# the configure script is not generated by autoconf
+define EVILWM_CONFIGURE_CMDS
+ (cd $(@D); $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --host=$(EVILWM_TOOLS_PREFIX) \
+ )
+endef
+
+define EVILWM_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
+endef
+
+define EVILWM_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
+endef
+
+$(eval $(generic-package))
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH v2] package/evilwm: fix compilation with external toolchains
2025-09-11 9:23 [Buildroot] [PATCH v2] package/evilwm: fix compilation with external toolchains Waldemar Brodkorb
@ 2026-01-02 17:20 ` Thomas Petazzoni via buildroot
2026-01-13 19:45 ` Arnout Vandecappelle via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-02 17:20 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: buildroot
On Thu, 11 Sep 2025 11:23:08 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:
> Switch to generic-package, as the configure script isn't really a
> autotool generated script. This fixes building evilwm with an
> external toolchain.
>
> Fixes:
> - https://autobuild.buildroot.org/results/250/25040ce7e94acf8f92c24db895d7dea081de1d7a
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
> v1->v2:
> - add link to autobuilder (suggested by Arnout)
> - use TARGET_CROSS (suggested by Arnout)
> ---
> package/evilwm/evilwm.mk | 24 +++++++++++++++++++++++-
> 1 file changed, 23 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH v2] package/evilwm: fix compilation with external toolchains
2025-09-11 9:23 [Buildroot] [PATCH v2] package/evilwm: fix compilation with external toolchains Waldemar Brodkorb
2026-01-02 17:20 ` Thomas Petazzoni via buildroot
@ 2026-01-13 19:45 ` Arnout Vandecappelle via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2026-01-13 19:45 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: Arnout Vandecappelle, buildroot
In reply of:
> Switch to generic-package, as the configure script isn't really a
> autotool generated script. This fixes building evilwm with an
> external toolchain.
>
> Fixes:
> - https://autobuild.buildroot.org/results/250/25040ce7e94acf8f92c24db895d7dea081de1d7a
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Applied to 2025.02.x and 2025.11.x. Thanks
> ---
> v1->v2:
> - add link to autobuilder (suggested by Arnout)
> - use TARGET_CROSS (suggested by Arnout)
> ---
> package/evilwm/evilwm.mk | 24 +++++++++++++++++++++++-
> 1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --git a/package/evilwm/evilwm.mk b/package/evilwm/evilwm.mk
> index 78b531095b..12934427b9 100644
> --- a/package/evilwm/evilwm.mk
> +++ b/package/evilwm/evilwm.mk
> @@ -18,4 +18,26 @@ endef
>
> EVILWM_POST_INSTALL_TARGET_HOOKS += EVILWM_INSTALL_XSESSION_FILE
>
> -$(eval $(autotools-package))
> +EVILWM_TOOLS_PREFIX += $(patsubst %-,%,$(TARGET_CROSS))
> +
> +# the configure script is not generated by autoconf
> +define EVILWM_CONFIGURE_CMDS
> + (cd $(@D); $(TARGET_CONFIGURE_OPTS) \
> + CFLAGS="$(TARGET_CFLAGS)" \
> + LDFLAGS="$(TARGET_LDFLAGS)" \
> + ./configure \
> + --prefix=/usr \
> + --mandir=/usr/share/man \
> + --host=$(EVILWM_TOOLS_PREFIX) \
> + )
> +endef
> +
> +define EVILWM_BUILD_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
> +endef
> +
> +define EVILWM_INSTALL_TARGET_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
> +endef
> +
> +$(eval $(generic-package))
> --
> 2.47.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-13 19:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-11 9:23 [Buildroot] [PATCH v2] package/evilwm: fix compilation with external toolchains Waldemar Brodkorb
2026-01-02 17:20 ` Thomas Petazzoni via buildroot
2026-01-13 19:45 ` Arnout Vandecappelle via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.