The system will be logged in automatically.
2.4 Basic OpenIL operations
This section describes the commands that can be used for performing basic OpenIL operations.
In OpenIL, all packages used are in directory "
./package/
", and the package name is the sub-directory name. Linux kernel and
uboot are also packages, the package name for Linux kernel is
linux
, and package name for u-boot is
uboot
.
Sample usages of the ‘make’ command:
• Displays all commands executed by using the make command:
$ make V=1 <target>
• Displays the list of boards with a defconfig:
$ make list-defconfigs
• Displays all available targets:
$ make help
• Sets Linux configurations:
$ make linux-menuconfig
• Deletes all build products (including build directories, host, staging and target trees, images, and the toolchain):
$ make clean
• Resets OpenIL for a new target.
• Deletes all build products as well as the configuration (including
dl
directory):
$ make distclean
Explicit cleaning is required when any of the architecture or toolchain configuration options are changed.
NOTE
• Downloading, building, modifying, and rebuilding a package
Run the below command to build and install a particular package and its dependencies:
$ make <pkg>
For packages relying on the OpenIL infrastructure, there are numerous special
make
targets that can be called independently
such as the below command:
$ make <pkg>-<target>
The package build targets are listed in the following table.
NXP Semiconductors
Getting started
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
23 / 199