commit | 53966abc097512b90cf601a9659dbeff9b3157d2 | [log] [tgz] |
---|---|---|
author | June Tate-Gans <jtgans@google.com> | Wed May 23 13:59:14 2018 -0700 |
committer | June Tate-Gans <jtgans@google.com> | Wed May 23 22:53:10 2018 +0000 |
tree | 797d220e49f2fdb73c47c9ce342f4a747dc946a4 | |
parent | b0df37d5832dd43366ca80bf212e89b86740b553 [diff] |
template: Fix variable names When I wrote this originally, I kept thinking target, target, target for some reason. This fixes this unfortunate oversight. Change-Id: If22c24ef70147dee27fc1fa4b011eaa55e40034f
These files comprise the build system to produce both an eMMC and SD card image of Debian Squeeze for the i.MX8M SoC.
The first step to using this build system is to source the environment setup script:
host:~/Projects/imx-debian$ source build/setup.sh
This will add the host tool binaries directory to your path, add the build directory to your path, and setup some helpful environment variables as well. Once this is done, you'll have a new m
script to run to build the system.
First, install any required packages for the scripts to do their jobs by doing the following at a shell prompt:
host:~/Projects/imx-debian$ m prereqs
This will call out to apt-get
to install any required packages via sudo
. Once this is done, a simple
host:~/Projects/imx-debian$ m
Will suffice to build the sdcard.img file. Note that you may want to provide a -j
option with as many cores as you have in your system.
Output files are located in the out/
directory by default, and it's super easy to get to that location by typing in cd $PRODUCT_OUT
or j product
.