[yocto] Trying to create an autotooled recipe

Chris Tapp opensource at keylevel.com
Thu Mar 17 16:48:24 PDT 2011


I've got a project that builds (and runs) using autotools under Eclipse.

If I 'make dist-gzip' I get a tar.gz that I can use as a SRC_URI  
target within a recipe.

The recipe builds ok, but I get

| make: *** No rule to make target `install'.  Stop.
| FATAL: oe_runmake failed

when it comes to installing.

I can get it to work if I manually create the .tar.gz file, ensuring  
that only the source files, configure.ac and Makefile.am files are  
included. The Eclipse export includes all the files that are produced  
when autotools are run during the build.

What's the best way to get round having to do this?

I had hoped that I could control what gets packaged in the .tar.gz  
that comes out from 'make', but this is my first day using autotools  
and I've not yet found any documentation that gives me a suitable  
example (if it's possible) ! I can see how to stop source code files  
getting included, but not 'other' files.

Should I be trying to solve this at the source end or is there  
something I can do within my .bb file that's more generic?

Chris Tapp

opensource at keylevel.com
www.keylevel.com






More information about the yocto mailing list