From patchwork Mon Feb 12 16:42:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeniy Didin X-Patchwork-Id: 872149 X-Patchwork-Delegate: blogic@openwrt.org 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=2001:8b0:10b:1236::1; helo=casper.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=infradead.org header.i=@infradead.org header.b="k/YKKYPo"; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="imXr0B6i"; dkim-atps=neutral Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zgBL30TXXz9sRW for ; Tue, 13 Feb 2018 03:42:50 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:Message-Id:Date:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=TgxOSTPjrMUwVmhEOmi77bl2YOV3Ua3P1QPK+vqZcTQ=; b=k/YKKYPo3sqRUcWVxQI40fgWt7 xP6OdWT/e9l/0Dv7it43mCnFi2t+/BKZmeJSlGFS4OfWrcY01TP72UnMfxJMQw66QT7IQsY4qbA19 lgnpmBrxdW/ZbMPsJsg8Q1aJd2qzRSd31Jm4mT6AmoifuhNK4vD7Q1D3tdLwBkywoxQpZArZfndNt qlzpkWTwS2pM2uSs9ccIKr/tIfpZto0Ga745BikHMBOFEh+DjpjC0oGFY7xlzO35MD7Avcw9qvjIk 6CH62bhq7N+fl9gNJ3+XIidJLa1RNfwo80E+FABcseZ8YbaMwC7SMjFKCpF/rcAV+lFVsqlAtfbHC ya4UsoZw==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elHBd-0002NG-OJ for incoming@patchwork.ozlabs.org; Mon, 12 Feb 2018 16:42:37 +0000 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:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=TgxOSTPjrMUwVmhEOmi77bl2YOV3Ua3P1QPK+vqZcTQ=; b=imXr0B6i/LSuas AaR+d4kOsEMNsmLydORjywJfaJMPP1bEvamdIFmQuOx8+RiAFoH4+Nqnp9ixNMjiMummPm9wfgukd iCj8rlfcS8qUQLwTlS04vfbV8CiDTUqyLXExZZyuDBLXUaiXpMya6HTBhU7OnIewHXIcnAzsh8Iib vgX79j0duj46c9j+r3bBAS9RuVKOQmxx/oT0eWKkJ00DQpIz/qU9k2v4zjEEJq3tX0/WScKhAeY53 cRjsuvpFWRprTpY+VxZhDvtx7fBePeFuJPhjM8yFfh3p+D+zTgQFzmWL6Ma54RW6ldY5dIKZQMOyP ISKSZAlNZBuEX4qaGT8w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1elHBW-000355-RY; Mon, 12 Feb 2018 16:42:30 +0000 Received: from smtprelay2.synopsys.com ([198.182.60.111] helo=smtprelay.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elHBU-0002o4-56 for lede-dev@lists.infradead.org; Mon, 12 Feb 2018 16:42:29 +0000 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id E7A8210C19FF; Mon, 12 Feb 2018 08:42:10 -0800 (PST) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 7E6F9FD5; Mon, 12 Feb 2018 08:42:10 -0800 (PST) Received: from ru20arcgnu1.internal.synopsys.com (ru20arcgnu1.internal.synopsys.com [10.121.9.48]) by mailhost.synopsys.com (Postfix) with ESMTP id 9438DFAF; Mon, 12 Feb 2018 08:42:08 -0800 (PST) From: Evgeniy Didin To: lede-dev@lists.infradead.org Date: Mon, 12 Feb 2018 19:42:01 +0300 Message-Id: <20180212164201.12495-1-Evgeniy.Didin@synopsys.com> X-Mailer: git-send-email 2.11.0 X-Spam-Note: CRM114 invocation failed 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 ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [198.182.60.111 listed in list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [198.182.60.111 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Subject: [LEDE-DEV] tools/mkimage: copy mkenvimage to bin directory 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: Evgeniy Didin , Hauke Mehrtens , Alexey Brodkin , John Crispin MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org For some boards u-boot binary environment file is required, which is generated by mkenvimage utility. But in OpenWrt there is no separate support for mkenvimage, which is a part of u-boot tools. mkenvimage gets built in u-boot/tools as well as mkimage anyways. So lets just copy mkenvimage to the $(STAGING_DIR_HOST)/bin/ directory. Signed-off-by: Evgeniy Didin CC: Alexey Brodkin CC: Hauke Mehrtens CC: John Crispin --- tools/mkimage/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile index bfe60993e2..00f85ae272 100644 --- a/tools/mkimage/Makefile +++ b/tools/mkimage/Makefile @@ -37,10 +37,12 @@ endef define Host/Install $(CP) $(HOST_BUILD_DIR)/tools/mkimage $(STAGING_DIR_HOST)/bin/ + $(CP) $(HOST_BUILD_DIR)/tools/mkenvimage $(STAGING_DIR_HOST)/bin/ endef define Host/Clean rm -f $(STAGING_DIR_HOST)/bin/mkimage + rm -f $(STAGING_DIR_HOST)/bin/mkenvimage endef $(eval $(call HostBuild))