[oe-users] How to create bitbake project for trivial package

michael at michaelshiloh.com michael at michaelshiloh.com
Sat Feb 10 11:36:43 UTC 2007




On Sat, 10 Feb 2007, Marcin Juszkiewicz wrote:

> Dnia sobota, 10 lutego 2007, michael at michaelshiloh.com napisa³:
>
>>> SRC_URI = "file://foo.c \
>>>           file://Makefile"
>
>> With the changes you suggest I got further, but nothing gets copied
>> into the work directories. Can you spot another problem?
>
>> $ cat ../org.openembedded.dev/packages/foo/foo_0.1.bb
>
>> PR = "r0"
>
> PR = "r0" is default - remove from recipe
>
>> SRC_URI = "file://foo.c \
>>             file://Makefile"
>
> S = "${WORKDIR}" and probably do_compile will be not needed

Thanks for your help too. I tried this, but still my source files don't get
copied into the work area.

WORKDIR is where the files are copied into, from the packages directory,
right? Judging by other packages I've built, I would expect that to be:

   tmp/work/armv4t-linux/foo-0.1-r0/foo-0.1/

But in fact that directory is not created, and my files do not get copied to
anywhere in the work area.

If it's any help,

   tmp/work/armv4t-linux/foo-0.1-r0

does get created.

Perhaps WORKDIR isn't being set? Is there a verbose mechanism so I can see the
individual steps, and see what the variables expand out to be?

Thanks,
Michael


More information about the Openembedded-users mailing list