[yocto] coding style: hardcoding package names instead of using PN/BPN/etc
Khem Raj
raj.khem at gmail.com
Sun Nov 3 12:39:15 PST 2013
On Sat, Nov 2, 2013 at 2:14 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> gst-va-intel.bb:ALLOW_EMPTY_gst-va-intel = "1"
> gst-va-intel.bb:ALLOW_EMPTY_gst-va-intel-general = "1"
> gst-va-intel.bb:ALLOW_EMPTY_gst-va-intel-video = "1"
> gst-va-intel.bb:ALLOW_EMPTY_gst-va-intel-vaapi = "1"
>
> i'm *assuming* the above could have been written more concisely by
> using ${PN}, correct?
yes however if you have mutating recipes into native and nativesdk and you only
want this to be effective for target recipe only then above would be ok
is there a coding style preference that users
> should be *encouraged* to use? is there a general coding style guide
> anywhere?
>
More information about the yocto
mailing list