Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1, next] pkg-cmake: fix typo for the make backend
@ 2023-08-07 13:42 Thomas Devoogdt
  2023-08-07 17:37 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Devoogdt @ 2023-08-07 13:42 UTC (permalink / raw)
  To: buildroot; +Cc: Samuel Martin, Yann E . MORIN, Thomas Devoogdt

A small typo in commit 4cf79d9b71ff5cf2aede3f21e09ade7c7ac59606
causes the wrong path to be selected.

Cmake breaks on the first compiler check because it isn't
able to call the make program with the -jxx added.

$(firstword $$(MAKE)) --> -DCMAKE_MAKE_PROGRAM="/usr/bin/make -j13"
$(firstword $(MAKE)) --> -DCMAKE_MAKE_PROGRAM="/usr/bin/make"

Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
---
 package/pkg-cmake.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk
index e085fb2b5d..3483b50d46 100644
--- a/package/pkg-cmake.mk
+++ b/package/pkg-cmake.mk
@@ -65,7 +65,7 @@ endif
 ifeq ($$($(3)_CMAKE_BACKEND),make)
 $(2)_GENERATOR = "Unix Makefiles"
 # $$(MAKE) can be 'make -jN', we just want 'make'  (possibly with a full path)
-$(2)_GENERATOR_PROGRAM = $(firstword $$(MAKE))
+$(2)_GENERATOR_PROGRAM = $(firstword $(MAKE))
 # Generator specific code (make) should be avoided,
 # but for now, copy them to the new variables.
 $(2)_BUILD_ENV ?= $$($(2)_MAKE_ENV)
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2023-08-07 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-07 13:42 [Buildroot] [PATCH v1, next] pkg-cmake: fix typo for the make backend Thomas Devoogdt
2023-08-07 17:37 ` Yann E. MORIN

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