I am attempting to compile the omap3-pwm driver for the overo running Angstrom.
I can’t seem to properly set up the build environment to compile the driver.
I followed the openembedded “getting started” page here
Which helped me set up the core openembedded environment. However I can’t seem to find the specific details to set up the overo. As it stands, following the compile instructions for omap3-pwm just spits out the error “make: *** /tmp/sysroots/overo-angstrom-linux-gnueabi/kernel: No such file or directory. Stop.” which is understandable since I haven’t installed anything overo specific.
I’ve attempted to follow the directions here on compiling a kernel (which I’m not sure is necessary?)
but the commands do not produce the output listed. (The first command uses a dead link, and the second command prints out nothing. I believe there is a setup step before those instructions that I am missing. )
I also attempted to follow these directions:
I was able to find the correct link for the dead link provided, but ultimately I determined that this is not the missing step to creating the build environment that was specified.
Anyone have any ideas where I should go from here?
From: Scott Ellis <scott@ju...> - 2013-05-01 13:03:26
The kernel build instructions on that page are a little dated. I'll fix it
when I get a chance, but it's not really applicable for this unless you
want to modify the driver.
The build instructions in the Github README assume you built your
Angstrom/Poky image from scratch and that you don't have a line like
this in any of your conf files
INHERIT += "rm_work"
That line removes any useful tools from your workstation after it
completes the build. (I have no idea why anyone makes that the
If you have the above conditions met, then there is a yocto-env.sh
script in the omap3-pwm repo that you need to source to setup up
your environment before running make.
First export an OETMP variable so the script knows where to look
for your OE tools and kernel.
$ export OETMP=<your-oe-TMPDIR> source yocto-env.sh
After that make should build the driver.
View this message in context: http://gumstix.8.x6.nabble.com/Compiling-omap3-pwm-driver-for-Overo-tp4967212p4967218.html
Sent from the Gumstix mailing list archive at Nabble.com.