I am a newbie of bitbake and sorry for silly question.
I am working on my kernel module against beaglebone.
I run "MACHINE=beaglebone bitbake virtual/kernel", and the uImage was
built correctly. I see it in "/home/james/am335x/angstrom/setup-
scripts/build/tmp-angstrom_2010_x-eglibc/deploy/images/beaglebone"
(Yes, my name is James)
Then, I am going to build AR6K driver, as cross compiler set to "/home/
james/am335x/angstrom/setup-scripts/build/tmp-angstrom_2010_x-eglibc/
sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi/arm-
angstrom-linux-gnueabi-" and kernel path as "/home/james/am335x/
angstrom/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/
beaglebone/kernel"
During build the ar6k driver, I got an error:
/bin/sh: scripts/mod/modpost: No such file or directory
Then I browse into "/home/james/am335x/angstrom/setup-scripts/build/
tmp-angstrom_2010_x-eglibc/sysroots/beaglebone/kernel/scripts/mod" and
see the modpost was not built:
$ls /home/james/am335x/angstrom/setup-scripts/build/tmp-
angstrom_2010_x-eglibc/sysroots/beaglebone/kernel/scripts/mod
empty.c file2alias.c Makefile mk_elfconfig.c modpost.c modpost.h
sumversion.c
So my questions is:
Where is the real kernel source code?
Thanks ahead for any help
--James