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 <meenakshi.aggar...@nxp.com> > --- > 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=<TOOLCHAIN_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_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 > _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel