aboutsummaryrefslogtreecommitdiff
path: root/package/powervr
diff options
context:
space:
mode:
authorGravatar Spenser Gilliland <spenser@gillilanding.com>2013-07-15 16:44:18 -0500
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-07-16 00:06:29 +0200
commit61900d9245806ce1387fac730a5fd926bf032443 (patch)
tree436a5818dcf9886a38fa5d8674aa31f74a91b32d /package/powervr
parentdba2bef10a9f4bf666d9053f6b3e0d0ecec752c1 (diff)
downloadbuildroot-61900d9245806ce1387fac730a5fd926bf032443.tar.gz
buildroot-61900d9245806ce1387fac730a5fd926bf032443.tar.bz2
powervr: add powervr virtual package
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Sundareson, Prabindh <prabu@ti.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Sinan Akpolat <sinan@linkas.com.tr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/powervr')
-rw-r--r--package/powervr/Config.in2
-rw-r--r--package/powervr/powervr.mk20
2 files changed, 22 insertions, 0 deletions
diff --git a/package/powervr/Config.in b/package/powervr/Config.in
new file mode 100644
index 0000000000..d09ce74d6a
--- /dev/null
+++ b/package/powervr/Config.in
@@ -0,0 +1,2 @@
+config BR2_PACKAGE_HAS_POWERVR
+ bool
diff --git a/package/powervr/powervr.mk b/package/powervr/powervr.mk
new file mode 100644
index 0000000000..b63b0e66e8
--- /dev/null
+++ b/package/powervr/powervr.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# Virtual package for PowerVR driver
+#
+################################################################################
+
+POWERVR_SOURCE =
+
+ifeq ($(BR2_PACKAGE_TI_GFX),y)
+POWERVR_DEPENDENCIES += ti-gfx
+endif
+
+ifeq ($(POWERVR_DEPENDENCIES),)
+define POWERVR_CONFIGURE_CMDS
+ echo "No PowerVR implementation selected. Configuration error."
+ exit 1
+endef
+endif
+
+$(eval $(generic-package))