Skip to contentSkip to conversation

File local variables

RFC Holger Freyther 2 participants 2 messages Oct 13, 2008 – Oct 17, 2008

lore
Share & tools
lore
#0 lore raw

Hey guys,

imagine the following situation, I have the following files:

	foo-native_1.2.3.bb
	foo_1.2.2.bb
	foo_1.2.3.bb
	foo.inc

now I'm forced to keep PR,PE inside the .inc file but in most of our cases we have the PR inside the final recipe file. This means when doing a change to an inc I need to open all other users to bump the right thing.

Have you experienced this as well?

I have wondered if something like:

	PE_${FN} = "0"
	PR_${FN} = "0"

in each separate file and then some Bitbake magic to build the sum from every included file?

comments? Am I just too lazy?

	z.
#1 lore raw

Hi,

Quoted 9 lines · Holger Freyther

imagine the following situation, I have the following files:

	foo-native_1.2.3.bb
	foo_1.2.2.bb
	foo_1.2.3.bb
	foo.inc

now I'm forced to keep PR,PE inside the .inc file but in most of our cases we have the PR inside the final recipe file. This means when doing a change to an inc I need to open all other users to bump the right thing.

Clear to this point.

Quoted 1 line

Have you experienced this as well?

Sure. :)

Quoted 3 lines

I have wondered if something like:

	PE_${FN} = "0"
	PR_${FN} = "0"

What is ${FN}?

Quoted 4 lines

in each separate file and then some Bitbake magic to build the sum from every included file?

comments? Am I just too lazy?

Can you explain a bit how this is being supposed to being used.

Regards
Robert