From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::441; helo=mail-wr1-x441.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 206812119EBD8 for ; Tue, 18 Dec 2018 10:41:23 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id l9so16928124wrt.13 for ; Tue, 18 Dec 2018 10:41:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OuyEcBVzrUnurO5KdvJgrXvTKaS1I4EuRglFPa3Xaa0=; b=O9nUMQV2Boeur0qqYZmoa69qgT4o+jf9VYZB/RAzp/qMlcBahwZ5XKMMw5DWDjVyLS sdWoC6VGMxoQ5moj8LdgZr4zyhgB3L2XwcqUT+oNYK0QD2SJG4PDroIu8+sWcvwgY4EC /73i4oVCGbN6DUMb/2ghWB43AukQr8JcAQoUg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OuyEcBVzrUnurO5KdvJgrXvTKaS1I4EuRglFPa3Xaa0=; b=jbOtOEbCJwml4g5yijO7argsvlURJow6N/aFrvEn3QNddMxdCbg/FBSJ0YsAFoDfmc MCCXCg9rO92OewspstMmkcucb0NczNoOTFUaBbCrVRTTMwD0pGeS7KvbopNb8w7m4wmO pTKB3mcUjr6sTXjXHI4xQ8i5vb16k6/cIvAgqri2IUAbnbqkL4RxXkttbDDrvd+vaNX4 lWHDZerI+SYry8jJxmUA81+Vl4QUgaLzsSFnN+q8oWgXduD6GKz1DdJhs/fXWgFiiIbg HKd+hICg87bGz3YU9I46WemMO5djVfHt3BNA2tZg3yAgqOqgD+3ESg819kVqCMdezMC8 Cghg== X-Gm-Message-State: AA+aEWYtg06N1MAAiQK8ziDla9ToPMCVEjk93nTQ40aheLklZbqEmCUx +f6nq7rCVHbm4iElh7HgjqgELw== X-Google-Smtp-Source: AFSGD/Veswdg0AbcuzBl8gqznBxLMupeWRFAY+T+LRalBco9L2WUlTPhkOK7QvCDnhP+AktGmAH4OA== X-Received: by 2002:adf:c7cc:: with SMTP id y12mr16363529wrg.52.1545158481531; Tue, 18 Dec 2018 10:41:21 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id z14sm2823390wrm.48.2018.12.18.10.41.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 10:41:20 -0800 (PST) Date: Tue, 18 Dec 2018 18:41:19 +0000 From: Leif Lindholm To: Meenakshi Aggarwal Cc: ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, edk2-devel@lists.01.org, udit.kumar@nxp.com, v.sethi@nxp.com Message-ID: <20181218184119.kkrinyaeof7lu5um@bivouac.eciton.net> References: <1518771035-6733-1-git-send-email-meenakshi.aggarwal@nxp.com> <1543417315-5763-1-git-send-email-meenakshi.aggarwal@nxp.com> <1543417315-5763-11-git-send-email-meenakshi.aggarwal@nxp.com> MIME-Version: 1.0 In-Reply-To: <1543417315-5763-11-git-send-email-meenakshi.aggarwal@nxp.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms 10/41] Readme : Add Readme.md file. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 18:41:23 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Nov 28, 2018 at 08:31:24PM +0530, Meenakshi Aggarwal wrote: > Readme.md to explain how to build NXP board packages. > Could you add a link to this file from top-level Readme.md (towards the very end)? > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Meenakshi Aggarwal > --- > Platform/NXP/Readme.md | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > create mode 100644 Platform/NXP/Readme.md > > diff --git a/Platform/NXP/Readme.md b/Platform/NXP/Readme.md > new file mode 100644 > index 0000000..902bafe > --- /dev/null > +++ b/Platform/NXP/Readme.md > @@ -0,0 +1,24 @@ > +Support for all NXP boards is available in this directory. > + > +# How to build > + > +1. Set toolchain path. > + > + export PATH=/gcc-linaro-4.9-2016.02-x86_64_aarch64-linux-gnu/bin/:$PATH > + > +2. Export following variables needed for compilation. > + > + export CROSS_COMPILE=aarch64-linux-gnu- > + export GCC_ARCH_PREFIX=GCC49_AARCH64_PREFIX > + export GCC49_AARCH64_PREFIX=aarch64-linux-gnu- > + export PACKAGES_PATH=/edk2/edk2-platforms > + Can you check whether you are happy with the generic build instructions in the top-level Readme.md and improve those if not? Then you could reference those rather than repeating. / Leif > +3. Build desired board package > + > + source edksetup.sh > + build -p "path to package's description (.dsc) file" -a AARCH64 -t GCC49 -b DEBUG/RELEASE clean > + > + e.g. > + build -p "$PACKAGES_PATH/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc" -a AARCH64 -t GCC49 -b DEBUG clean > + build -p "$PACKAGES_PATH/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc" -a AARCH64 -t GCC49 -b DEBUG > + > -- > 1.9.1 >