From patchwork Thu May 30 16:30:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spenser Gilliland X-Patchwork-Id: 247648 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id F238A2C0089 for ; Fri, 31 May 2013 02:35:41 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 11014A0422; Thu, 30 May 2013 16:35:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6JWu+W7Bc4gh; Thu, 30 May 2013 16:35:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6AEAFA033D; Thu, 30 May 2013 16:33:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C07F98F7A2 for ; Thu, 30 May 2013 16:31:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 884BB8F6BF for ; Thu, 30 May 2013 16:31:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gUIrlV0j6NuM for ; Thu, 30 May 2013 16:31:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ye0-f171.google.com (mail-ye0-f171.google.com [209.85.213.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id E042B8F6D7 for ; Thu, 30 May 2013 16:31:04 +0000 (UTC) Received: by mail-ye0-f171.google.com with SMTP id l2so99196yen.16 for ; Thu, 30 May 2013 09:31:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=L0O5qM2MEuHlNMrF9PGUygUvohwCtQsWnYHGXxAGUmo=; b=QhAl/M1I/0aYY7W80T+GOF/1yXtvU2/ueyotRrIedim9cTTq1Zi2BgxoK+LGsbrkXQ 2wF+cWYHfcvq/6TaIr3UiMYaJbzKyDJbyJw/REbKBYRfb+QObNsgFyHbkHrjX/0YKeLf kF+KPnMcLH+H1dfKxunJvBpQhKNJnh90S7ELqPI2Q+qYZBi/ixbQstJ6HqDZzlgOH/dH 0rrI5+3DkZZk1a4xYXusOSrOYoAVSr87GCqk6wRf/USvW17LsMw6YsOGYUrHrOCxOhDg sK+nZpn+wekzFbB72EejHlgS/b4eb40Yje24+za4apk9lnrzwTrDpR7Z6aeJ4jphev3t /KPw== X-Received: by 10.236.47.132 with SMTP id t4mr807555yhb.171.1369931463940; Thu, 30 May 2013 09:31:03 -0700 (PDT) Received: from bourban.gateway.2wire.net (108-90-245-135.lightspeed.cicril.sbcglobal.net. [108.90.245.135]) by mx.google.com with ESMTPSA id d51sm60909674yho.14.2013.05.30.09.31.02 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 May 2013 09:31:03 -0700 (PDT) From: Spenser Gilliland To: buildroot@busybox.net Date: Thu, 30 May 2013 11:30:36 -0500 Message-Id: <1369931437-12445-14-git-send-email-spenser@gillilanding.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369931437-12445-1-git-send-email-spenser@gillilanding.com> References: <1369931437-12445-1-git-send-email-spenser@gillilanding.com> X-Gm-Message-State: ALoCoQkoxDNzdUOoNogPqiUzMZRyYZ6M3kRE79A1jBobwp33FzWZ11TfiXZ3U3zFWed5Lk0G8yHg Subject: [Buildroot] [PATCH v9 13/14] libopenmax: Add libopenmax virtual package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net this adds the libopenmax virtual package for hardware based video acceleration Signed-off-by: Spenser Gilliland --- package/multimedia/bellagio/Config.in | 1 + package/opengl/Config.in | 3 +++ package/opengl/libopenmax/libopenmax.mk | 24 ++++++++++++++++++++++++ package/rpi-userland/Config.in | 1 + 4 files changed, 29 insertions(+) create mode 100644 package/opengl/libopenmax/libopenmax.mk diff --git a/package/multimedia/bellagio/Config.in b/package/multimedia/bellagio/Config.in index 4be3aee..3292ef5 100644 --- a/package/multimedia/bellagio/Config.in +++ b/package/multimedia/bellagio/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_BELLAGIO bool "bellagio" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HAS_OPENMAX help Bellagio is an opensource implementation of the OpenMAX IL API. diff --git a/package/opengl/Config.in b/package/opengl/Config.in index 81616f9..1636807 100644 --- a/package/opengl/Config.in +++ b/package/opengl/Config.in @@ -6,3 +6,6 @@ config BR2_PACKAGE_HAS_OPENGL_ES config BR2_PACKAGE_HAS_OPENVG bool + +config BR2_PACKAGE_HAS_OPENMAX + bool diff --git a/package/opengl/libopenmax/libopenmax.mk b/package/opengl/libopenmax/libopenmax.mk new file mode 100644 index 0000000..dc29370 --- /dev/null +++ b/package/opengl/libopenmax/libopenmax.mk @@ -0,0 +1,24 @@ +############################################################# +# +# Virtual package for libopenmax +# +############################################################# + +LIBOPENMAX_SOURCE = + +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +LIBOPENMAX_DEPENDENCIES += rpi-userland +endif + +ifeq ($(BR2_PACKAGE_BELLAGIO),y) +LIBOPENMAX_DEPENDENCIES += bellagio +endif + +ifeq ($(LIBOPENMAX_DEPENDENCIES),y) +define LIBOPENMAX_CONFIGURE_CMDS + echo "No libopenmax implementation selected. Configuration error." + exit 1 +endef +endif + +$(eval $(generic-package)) diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in index 2c35fb7..da5726f 100644 --- a/package/rpi-userland/Config.in +++ b/package/rpi-userland/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_RPI_USERLAND select BR2_PACKAGE_HAS_OPENGL_EGL select BR2_PACKAGE_HAS_OPENGL_ES select BR2_PACKAGE_HAS_OPENVG + select BR2_PACKAGE_HAS_OPENMAX help Raspberry Pi Userland contains the necessary library to use the VideoCore driver.