Skip to contentSkip to conversation

best practice .inc files

DISCUSSION Jaap de Jong 2 participants 2 messages Jul 20, 2011

lore
Share & tools
lore
#0 lore raw

Hi All,

I was wondering what the best way is to do this.

I'm using the 2010.12 release.
I've created my own u-boot_2010.09.bb file in my local repository.
In it is aline
require u-boot.inc
(every u-boot*.bb recipe has it)
Now I need a copy of the openembedded/recipes/u-boot/u-boot.inc in my local repository to get it bitbaked. (Well actually I've symlinked the file)
I think both solutions are not optimal.
Is there a way to this in a more gentle way?

Thanks!
Jaap

#1 lore raw
Quoted 10 lines · On Wednesday 20 July 2011 10:17:19 Jaap de Jong wrote:

I'm using the 2010.12 release.
I've created my own u-boot_2010.09.bb file in my local repository. In it is aline
require u-boot.inc
(every u-boot*.bb recipe has it)
Now I need a copy of the openembedded/recipes/u-boot/u-boot.inc in my local repository to get it bitbaked.
(Well actually I've symlinked the file)
I think both solutions are not optimal.
Is there a way to this in a more gentle way?

If you use the path starting from the base i.e. "require recipes/u-boot/u- boot.inc" it should work.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre