Welcome to the Linux Foundation Forum!

How to add my configuration file to the kernel source tree (arch/arm/configs)?

I want to compile a linux kernel from yocto project sources. Out of the yocto.
I did the following:
$ cp -rpa build/tmp/work-shared/phyboard-segin-imx6ul-2/kernel-source ~/work/tmp
$ cd ~/work/tmp/kernel-source
$ make clean
$ make mrproper
$ make distclean
$ cp ~/my_config ~/work/tmp/kernel-source/arch/arm/configs

$ make ARCH=arm my_config
HOSTCC scripts/basic/fixdep
make[1]: *** No rule to make target 'my_config'. Stop.
Makefile:541: recipe for target 'my_config' failed
make: *** [my_config] Error 2

How to add my configuration file to sources?

Answers

  • Well, if you are looking to add configuration file to the kernerl souce tree thatn you can follow some simple steps that are listed below:
    1. Copy Your Configuration File
    2. Configure the Kernel
    3. Build the Kernel
    4. Deploy the Kernel
    Thanks

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training