From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 21 Apr 2016 22:16:39 +0200 Subject: [Buildroot] [PATCH] kmsxx: new package In-Reply-To: References: <1461100189-19627-1-git-send-email-maxime.ripard@free-electrons.com> Message-ID: <20160421221639.78c8c2ef@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Wed, 20 Apr 2016 21:51:32 +0200, Samuel Martin wrote: > > +config BR2_PACKAGE_KMSXX > > + bool "kmsxx" > > + select BR2_PACKAGE_LIBDRM > > + depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs > > + help > > + libkms++ is a C++11 library for kernel mode setting. > Does this mean there is some restriction on the toolchain properties? > (maybe a minimal compiler version?) > If so, a "depends on BR2_TOOLCHAIN_GCC_AT_LEAST_..." would be needed. Well, for sure if it's written in C++, a dependency on BR2_INSTALL_LIBSTDCPP is needed. And since it's C++11, a dependency on gcc 4.7 or 4.8 is most likely needed. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com