make menuconfig when compiling kernel

Dear All

I am having this trouble that when I finished selecting the menuconfig exit and type in command “make”.
It will have an error like bellow.

root@beaglebone:/usr/src/kernel# make
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: include/generated/mach-types.h' is up to date. make[1]: *** No rule to make target kernel/bounds.c’, needed by `kernel/bounds.s’. Stop.
make: *** [prepare0] Error 2

I am using a BBB with Angstrom.
Does anyone know what is the problem of this?
Thank!

Do you have env ARCH=arm ?

or:
make ARCH=arm?

Yes, I have.But the problem is still there
BTW, I am running the menuconfig directly on the BBB.
Does it still need to “env ARCH=arm”?
Thanks!

c2h2於 2015年1月18日星期日 UTC+8上午2時03分37秒寫道:

do it on ur pc linux and setup cross platform gcc. i wouldnt waste my time do it on bbb