From patchwork Sun Oct 22 20:21:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan Herpai X-Patchwork-Id: 829080 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UNKcwlp9"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yKrYr50Wjz9sRg for ; Mon, 23 Oct 2017 07:22:40 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8x0Kf/cpPybY03I8+4xEUqBjROKjJtGvVruPQ28f1iw=; b=UNKcwlp9bf4v+7 pPmnRrCP6+GF14oLYTO/kXTiQHJEgMFt82yGeR1VEsGHTtXfWXn0n9QJhuGLlSmthOSGmLUwSrDfJ IgqC79owe7PG6FLONB+3umQitpFwowrl+GM0ctxihbCBXU22CHGF9cEcINCMbyQvq6s5sVbi3ZIAV +EZDPA84XqRVVnU4PIS4zXteP+SyfPlSRwR1p2EZ9+OrTCeR/uWKv5SCg3HOzp9MzBW6VC+daSGun RJKJGv3S2ZJTIsnjS2xFVscFesJ9K7d3ozhrBIrhOqaLG9avEXLe8DnxwDag58U47BT7e3+AvLAk9 8P6Yupoca5oLd/aS9Nxg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e6Mla-0007Zg-Uo; Sun, 22 Oct 2017 20:22:39 +0000 Received: from wigyori-1-pt.tunnel.tserv1.bud1.ipv6.he.net ([2001:470:1f1a:93::2] helo=trabant.uid0.hu) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e6Mkr-0006uW-9W for lede-dev@lists.infradead.org; Sun, 22 Oct 2017 20:21:57 +0000 Received: from wigyori by trabant.uid0.hu with local (Exim 4.84_2 #1 (Debian)) id 1e6MkR-0006hc-FD from ; Sun, 22 Oct 2017 22:21:27 +0200 From: Zoltan HERPAI To: lede-dev@lists.infradead.org Date: Sun, 22 Oct 2017 22:21:20 +0200 Message-Id: <1508703687-25650-3-git-send-email-wigyori@uid0.hu> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508703687-25650-1-git-send-email-wigyori@uid0.hu> References: <1508703687-25650-1-git-send-email-wigyori@uid0.hu> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171022_132153_628149_AD5AEEA7 X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH 2/9] package: kernel: dtc: Add device tree compiler package X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: hauke@hauke-m.de, openwrt-devel@lists.openwrt.org MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Marek Vasut Add package with the DT compiler v1.4.1 . Signed-off-by: Marek Vasut --- package/kernel/dtc/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/kernel/dtc/Makefile diff --git a/package/kernel/dtc/Makefile b/package/kernel/dtc/Makefile new file mode 100644 index 0000000..5155323 --- /dev/null +++ b/package/kernel/dtc/Makefile @@ -0,0 +1,36 @@ +# +# Copyright (C) 2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=dtc +PKG_VERSION:=1.4.1 +PKG_RELEASE=$(PKG_SOURCE_VERSION) + +PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/utils/dtc/dtc.git +PKG_SOURCE_PROTO:=git +PKG_SOURCE_VERSION:=302fca9f4c283e1994cf0a5a9ce1cf43ca15e6d2 +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz + +PKG_MAINTAINER:=Marek Vasut +PKG_LICENSE:=GPL-2.0+ + +include $(INCLUDE_DIR)/package.mk + +define Package/dtc + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Device Tree Compiler +endef + +define Package/dtc/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtc $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,dtc))