From patchwork Wed Oct 4 23:14:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Sheriker X-Patchwork-Id: 821497 X-Patchwork-Delegate: hauke@hauke-m.de 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="Ec63zzyF"; 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 3y6sG64clRz9t2M for ; Thu, 5 Oct 2017 10:15:58 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-ID:Date:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=/E2FxM2sBf8HmiBv5LZrz5ajYa1vxFtJU5qkaKqJulg=; b=Ec63zzyF4/TW6ra7FBQ1Wv4tmH /unsqVFtpR9UJqMoiYQc8XdGPlLiRqqGYygvWjYFOgeVe1/eia/mwOvMkZSweqtsJbnQn/tmp+YXp X7P2cLf10P/Nr+O3hVpRrDAfMwVLGljn0+haYpWyFFGpP2O72/ZZmKFJhy2CKD000QFMghi+cfKQ1 sc7LTHrxzsbQ3QNMjqTrysqWX4ZXbaLLjJcVb/ySA/mSG1axc5PhbE8YiZC1jVZiChQVQvAiSuAd2 5RNud8MSuay+epQCzPri68bv65ygQN4CZ6/5wqx/6DIXKGBwGbDbHimchqdN7iF8FXVquI35YwQAY ZtGToSgA==; 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 1dzstJ-0002s9-0F; Wed, 04 Oct 2017 23:15:49 +0000 Received: from esa2.microchip.iphmx.com ([68.232.149.84]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dzsrs-00010v-BZ for lede-dev@lists.infradead.org; Wed, 04 Oct 2017 23:14:22 +0000 X-IronPort-AV: E=Sophos;i="5.42,478,1500966000"; d="scan'208";a="7553453" Received: from exsmtp03.microchip.com (HELO email.microchip.com) ([198.175.253.49]) by esa2.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 04 Oct 2017 16:14:12 -0700 Received: from sandeep-office.microchip.com (10.10.76.4) by chn-sv-exch03.mchp-main.com (10.10.76.49) with Microsoft SMTP Server id 14.3.352.0; Wed, 4 Oct 2017 16:14:12 -0700 From: Sandeep Sheriker Mallikarjun To: Date: Wed, 4 Oct 2017 16:14:40 -0700 Message-ID: <79d93f031cff2dcf99c16abffe9614568972251e.1507049092.git.sandeepsheriker.mallikarjun@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171004_161420_591557_A6603A65 X-CRM114-Status: UNSURE ( 6.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [68.232.149.84 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH 2/2] at91bootstrap: remove manual copy of binaries to BIN_DIR 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: , Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org removed copying of binaries to BIN_DIR during install and using default/install to install binaries to BIN_DIR folder. Signed-off-by: Sandeep Sheriker Mallikarjun --- package/boot/at91bootstrap/at91bootstrap.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package/boot/at91bootstrap/at91bootstrap.mk b/package/boot/at91bootstrap/at91bootstrap.mk index 732d643..dda5fa4 100644 --- a/package/boot/at91bootstrap/at91bootstrap.mk +++ b/package/boot/at91bootstrap/at91bootstrap.mk @@ -1,6 +1,15 @@ +PKG_TARGETS := bin +PKG_FLAGS:=nonshared + export GCC_HONOUR_COPTS=s +define Package/at91bootstrap/install/default + $(CP) $(PKG_BUILD_DIR)/binaries/*uboot* $(1)/ +endef + +Package/at91bootstrap/install = $(Package/at91bootstrap/install/default) + define AT91Bootstrap/Init BUILD_TARGET:= BUILD_SUBTARGET:= @@ -46,8 +55,7 @@ define Build/AT91Bootstrap/Target endef define Package/at91bootstrap-$(1)/install - $(CP) $(PKG_BUILD_DIR)/binaries/*uboot*.bin \ - $(BIN_DIR)/at91bootstrap-$(1).bin + $$(Package/at91bootstrap/install) endef endef