From patchwork Tue Jul 9 17:39:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spenser Gilliland X-Patchwork-Id: 257847 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id E75072C009A for ; Wed, 10 Jul 2013 03:41:40 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0AEBE8C6C4; Tue, 9 Jul 2013 17:41:36 +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 fZw9D+3BPMm0; Tue, 9 Jul 2013 17:41:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id DB5648C30B; Tue, 9 Jul 2013 17:40:49 +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 1580B1BFA9F for ; Tue, 9 Jul 2013 17:40:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 376C58C74A for ; Tue, 9 Jul 2013 17:40:48 +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 BO9sPNP9DP2d for ; Tue, 9 Jul 2013 17:40:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) by whitealder.osuosl.org (Postfix) with ESMTPS id 17E238C2B7 for ; Tue, 9 Jul 2013 17:40:05 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id wd20so7273900obb.5 for ; Tue, 09 Jul 2013 10:40:05 -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=3MVJ+cSBceaVF/rsFVt29yK19RHJfD3BT2iRg9HxAoY=; b=UekOWyPytZbqC0H9S5HvAbocHkJxvSMo7w7cK6uTXXQQVg8KPwIcXHq9x6XxLwjzqR l5k3BOb9Vu9Px4ZXlrw6fpHORMlGXEcTZJVXnVurbdIuhf4Rd6szKf4Lx6AC7SyzNHHN byRX+WBqJ6QYNKFdEuhV3ZOPFAhu91jX0l64+M7SJGt1oLSoXTKFPDe5U3bvsz0Gj0hP IM3uOX8rIOWsuHh4SwHiddAYqPUkJQ1g+wyDdy3hQXnzcirqTXkZ/Yoird6vaoKtcvXm aRD5lxII+BSa48as6+kKYUR8QgTVb0zU+/g4+JpI5tZOFS583bFnFceAa08hBBkCC/03 v4KA== X-Received: by 10.60.99.42 with SMTP id en10mr24939484oeb.85.1373391605211; Tue, 09 Jul 2013 10:40:05 -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 fk3sm39208885obb.2.2013.07.09.10.40.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Jul 2013 10:40:04 -0700 (PDT) From: Spenser Gilliland To: buildroot@busybox.net Date: Tue, 9 Jul 2013 12:39:55 -0500 Message-Id: <1373391595-19359-2-git-send-email-spenser@gillilanding.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1373391595-19359-1-git-send-email-spenser@gillilanding.com> References: <1373391595-19359-1-git-send-email-spenser@gillilanding.com> X-Gm-Message-State: ALoCoQlv5EynUVCISZEHFw8URdqXd0QVTXbNgPpBZhe20p1m1wSp4c2xZXY3dWuA0N8bSDpZ0Lul Cc: Thomas Petazzoni , "Yann E. Morin" Subject: [Buildroot] [PATCH v2 2/2] beagle-capes: 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 installs the beaglebone cape dtbos. Signed-off-by: Spenser Gilliland Cc: Peter Korsgaard Cc: Yann E. Morin Cc: Thomas Petazzoni Acked-by: "Yann E. MORIN" --- v1->v2: - alpha order in ../Config.in - clarify Config.in --- package/Config.in | 1 + package/beagle-capes/Config.in | 13 +++++++++++++ package/beagle-capes/beagle-capes.mk | 15 +++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 package/beagle-capes/Config.in create mode 100644 package/beagle-capes/beagle-capes.mk diff --git a/package/Config.in b/package/Config.in index 4df48ba..d17baa9 100644 --- a/package/Config.in +++ b/package/Config.in @@ -221,6 +221,7 @@ menu "Hardware handling" menu "Misc devices firmwares" source "package/am33x-cm3/Config.in" source "package/b43-firmware/Config.in" +source "package/beagle-capes/Config.in" source "package/linux-firmware/Config.in" source "package/rpi-firmware/Config.in" source "package/sunxi-boards/Config.in" diff --git a/package/beagle-capes/Config.in b/package/beagle-capes/Config.in new file mode 100644 index 0000000..90482ec --- /dev/null +++ b/package/beagle-capes/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_BEAGLE_CAPES + bool "beagle-capes" + depends on BR2_LINUX_KERNEL && BR2_arm + select BR2_LINUX_KERNEL_INSTALL_FIRMWARE + help + Installs beaglebone capes firmwares. + + These firmwares are bundled in the TI fork on the Linux kernel for the + BeagleBone; therefore, a kernel with these firmwares must be configured in + the Kernel Configuration section of Buildroot. + +comment "beagle-capes requires a Linux kernel" + depends on !(BR2_LINUX_KERNEL) diff --git a/package/beagle-capes/beagle-capes.mk b/package/beagle-capes/beagle-capes.mk new file mode 100644 index 0000000..5b6f121 --- /dev/null +++ b/package/beagle-capes/beagle-capes.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# beagle-capes +# +################################################################################ + +BEAGLE_CAPES_SOURCE = + +BEAGLE_CAPES_DEPENDENCIES = linux + +define BEAGLE_CAPES_INSTALL_TARGET_CMDS + $(INSTALL) -m 644 $(STAGING_DIR)/lib/firmware/*.dtbo $(TARGET_DIR)/lib/firmware/ +endef + +$(eval $(generic-package))