Android build error

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

Android build error

1,066 Views
sachusanal
Contributor III


Dear all.

I download and compile the source follow by URL i.MX 6 Series Software and Development Tool R|Freescale. select android  5.0

$ source build/envsetup.sh

$ lunch sabresd_6dq-user

$ make 2> &1 | tee build_sabresd_6dq_android.log

This command I get below errors.

make: *** No rule to make target `kernel_imx/arch/arm/configs/imx_v7_android_defconfig', needed by `out/target/product/sabresd_6dq/.config'. Stop.

how to fix this issue?

Please help me to solve this issue.

Regrds

Sachu

Labels (1)
Tags (1)
0 Kudos
3 Replies

446 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Sachu,

    I tesed the question you encountered. you should forget to set the value of ARCH & CROSS_COMPILE, please check user's guide of android5.0 BSP and re-configure these 2 parameters.

Regards,

Weidong

0 Kudos

446 Views
sachusanal
Contributor III

Thanks for your reply

let me know i am using android 5.0  for custom build build.my linux pc have 8GB RAM space.

ubuntu 12.04 is installed.

could u please tell me this RAM space is enough for the custom build

0 Kudos

446 Views
balamuruga
Contributor I

Though the thread is very old, just to update.

The error log seems that, the file 'kernel_imx/arch/arm/configs/imx_v7_android_defconfig' is not present in your android source tree.

Possibly issue could be either of below,

1. the imx6 kernel code at kernel_imx folder is not present.

2. the kernel code is not checked out to the release version.

First go to your android code and check 'ls -l kernel_imx/arch/arm/configs/imx_v7_android_defconfig'

And check whether the file is present.

If you find the file, there should not be a problem.

0 Kudos