* [Buildroot] [PATCH 1/1] package/keyutils: fix build without C++
@ 2020-10-01 6:46 Fabrice Fontaine
2020-10-01 8:53 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-10-01 6:46 UTC (permalink / raw)
To: buildroot
Create cxx.stamp to disable the check that keyutils.h has a valid C++
syntax that has been added with
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=991c272062a4300bbd5fe22dce17ab2fb5126e3f
Fixes:
- http://autobuild.buildroot.org/results/53ec9ca02798a88cd9ab773af10fc8f44ce9d1a2
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/keyutils/keyutils.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/keyutils/keyutils.mk b/package/keyutils/keyutils.mk
index 46f06531ce..cba57cf199 100644
--- a/package/keyutils/keyutils.mk
+++ b/package/keyutils/keyutils.mk
@@ -22,6 +22,11 @@ ifeq ($(BR2_SHARED_LIBS),y)
KEYUTILS_MAKE_PARAMS += NO_ARLIB=1
endif
+# Touch cxx.stamp to avoid adding a C++ dependency
+define KEYUTILS_CONFIGURE_CMDS
+ touch $(@D)/cxx.stamp
+endef
+
define KEYUTILS_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D)
endef
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/keyutils: fix build without C++
2020-10-01 6:46 [Buildroot] [PATCH 1/1] package/keyutils: fix build without C++ Fabrice Fontaine
@ 2020-10-01 8:53 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-10-01 8:53 UTC (permalink / raw)
To: buildroot
On Thu, 1 Oct 2020 08:46:13 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Create cxx.stamp to disable the check that keyutils.h has a valid C++
> syntax that has been added with
> https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=991c272062a4300bbd5fe22dce17ab2fb5126e3f
>
> Fixes:
> - http://autobuild.buildroot.org/results/53ec9ca02798a88cd9ab773af10fc8f44ce9d1a2
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/keyutils/keyutils.mk | 5 +++++
> 1 file changed, 5 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-01 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01 6:46 [Buildroot] [PATCH 1/1] package/keyutils: fix build without C++ Fabrice Fontaine
2020-10-01 8:53 ` Thomas Petazzoni
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.