Android build error

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

Android build error

1,943 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,323 次查看
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 项奖励
回复

1,323 次查看
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 项奖励
回复

1,323 次查看
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 项奖励
回复