From patchwork Sun Jul 7 23:31:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spenser Gilliland X-Patchwork-Id: 257444 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 3533C2C009A for ; Mon, 8 Jul 2013 09:31:27 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D7B24A0171; Sun, 7 Jul 2013 23:31:21 +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 RbZiuNc7ItRC; Sun, 7 Jul 2013 23:31:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A08C4A017D; Sun, 7 Jul 2013 23:31:18 +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 C385B8F753 for ; Sun, 7 Jul 2013 23:31:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 45DCD895CB for ; Sun, 7 Jul 2013 23:31:20 +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 gNY-W4G6p6wN for ; Sun, 7 Jul 2013 23:31:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-oa0-f45.google.com (mail-oa0-f45.google.com [209.85.219.45]) by whitealder.osuosl.org (Postfix) with ESMTPS id E793989AA3 for ; Sun, 7 Jul 2013 23:31:15 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id j1so5451222oag.4 for ; Sun, 07 Jul 2013 16:31:14 -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=ffh9w6CAPLEwhO37IKl3frED3bTv/JCol7qI7DlIJqs=; b=FISzKguHR2wEVC196tPhoWGhyVAqjdMnK7hvClQFymCL3ufk3xRtJEeMRs3lPueYpY loMhJG6QCvriZWa0W50jLAzrk2R3sSG3CnrpMfOqYPkEr6jBZmkw6ZqdY/mtoWOAgls/ JqiYHeIx2tynbxZD78/GLjU3fVMJa7tUQehoMkcANhtaHdMjD0C/hKAJjklOSc0cF4XT BHJkMU5ubpi1uSUOEosQyAYl+89I3mH3qm40gk7FztbbJLD2t3iAXuKwnHa4rW58bv+s ru0ZCw8G0AbduuYVAKnrLKP2/uaJVdbVQ9iuAq9jxGYgA8HwJSXP5ULlfDktiijAiNKL Mh0w== X-Received: by 10.182.47.137 with SMTP id d9mr18814630obn.26.1373239874602; Sun, 07 Jul 2013 16:31:14 -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 b7sm29820822oby.5.2013.07.07.16.31.13 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 07 Jul 2013 16:31:14 -0700 (PDT) From: Spenser Gilliland To: buildroot@busybox.net Date: Sun, 7 Jul 2013 18:31:06 -0500 Message-Id: <1373239866-18076-2-git-send-email-spenser@gillilanding.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1373239866-18076-1-git-send-email-spenser@gillilanding.com> References: <1373239866-18076-1-git-send-email-spenser@gillilanding.com> X-Gm-Message-State: ALoCoQm4oejDwo+Sl58QzV2c6R5Ipwq0pSibjnjjMND439jgi2+37kuvjIZZMT6vWwCmFn+QzHNv Subject: [Buildroot] [PATCH 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 cape dtbos from the kernel firmware into the target system. Signed-off-by: Spenser Gilliland --- package/Config.in | 1 + package/beagle-capes/Config.in | 12 ++++++++++++ package/beagle-capes/beagle-capes.mk | 15 +++++++++++++++ 3 files changed, 28 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..3b06f98 100644 --- a/package/Config.in +++ b/package/Config.in @@ -226,6 +226,7 @@ source "package/rpi-firmware/Config.in" source "package/sunxi-boards/Config.in" source "package/ux500-firmware/Config.in" source "package/zd1211-firmware/Config.in" +source "package/beagle-capes/Config.in" endmenu source "package/freescale-imx/Config.in" source "package/acpid/Config.in" diff --git a/package/beagle-capes/Config.in b/package/beagle-capes/Config.in new file mode 100644 index 0000000..568e84f --- /dev/null +++ b/package/beagle-capes/Config.in @@ -0,0 +1,12 @@ +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 firmware from the kernel source. + + This package requires that a kernel with beaglebone capes firmware is + selected. + +comment "requires the 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))