It is up to developers to prepare the host machine; it requires:
- WorkDir:
mkdir -p compulab-bsp/linux-compulab && cd compulab-bsp/linux-compulab
- Set a CompuLab machine:
Machine | Command Line |
---|---|
ucm-imx8m-plus | export MACHINE=ucm-imx8m-plus |
som-imx8m-plus | export MACHINE=som-imx8m-plus |
iot-gate-imx8plus | export MACHINE=iot-gate-imx8plus |
ucm-imx93 | export MACHINE=ucm-imx93 |
- Clone the source code:
git clone -b linux-compulab_v5.15.71 https://github.com/compulab-yokneam/linux-compulab.git .
- Apply the default CompuLab config:
make ${MACHINE}_defconfig compulab.config
- Ussue menuconfig on order to change the default CompuLab configuration:
make menuconfig
- Build the kernel
nice make -j`nproc`
- Builds' targets
target | make command |
---|---|
Uncompressed kernel image | make -j`nproc` Image |
Build all modules | make -j`nproc` modules |
Build device tree blobs | make -j`nproc` dtbs |