From patchwork Sat Jan 5 14:10:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 209676 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id BDAD72C0085 for ; Sun, 6 Jan 2013 01:11:37 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 94791306B1; Sat, 5 Jan 2013 14:11:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CMZtzfXyYJLR; Sat, 5 Jan 2013 14:11:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 725332FF68; Sat, 5 Jan 2013 14:11:26 +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 86CED8F753 for ; Sat, 5 Jan 2013 14:11:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 791188BC5E for ; Sat, 5 Jan 2013 14:11:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17C+ItQXIWLM for ; Sat, 5 Jan 2013 14:11:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4DEBB8BBDE for ; Sat, 5 Jan 2013 14:11:18 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id fg15so8058119wgb.21 for ; Sat, 05 Jan 2013 06:11:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references; bh=ASgIB022m91gXRYbWcSSgfx8tM2Z3xaBodqrXHXtcqk=; b=T4Q1TfH9joD7KrvkjGFNNnIdK/Z8B8Vojsv0YSQcE8mjYul69GuhbO/vgM6QXQcIvv sYmF9dq2FPEQSGTrJlSDZS5z9LJsRdFyNxH7T5Jhcw8n9m/MMxG2wLhfzM2UC1XYnm0Z iF3vLEYuR7ns+9xFZ2fmoJyLLPZOjYigbP/H1UFrdtP5Dkrsmttn6Tx8spEINITlpnff xjzi6xB1tWb6+9UWt/fKfdLNQnKaeUfyQE24/GZAHdgnqXNR6RbHQ9TkukYNpnFYX04o 1X/meMmZ69a0KowW3rkEj1ECIZ4YnOmBta3ERCZH/QGjNTEzNvWq3sFGQd5aVwYRrV3R 4tnQ== X-Received: by 10.180.88.40 with SMTP id bd8mr2110384wib.33.1357395076477; Sat, 05 Jan 2013 06:11:16 -0800 (PST) Received: from localhost.localdomain (13-105-190-109.dsl.ovh.fr. [109.190.105.13]) by mx.google.com with ESMTPS id bw9sm3450406wib.5.2013.01.05.06.11.15 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 05 Jan 2013 06:11:15 -0800 (PST) From: Maxime Hadjinlian To: buildroot@busybox.net Date: Sat, 5 Jan 2013 15:10:53 +0100 Message-Id: <0e55a309b9f4a9b8ee175d301d40e7574e9227b0.1357394983.git.maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: In-Reply-To: References: Subject: [Buildroot] [PATCH 2/3] rpi-userland: new 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 Introducing a package to build the userland part of the Raspberry, needed by anyone who would want to build a rootfs for a RaspberryPi. Signed-off-by: Maxime Hadjinlian --- package/Config.in | 1 + package/rpi-userland/Config.in | 12 ++++++++++++ package/rpi-userland/rpi-userland.mk | 25 +++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 package/rpi-userland/Config.in create mode 100644 package/rpi-userland/rpi-userland.mk diff --git a/package/Config.in b/package/Config.in index a3530d7..604ed1b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -579,6 +579,7 @@ source "package/collectd/Config.in" source "package/empty/Config.in" source "package/googlefontdirectory/Config.in" source "package/mobile-broadband-provider-info/Config.in" +source "package/rpi-userland/Config.in" source "package/shared-mime-info/Config.in" source "package/snowball-init/Config.in" source "package/sound-theme-borealis/Config.in" diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in new file mode 100644 index 0000000..3d4585f --- /dev/null +++ b/package/rpi-userland/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_RPI_USERLAND + bool "rpi-userland" + select BR2_PACKAGE_LIBCOFI + help + Raspberry Pi Userland contains the necessary library to use the + VideoCore driver. + + Includes source for the ARM side code to interface to: + EGL, mmal, GLESv2, vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG. + + https://github.com/raspberrypi/userland/ + diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk new file mode 100644 index 0000000..5bae06d --- /dev/null +++ b/package/rpi-userland/rpi-userland.mk @@ -0,0 +1,25 @@ +############################################################# +# +# rpi-userland +# +############################################################# +RPI_USERLAND_VERSION = 9852ce28826889e50c4d6786b942f51bccccac54 +RPI_USERLAND_SITE = http://github.com/raspberrypi/userland/tarball/master +RPI_USERLAND_LICENSE = FOSS +RPI_USERLAND_LICENSE_FILE = LICENCE +RPI_USERLAND_INSTALL_STAGING = YES + +define RPI_USERLAND_POST_TARGET_CLEANUP + rm -Rf $(TARGET_DIR)/opt/vc/include + rm -Rf $(TARGET_DIR)/opt/vc/share + rm -Rf $(TARGET_DIR)/opt/vc/src + rm -f $(TARGET_DIR)/etc/init.d/vcfiled + rm -f $(TARGET_DIR)/opt/vc/lib/*.a + rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/etc/init.d || true + mv $(TARGET_DIR)/opt/vc/lib/* $(TARGET_DIR)/usr/lib/ + rm -Rf $(TARGET_DIR)/opt/vc/ +endef + +RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_POST_TARGET_CLEANUP + +$(eval $(cmake-package))