From 61900d9245806ce1387fac730a5fd926bf032443 Mon Sep 17 00:00:00 2001 From: Spenser Gilliland Date: Mon, 15 Jul 2013 16:44:18 -0500 Subject: [PATCH] powervr: add powervr virtual package Signed-off-by: Spenser Gilliland Cc: Thomas Petazzoni Cc: Sundareson, Prabindh Cc: Peter Korsgaard Cc: Sinan Akpolat Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/powervr/Config.in | 2 ++ package/powervr/powervr.mk | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 package/powervr/Config.in create mode 100644 package/powervr/powervr.mk diff --git a/package/Config.in b/package/Config.in index aac31bf45b..0ecd270fdd 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 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)) -- 2.30.2