summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpenser Gilliland <spenser@gillilanding.com>2013-07-15 16:44:18 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2013-07-16 00:06:29 +0200
commit61900d9245806ce1387fac730a5fd926bf032443 (patch)
tree436a5818dcf9886a38fa5d8674aa31f74a91b32d
parentdba2bef10a9f4bf666d9053f6b3e0d0ecec752c1 (diff)
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>
-rw-r--r--package/Config.in1
-rw-r--r--package/powervr/Config.in2
-rw-r--r--package/powervr/powervr.mk20
3 files changed, 23 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index aac31bf45..0ecd270fd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -473,6 +473,7 @@ source "package/opengl/Config.in"
source "package/pango/Config.in"
source "package/pixman/Config.in"
source "package/poppler/Config.in"
+source "package/powervr/Config.in"
source "package/tiff/Config.in"
source "package/wayland/Config.in"
source "package/webkit/Config.in"
diff --git a/package/powervr/Config.in b/package/powervr/Config.in
new file mode 100644
index 000000000..d09ce74d6
--- /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 000000000..b63b0e66e
--- /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))