[bitbake-devel] [PATCH 1/2] ConfHandler.py: allow inherit or include without parameter

Mark Hatle mark.hatle at windriver.com
Thu Jun 8 14:21:21 UTC 2017


On 6/8/17 1:24 AM, Patrick Ohly wrote:
> On Wed, 2017-06-07 at 14:47 +0000, Peter Kjellerstedt wrote:
>>> -----Original Message-----
>>> From: bitbake-devel-bounces at lists.openembedded.org [mailto:bitbake-
>>> devel-bounces at lists.openembedded.org] On Behalf Of Patrick Ohly
>>> Sent: den 7 juni 2017 15:56
>>> To: bitbake-devel at lists.openembedded.org
>>> Subject: [bitbake-devel] [PATCH 1/2] ConfHandler.py: allow inherit or
>>> include without parameter
>>
>> Change "inherit or include" to "include or require".
>>
>>> Writing .bbappends that only have an effect when some configuration
>>> variable like DISTRO_FEATURES is changed becomes easier when allowing
>>> "inherit" or "require" without a parameter. The same was already
>>
>> Change "inherit" to "include".
> 
> You are right of course. At least I was consistent in my mistake ;-} I
> guess I'm still struggling with the oddly named "require" vs. "include"
> distinction.

require -- it's an error if it doesn't exist
include -- it's NOT an error if it doesn't exist

Yes, this has messed up others, but too late to do anything about it without a
massive change.  (These can load 'any' files...)

(while inherit is only class files)

--Mark

> I can send a V2 if there are no other objections, or perhaps it can be
> fixed up as part of merging?
> 




More information about the bitbake-devel mailing list