powervr: add powervr virtual package
authorSpenser Gilliland <spenser@gillilanding.com>
Mon, 15 Jul 2013 21:44:18 +0000 (16:44 -0500)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 15 Jul 2013 22:06:29 +0000 (00:06 +0200)
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>
package/Config.in
package/powervr/Config.in [new file with mode: 0644]
package/powervr/powervr.mk [new file with mode: 0644]

index aac31bf45b6d49fb8e5f95ee981db598119299bc..0ecd270fdd5b30f9a73e8dbac76df0093660da8a 100644 (file)
@@ -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 (file)
index 0000000..d09ce74
--- /dev/null
@@ -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 (file)
index 0000000..b63b0e6
--- /dev/null
@@ -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))