AnsweredAssumed Answered

create kernel.itb

Question asked by 인섭 심 on Sep 12, 2018
Latest reply on Sep 15, 2018 by Yiping Wang

Q: How do I use standalone toolchain to build kernel?
A: If you want to build the linux kernel using toolchain, you can do the following:

 

cd <toolchain-install-dir>

 

source environment-setup-<core>-fsl-linux

 

export LDFLAGS=""

 

cd <linux-src-dir>

 

make mrproper

 

./scripts/kconfig/merge_config.sh
arch/arm64/configs/defconfig
arch/arm64/configs/freescale.config

 

make CC="$CC" LD="$LD"

 

 

Compile successfully on standalone with reference to above.

How do I create a kernel.itb file in a standalone environment?

Outcomes