MAKE MODULE ERROR

I did the following steps:

git clone git://github.com/Angstrom-distribution/setup-scripts.git

MACHINE=beaglebone ./oebb.sh config beaglebone
MACHINE=beaglebone ./oebb.sh update
MACHINE=beaglebone ./oebb.sh bitbake virtual/kernel

And copy the kernel source from:

setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone/kernel/

to the following:

/usr/src/linux-3.2.13

then i went ahead to make modules : the following is the output.

make modules
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig

Go to the angstrom website and read the front page, especially to article mentioning "kernel workflow"

Hi koen,

can you be a bit more specific. i have already gone thru that article.

make ARCH=arm modules

I think the sequence should be:

1) bitbake -c configure virtual/kernel
you have sources now

2) go to kernel sources, you can do there:
make ARCH=arm menuconfig
make ARCH=arm CROSS_COMPILE=<path-to-compiler> uImage
make ARCH=arm CROSS_COMPILE=<path-to-compiler> modules

Thanks Maxim for a reply,

make ARCH=arm CROSS_COMPILE= uImage

is giving the following output:

kamran@kamran-desktop:~/angstrom/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/beaglebone/kernel$ sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi/ modules
make: arm-linux-gnueabi/gcc: Command not found
CHK include/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 tried providing the link to the complier but it is unable to find gcc.

Can you tell me what step/suggestion you offer.
Thanks
M Kamran ALi

"make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules"

Regards,

Instead of CROSS_COMPILE=arm-linux-gnueabi/ use CROSS_COMPILE=arm-linux-gnueabi-

Thanks again for the reply,

but the output is as follows, stating bounds.c and bounds.s is required.

kamran@kamran-desktop:~/angstrom/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/beaglebone/kernel$ sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules
[sudo] password for kamran:
CHK include/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

Thanks maxim for the reply can you tell me one more thing… i got the error bounds.c and bounds.s not found.
after searching i found out that i need linux-headers for the above error.so i downloaded the linux-headers-3.2.16 but still i am getting the same error.
thanks

begin from scratch:

git clone git://github.com/Angstrom-distribution/setup-scripts.git
MACHINE=beaglebone ./oebb.sh config beaglebone
MACHINE=beaglebone ./oebb.sh update

source ~/.oe/oe... (don't remember the file name, you'll find it)
bitbake -c configure virtual/kernel

after that you will have the full kernel source including config file

hi maxim, i did that and got th sources, i was making the modules and scripts…and that threw the error of bounds.s and bounds.c.