summaryrefslogtreecommitdiffstats
path: root/package/libdrm/Config.in
Commit message (Collapse)AuthorAgeFilesLines
* libdrm: improve atomic handling, fix SPARCv8 buildThomas Petazzoni2016-05-291-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit improves the handling of the "atomic stuff" in the libdrm package. libdrm can either use the atomic intrinsics (4 byte variant) when available, or otherwise can use libatomic_ops. Note that the dependency on atomic operations is not from libdrm itself, but only from some specific DRM drivers only. Amongst other things, it fixes the build of the libdrm package on SPARCv8, therefore fixing: http://autobuild.buildroot.org/results/74dd29b5ea146c320fde80a87a2fc910de9b7f60/ This commit does a number of changes that are all related to each other: - Removes the dependency of the Intel DRM driver on libatomic_ops. The Intel DRM driver builds perfectly fine without libatomic_ops, as long as 4-byte variant __sync operations are available, which is always the case on x86 and x86_84 (which are the only architectures on which the Intel DRM driver can be enabled). - Adds an hidden Config.in boolean option BR2_PACKAGE_LIBDRM_HAS_ATOMIC that allows DRM driver that need atomic operation to know whether atomic support is available (either through intrinsics or through libatomic_ops). - Adds an hidden BR2_PACKAGE_LIBDRM_ENABLE_ATOMIC Config.in option that DRM drivers that need atomic operation should select to ensure that the relevant dependencies are selected. It simply selects libatomic_ops if 4-byte atomic intrinsics are not available. We could let each DRM driver do this, but having an intermediate option avoids a bit of duplication. - Adds a patch that defines AO_REQUIRE_CAS before including <atomic_ops.h>. This is needed because libdrm uses the AO_compare_and_swap_full() which is only provided on all architectures when AO_REQUIRE_CAS is defined. The exact same fix was done in the erlang package in commit 4a9df2942470241d7a96f326f0e7012aacd36f2e. - Adds the dependency on libatomic_ops when the package is enabled, and passes the necessary CFLAGS on SPARCv8 to make the thing build properly. The same CFLAGS are passed in the nginx package and bdwgc package. Cc: Waldemar Brodkorb <wbx@openadk.org> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libdrm: add vc4 (Raspberry Pi) optionPeter Seiderer2016-03-311-0/+6
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: Remove i386/x86_64 dependency from Nouveau driverBernd Kuhls2015-12-201-1/+0
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: update driver optionsPeter Seiderer2015-10-101-8/+19
| | | | | | | | | | | - add AMD GPU driver (available since 2.4.63) - freedreno is no longer experimental (since 2.4.59) - add NVIDIA Tegra driver (available since 2.4.59) - update help texts (install vs. installs, change to complete sentences) Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xlib_libpciaccess: Rename package to libpciaccessBernd Kuhls2014-10-191-6/+1
| | | | | | | | | While libpciaccess is part of the X libraries, it does not depend upon X11 or any other X library. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm/intel: Explain dependency on xorg in Kconfig only for BR2_i386/BR2_x86_64Bernd Kuhls2014-08-011-0/+1
| | | | | | | Suggested by Yann: http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/82731 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: Add menu option to install the test programsEzequiel GarcĂ­a2014-06-141-0/+5
| | | | | | | | The libdrm has a bunch of useful test programs. Add an option to pass the configure option to install them. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: Explain dependency on xorg in KconfigBernd Kuhls2014-04-271-0/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libdrm: needs threadsRomain Naour2014-04-211-2/+3
| | | | | | | | | | | libdrm select libpthread-stubs that needs threads support. Fixes: http://autobuild.buildroot.net/results/1da/1dad13110312a44b40b9ee4050b265de1f3c8a42/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: radeon does not depend on x86Yann E. MORIN2014-04-171-1/+0
| | | | | | | | | | | | | | | | | | Thomas reported that the libdrm-radeon dependency on x86 (32- or 64-bit) dates back to the time where it also depended on libpciaccess. Now that the libpciacess dependency has been dropped, Thomas managed to build a libdrm-radeon on something else than an x86 (an ARM for example). Make libdrm-radeon no longer depend on x86 As a side effect, this fixes some potential "unmet direct dependencies" from the xdriver_xf86-video-ati package (which was the initial problem I was trying to solve.) Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: Remove dependency towards X11Bernd Kuhls2014-03-021-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Using this defconfig BR2_x86_pentium_mmx=y BR2_ENABLE_DEBUG=y BR2_OPTIMIZE_2=y BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y # BR2_UCLIBC_INSTALL_UTILS is not set BR2_BINUTILS_VERSION_2_23_2=y BR2_GCC_VERSION_4_8_X=y BR2_PACKAGE_LIBDRM=y BR2_PACKAGE_LIBDRM_RADEON=y BR2_PACKAGE_LIBDRM_NOUVEAU=y BR2_PACKAGE_LIBDRM_VMWGFX=y libdrm (w/o Intel API) compiles without BR2_PACKAGE_LIBATOMIC_OPS and without BR2_PACKAGE_XLIB_LIBPCIACCESS, so USE_WCHAR, TOOLCHAIN_HAS_THREADS and !BR2_PREFER_STATIC_LIB, previously added by the Xorg dependency, do not seem to be necessary for libdrm at all. Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com> Signed-Off-By: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xlib_libpthread-stubs: Rename package to libpthread-stubsBernd Kuhls2014-03-021-1/+1
| | | | | | | | Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com> Signed-Off-By: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Config.in files: add missing dependencies to toolchain option commentsThomas De Schampheleire2013-11-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libdrm: bump and add experimental ARM framebuffer supportSpenser Gilliland2013-09-201-11/+57
| | | | | | | [Peter: adjust intel/ati drivers to match] Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libdrm: bump version and add lib_pciaccess dependancyJesper Baekdahl2013-03-201-0/+1
|
* package: fixup after pthred-stubs renamePeter Korsgaard2013-01-061-1/+1
| | | | | | | Commit 5bd41d165 (pthread-stubs: rename to xlib_libpthread-stubs) renamed the pthread-stubs package but forgot to update the select statements. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libatomic_ops: make it available only on supported architecturesThomas Petazzoni2012-03-201-1/+4
| | | | | | | | | | libatomic_ops build fails on architectures such as MIPS or SuperH that are not supported. So we make it possible to select the libatomic_ops package only for the architectures that are known to be supported. [Peter: add armeb as supported arch] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libdrm: needs LARGEFILE supportPeter Korsgaard2010-07-201-0/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libdrm: enable/disable features according to driver selectionPaulius Zaleckas2010-04-141-0/+1
| | | | | | | | Also cleanup autotools symbols and add libatomic_ops dependency for Intel part. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Bump libdrm to 2.4.19Paul Jones2010-04-031-0/+7
| | | | | | | | Also adds proper dependency information to stop build errors. Signed-off-by: Paul Jones <paul@pauljones.id.au> Acked-By: Will Wagner<willw@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pkgconfig: add pkgconfig package for targetPeter Korsgaard2009-03-181-1/+0
| | | | | | | | | | | | | The host versions shouldn't be visible in Kconfig, so remove the reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets with host-. At the same time add pkgconfig for the target (E.G. for development) and let BR2_PACKAGE_PKGCONFIG control that package. Notice: all defconfigs in the tree have been updated, but make sure to disable the pkgconfig package (unless you want it) if you use an external config, otherwise you'll end up with pkgconfig and glib2 in the target.
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-1/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* packages: fix pkgconfig depencies and select pkgconfig where neededPeter Korsgaard2008-06-141-1/+2
|
* Use package/libdrm instead of package/x11r7/libdrmUlf Samuelsson2007-08-111-2/+3
|
* Merge in X11R7 patches from Julien Letessier, posted 04 Jul 2007. Doesn'tEric Andersen2007-08-101-0/+6
quite work yet for me, but this clearly is a huge project and not having it quite work on the first pass is hardly unexpected. We definately want this stuff in buildroot.
OpenPOWER on IntegriCloud