Re: [PATCH v2 2/2] vim: set PACKAGECONFIG idiomatically
Peter Kjellerstedt
toggle quoted message
Show quoted text
-----Original Message-----I definitely agree that using "??=" in the recipe for PACKAGECONFIG is a bad idea. In all our own recipes we use "=" so that is what I would prefer, but "?=" is ok and it would alleviate the need to use PACKAGECONFIG:append in bbappends instead of "PACKAGECONFIG +=". The reason I think "=" is better than "?=" is that if you want to override the PACKAGECONFIG in a bbappend, using "=" a second time will work fine, and if you want to do the override in a configuration file like local.conf, you would use PACKAGECONFIG:pn-foo, which also would override whatever the recipe set using "=". So unless I am missing a use case, there really isn't a need to use "?=". //PeterAs a second step, the parser could generate a warning (or even anWould be interesting to see if there is valid use so it is probably worth |
|