All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/read-edid: Needs c++
@ 2015-12-13  9:35 Bernd Kuhls
  2015-12-13 13:15 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2015-12-13  9:35 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/8c1/8c11e463b68121fe0331acf9f8a42a1d3fef40c7//
and others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/read-edid/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/read-edid/Config.in b/package/read-edid/Config.in
index c830e17..6f39037 100644
--- a/package/read-edid/Config.in
+++ b/package/read-edid/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_READ_EDID
 	bool "read-edid"
+	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  Read-edid is a pair of tools for reading the EDID from a
 	  monitor. It should work with most monitors made since 1996
@@ -11,3 +12,6 @@ config BR2_PACKAGE_READ_EDID
 	  XF86Config-compatible monitor section.
 
 	  http://polypux.org/projects/read-edid/
+
+comment "read-edid needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
-- 
2.6.2

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

* [Buildroot] [PATCH 1/1] package/read-edid: Needs c++
  2015-12-13  9:35 [Buildroot] [PATCH 1/1] package/read-edid: Needs c++ Bernd Kuhls
@ 2015-12-13 13:15 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-12-13 13:15 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sun, 13 Dec 2015 10:35:43 +0100, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/8c1/8c11e463b68121fe0331acf9f8a42a1d3fef40c7//
> and others
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

This is not the proper fix: there is no C++ code in this package. The
proper fix is to adjust CMakeLists.txt to remove the C++ check. This is
done by doing:

	project (read-edid C)

See https://cmake.org/cmake/help/v3.0/command/project.html for details,
and especially: "Optionally you can specify which languages your
project supports. Example languages are C, CXX (i.e. C++), Fortran,
etc. By default C and CXX are enabled if no language options are given."

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2015-12-13 13:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-13  9:35 [Buildroot] [PATCH 1/1] package/read-edid: Needs c++ Bernd Kuhls
2015-12-13 13:15 ` 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.