make menuconfig creating error android marshmallow

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

make menuconfig creating error android marshmallow

1,756 Views
winstonjacob
Contributor IV

I am using SECO SBC-A62-J onto android marshmallow, when I try to execute make menuconfig in kernel_imx directory, I  am getting the following error, and I need to add a new kernel module via menuconfig, so please suggest me to clear this issue.

 

LOG

===

  Using myandroid/kernel_imx as source for kernel
/myandroid/kernel_imx is not clean, please run 'make mrproper'
  in the '/myandroid/kernel_imx' directory.
  CHK     include/generated/utsrelease.h
make[2]: *** [myandroid/kernel_imx/Makefile:875: prepare3] Error 1
make[1]: *** [Makefile:133: sub-make] Error 2
make: *** [build/core/Makefile:1032: out/target/product/a62_6dq/kernel] Error 2
make: *** Waiting for unfinished jobs....

 

Regards

Winston.

0 Kudos
Reply
3 Replies

1,736 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

@winstonjacob 

make mrproper

0 Kudos
Reply

1,728 Views
winstonjacob
Contributor IV

Thanks @Zhiming_Liu ,

   If I run make mrproper, it will clear the configuration which I made, so I need to enable some extra driver in menuconfig.

 

Regards

Winston

0 Kudos
Reply

1,694 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

@winstonjacob 

You need load official defconfig , and after you have changed the config. Save it as a defconfig using 'make savedefconfig'

0 Kudos
Reply