chromium: List all PACKAGECONFIG settings to avoid warning
PATCH 1/1 chromium: List all PACKAGECONFIG settings to avoid warning
OE-core now warns if PACKAGECONFIG is used to set an option that does not have a corresponding PACKAGECONFIG[option]="xxx" line. This recipe makes use of many such options & this patch suppresses those warnings by listing the options.
--- recipes-browser/chromium/chromium.inc | 8 ++++++++ 1 file changed, 8 insertions(+)
recipes-browser/chromium/chromium.inc +8 -0
@@ -17,6 +17,14 @@ PACKAGECONFIG ??= "use-egl" # automatically and silently fall back to GLX PACKAGECONFIG[use-egl] = ",,virtual/egl virtual/libgles2" +# Additional PACKAGECONFIG options - listed here to avoid warnings +PACKAGECONFIG[use-gl] = "" +PACKAGECONFIG[component-build] = "" +PACKAGECONFIG[ignore-lost-context] = "" +PACKAGECONFIG[component-build] = "" +PACKAGECONFIG[impl-side-painting] = "" +PACKAGECONFIG[disable-api-keys-info-bar] = "" + GYP_DEFINES += "${ARMFPABI} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''" do_configure() {
Signature · 1 line
1.9.1
Quoted 16 lines · Gary Thomas
OE-core now warns if PACKAGECONFIG is used to set an option that does not have a corresponding PACKAGECONFIG[option]="xxx" line. This recipe makes use of many such options & this patch suppresses those warnings by listing the options.
Signed-off-by Gary Thomas <[email protected]>--- recipes-browser/chromium/chromium.inc | 8 ++++++++ 1 file changed, 8 insertions(+)recipes-browser/chromium/chromium.inc +0
-0@@ -17,6 +17,14 @@ PACKAGECONFIG ??= "use-egl" # automatically and silently fall back to GLX
recipes-browser/chromium/chromium.inc PACKAGECONFIG ??= "use-egl" · line 27
Quoted 10 lines
recipes-browser/chromium/chromium.inc +8
-0PACKAGECONFIG[use-egl] = ",,virtual/egl virtual/libgles2" +# Additional PACKAGECONFIG options - listed here to avoid warnings +PACKAGECONFIG[use-gl] = "" +PACKAGECONFIG[component-build] = "" +PACKAGECONFIG[ignore-lost-context] = "" +PACKAGECONFIG[component-build] = "" +PACKAGECONFIG[impl-side-painting] = "" +PACKAGECONFIG[disable-api-keys-info-bar] = "" +
The "component-build" PACKAGECONFIG is duplicated.
Maybe the list should be sorted too, unless there's a special significance to the current order.
Quoted 11 lines
recipes-browser/chromium/chromium.inc +0
-1GYP_DEFINES += "${ARMFPABI} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''" do_configure() { --1.9.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel