From patchwork Thu Mar 16 11:43:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhimanyu V X-Patchwork-Id: 739788 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vkRSh1Y9Rz9ryZ for ; Thu, 16 Mar 2017 22:43:48 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F107A88DCC; Thu, 16 Mar 2017 11:43:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g9bvAW_QtreA; Thu, 16 Mar 2017 11:43:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8759488DBB; Thu, 16 Mar 2017 11:43:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A1C821C1074 for ; Thu, 16 Mar 2017 11:43:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9F2B18A646 for ; Thu, 16 Mar 2017 11:43:43 +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 doIdGtALvei8 for ; Thu, 16 Mar 2017 11:43:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by hemlock.osuosl.org (Postfix) with ESMTP id D47CF8A62C for ; Thu, 16 Mar 2017 11:43:42 +0000 (UTC) Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Forcepoint Email with ESMTPS id 1D3A6F366ACDE; Thu, 16 Mar 2017 11:43:39 +0000 (GMT) Received: from abhi-linux.pu.imgtec.org (192.168.91.133) by HHMAIL01.hh.imgtec.org (10.100.10.19) with Microsoft SMTP Server (TLS) id 14.3.294.0; Thu, 16 Mar 2017 11:43:41 +0000 From: Abhimanyu V To: Date: Thu, 16 Mar 2017 17:13:21 +0530 Message-ID: <1489664602-32596-2-git-send-email-abhimanyu.vishwakarma@imgtec.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489664602-32596-1-git-send-email-abhimanyu.vishwakarma@imgtec.com> References: <1489664602-32596-1-git-send-email-abhimanyu.vishwakarma@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.91.133] Cc: Abhimanyu Vishwakarma Subject: [Buildroot] [PATCH v4 2/3] Add LINUX_DIR to EXTRA_ENV for use in post-build scripts X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Abhimanyu Vishwakarma To build fitImage in post-build scripts, we need compressed kernel binary which is intermediate target, hence doesnt get copied to output/images folder. Signed-off-by: Abhimanyu Vishwakarma Reviewed-by: Rahul Bedarkar Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- Changes v3->v4 (Suggested by Arnout) - Drop exporting LINUX_DIR instead add to EXTRA_ENV var package/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index 4a3eb26..b1962ed 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -310,7 +310,8 @@ HOST_CONFIGURE_OPTS = \ EXTRA_ENV = \ PATH=$(BR_PATH) \ BR2_DL_DIR=$(BR2_DL_DIR) \ - BUILD_DIR=$(BUILD_DIR) + BUILD_DIR=$(BUILD_DIR) \ + LINUX_DIR=$(LINUX_DIR) ################################################################################ # settings we need to pass to configure