From patchwork Tue Nov 4 10:56:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timo Ketola X-Patchwork-Id: 406519 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 7A38914009E for ; Tue, 4 Nov 2014 22:11:40 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 18DE74B8BE; Tue, 4 Nov 2014 12:11:38 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZcmjdWBEVkbQ; Tue, 4 Nov 2014 12:11:37 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 580034B7F4; Tue, 4 Nov 2014 12:11:37 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 61A094B7F4 for ; Tue, 4 Nov 2014 12:11:33 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aEmVcxSumJLd for ; Tue, 4 Nov 2014 12:11:33 +0100 (CET) X-Greylist: delayed 820 seconds by postgrey-1.32 at theia; Tue, 04 Nov 2014 12:11:29 CET X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from FSMSG0305.sp.f-secure.com (fsmsg0305.sp.f-secure.com [46.228.130.255]) by theia.denx.de (Postfix) with ESMTPS id 337C74B7F0 for ; Tue, 4 Nov 2014 12:11:29 +0100 (CET) Received: from pps.filterd (FSMSG0305.sp.f-secure.com [127.0.0.1]) by FSMSG0305.sp.f-secure.com (8.14.7/8.14.7) with SMTP id sA4AvBVn028189 for ; Tue, 4 Nov 2014 12:57:48 +0200 Received: from posti.exertus.fi (posti.exertus.fi [193.210.47.2]) by FSMSG0305.sp.f-secure.com with ESMTP id 1qa6q6rt0j-1 for ; Tue, 04 Nov 2014 12:57:48 +0200 Received: from timo-VB (10.3.1.192) by exesrv02.exertus01.local (10.3.1.15) with Microsoft SMTP Server id 14.2.342.3; Tue, 4 Nov 2014 12:58:17 +0200 Received: by timo-VB (sSMTP sendmail emulation); Tue, 04 Nov 2014 12:58:12 +0200 From: Timo Ketola To: Date: Tue, 4 Nov 2014 12:56:50 +0200 Message-ID: <1415098610-28570-1-git-send-email-timo@exertus.fi> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.28, 0.0.0000 definitions=2014-11-04_05:2014-11-03, 2014-11-04, 1970-01-01 signatures=0 Subject: [U-Boot] [PATCH] doc: fix documentation of output directory X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Correct environment variable is KBUILD_OUTPUT. Signed-off-by: Timo Ketola --- README | 6 +++--- doc/README.kwbimage | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README b/README index 7b5538e..c3a9dfc 100644 --- a/README +++ b/README @@ -5012,14 +5012,14 @@ this behavior and build U-Boot to some external directory: make O=/tmp/build NAME_defconfig make O=/tmp/build all -2. Set environment variable BUILD_DIR to point to the desired location: +2. Set environment variable KBUILD_OUTPUT to point to the desired location: - export BUILD_DIR=/tmp/build + export KBUILD_OUTPUT=/tmp/build make distclean make NAME_defconfig make all -Note that the command line "O=" setting overrides the BUILD_DIR environment +Note that the command line "O=" setting overrides the KBUILD_OUTPUT environment variable. diff --git a/doc/README.kwbimage b/doc/README.kwbimage index 13f6f92..8c02298 100644 --- a/doc/README.kwbimage +++ b/doc/README.kwbimage @@ -30,10 +30,10 @@ kwbimage support available with mkimage utility will generate kirkwood boot image that can be flashed on the board NAND/SPI flash. The make target which uses mkimage to produce such an image is "u-boot.kwb". For example: - export BUILD_DIR=/tmp/build + export KBUILD_OUTPUT=/tmp/build make distclean make yourboard_config - make $BUILD_DIR/u-boot.kwb + make $KBUILD_OUTPUT/u-boot.kwb Board specific configuration file specifications: