commit | 797266d0e3917a1ec4546be5c6b42c303cff84ae | [log] [tgz] |
---|---|---|
author | June Tate-Gans <jtgans@google.com> | Wed May 23 13:54:50 2018 -0700 |
committer | June Tate-Gans <jtgans@google.com> | Wed May 23 16:02:59 2018 -0700 |
tree | 8c056ed14ee643753577ff97085bca1be6f5f28c | |
parent | c58910f4daeae8814023365a97dd7548a9e3567a [diff] |
kernel: Explicitly sequence steps needed to build For some bizarre reason, the Kbuild doesn't like to be implicitly sequenced in the way things are built. We need to do so on our end, so we have to reduce some of our parallelization by explicitly sequencing calls to each target rather than letting Make do stupid things and stomp on itself. Change-Id: Iba7076409694fcff7803eb95eee267042aa38ac7
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
.