Issue with imx_v7_android_defconfig

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Issue with imx_v7_android_defconfig

575 次查看
divyeshpatel
Contributor I

Hi, 

        Currently I am working on imx6q sabre-sd device. I am facing issue during build of android source code.

i am running following command:

          make imx_v7_android_defconfig

i am getting following output:

         make[1]: `imx_v7_android_defconfig' is up to date.

    so, if i am removing .config file and run "make imx_v7_android_defconfig". after this .config file is not generated.

Can anyone help me for this issue??

Thanks & Regards,

Divyesh Patel

0 项奖励
2 回复数

427 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Divyesh Patel,

Did Shivani’s suggestion helped?

The BSP uses the already available configurations for making the Android kernel. If you remove the configuration file the make command won’t create a new configuration file.

I hope this helps,

Regards

0 项奖励

427 次查看
shivanipatel
Senior Contributor II

Hi, divyesh patel

To build an Android Source for i.MX6Q SABRESD board, follow the steps below:

  • source build/envsetup.sh 
  • lunch sabresd_6dq-userdebug
  • make 2>&1 | tee build-log.txt

The following are the steps to build the kernel image only:

  • export ARCH=arm
  • export CROSS_COMPILE=/{ANDROID_SOURCE}/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
  • make imx_v7_android_defconfig
  • make

Where {ANDROID_SOURCE} is the root directory of Android Source.

Please refer the attached Android User Guide in which you can find the steps to build the Android Nougat 7.1 for i.MX6 series devices.

Hope, this will help you.

Regards,

Shivani Patel