summaryrefslogtreecommitdiffstats
path: root/package/amd-catalyst/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/amd-catalyst/Config.in')
-rw-r--r--package/amd-catalyst/Config.in54
1 files changed, 54 insertions, 0 deletions
diff --git a/package/amd-catalyst/Config.in b/package/amd-catalyst/Config.in
new file mode 100644
index 0000000000..1578324aac
--- /dev/null
+++ b/package/amd-catalyst/Config.in
@@ -0,0 +1,54 @@
+comment "amd-catalyst needs a glibc toolchain"
+ depends on BR2_i386 || BR2_x86_64
+ depends on !BR2_TOOLCHAIN_USES_GLIBC
+
+config BR2_PACKAGE_AMD_CATALYST
+ bool "amd-catalyst"
+ depends on BR2_i386 || BR2_x86_64
+ depends on BR2_TOOLCHAIN_USES_GLIBC
+ help
+ The binary-only driver blob for AMD cards.
+ This driver supports AMD Radeon HD 5xxx and newer graphics
+ cards.
+
+ http://www.amd.com/
+
+if BR2_PACKAGE_AMD_CATALYST
+
+comment "amd-catalyst X.org drivers needs a modular Xorg server <= 1.17"
+ depends on !BR2_PACKAGE_XORG7 \
+ || !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR \
+ || !BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_19
+
+config BR2_PACKAGE_AMD_CATALYST_XORG
+ bool "X.org drivers"
+ default y
+ depends on BR2_PACKAGE_XORG7
+ depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
+ depends on BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_19
+ select BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX
+ select BR2_PACKAGE_ACPID # runtime
+ select BR2_PACKAGE_XLIB_LIBX11 # runtime
+ select BR2_PACKAGE_XLIB_LIBXEXT # runtime
+ select BR2_PACKAGE_XLIB_LIBXCOMPOSITE # runtime
+ # This package does not have standard GL headers
+ select BR2_PACKAGE_MESA3D_HEADERS
+ select BR2_PACKAGE_HAS_LIBGL
+
+if BR2_PACKAGE_AMD_CATALYST_XORG
+
+config BR2_PACKAGE_PROVIDES_LIBGL
+ default "amd-catalyst"
+
+endif
+
+comment "amd-catalyst kernel module needs a kernel to be built"
+ depends on !BR2_LINUX_KERNEL
+
+config BR2_PACKAGE_AMD_CATALYST_MODULE
+ bool "fglrx kernel module"
+ depends on BR2_LINUX_KERNEL
+ help
+ Builds and install the fglrx kernel module
+
+endif # BR2_PACKAGE_AMD_CATALYST
OpenPOWER on IntegriCloud