All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libwpe: remove rpi-specific custom code
@ 2021-08-04  1:34 Denys Dmytriyenko
  2021-08-04 17:54 ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2021-08-04  1:34 UTC (permalink / raw)
  To: openembedded-core; +Cc: Denys Dmytriyenko

This recipe was ported from another layer, which had special handling for rpi.

OE-Core doesn't have 'rpi' override, doesn't define 'vc4graphics' DISTRO_FEATURES
and overall, BSP-specifics should be handled in downstream layers, not in OE-Core.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
---
 meta/recipes-sato/webkit/libwpe_1.10.1.bb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-sato/webkit/libwpe_1.10.1.bb b/meta/recipes-sato/webkit/libwpe_1.10.1.bb
index 22fff93..6f2fe1d 100644
--- a/meta/recipes-sato/webkit/libwpe_1.10.1.bb
+++ b/meta/recipes-sato/webkit/libwpe_1.10.1.bb
@@ -6,9 +6,6 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=371a616eb4903c6cb79e9893a5f615cc"
 DEPENDS = "virtual/egl libxkbcommon"
 
-# Workaround build issue with RPi userland EGL libraries.
-CFLAGS:append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', '-D_GNU_SOURCE', d)}"
-
 inherit cmake features_check
 
 REQUIRED_DISTRO_FEATURES = "opengl"
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] libwpe: remove rpi-specific custom code
  2021-08-04  1:34 [PATCH] libwpe: remove rpi-specific custom code Denys Dmytriyenko
@ 2021-08-04 17:54 ` Khem Raj
  2021-08-04 18:24   ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2021-08-04 17:54 UTC (permalink / raw)
  To: Denys Dmytriyenko, openembedded-core



On 8/3/21 6:34 PM, Denys Dmytriyenko wrote:
> This recipe was ported from another layer, which had special handling for rpi.
> 
> OE-Core doesn't have 'rpi' override, doesn't define 'vc4graphics' DISTRO_FEATURES
> and overall, BSP-specifics should be handled in downstream layers, not in OE-Core.
> 

Thats fine, however, this will regress rpi BSPs, so either send a patch 
to add it via a bbappend to meta-raspberrypi or open a ticket so someone 
can get it done

> Signed-off-by: Denys Dmytriyenko <denis@denix.org>
> ---
>   meta/recipes-sato/webkit/libwpe_1.10.1.bb | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/meta/recipes-sato/webkit/libwpe_1.10.1.bb b/meta/recipes-sato/webkit/libwpe_1.10.1.bb
> index 22fff93..6f2fe1d 100644
> --- a/meta/recipes-sato/webkit/libwpe_1.10.1.bb
> +++ b/meta/recipes-sato/webkit/libwpe_1.10.1.bb
> @@ -6,9 +6,6 @@ LICENSE = "BSD"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=371a616eb4903c6cb79e9893a5f615cc"
>   DEPENDS = "virtual/egl libxkbcommon"
>   
> -# Workaround build issue with RPi userland EGL libraries.
> -CFLAGS:append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', '-D_GNU_SOURCE', d)}"
> -
>   inherit cmake features_check
>   
>   REQUIRED_DISTRO_FEATURES = "opengl"
> 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] libwpe: remove rpi-specific custom code
  2021-08-04 17:54 ` [OE-core] " Khem Raj
@ 2021-08-04 18:24   ` Denys Dmytriyenko
  0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2021-08-04 18:24 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Wed, Aug 04, 2021 at 10:54:32AM -0700, Khem Raj wrote:
> 
> 
> On 8/3/21 6:34 PM, Denys Dmytriyenko wrote:
> >This recipe was ported from another layer, which had special handling for rpi.
> >
> >OE-Core doesn't have 'rpi' override, doesn't define 'vc4graphics' DISTRO_FEATURES
> >and overall, BSP-specifics should be handled in downstream layers, not in OE-Core.
> >
> 
> Thats fine, however, this will regress rpi BSPs, so either send a
> patch to add it via a bbappend to meta-raspberrypi or open a ticket
> so someone can get it done

It has already regressed, as :append_rpi is not a correct override.
Ticket open - https://github.com/agherzan/meta-raspberrypi/issues/893


> >Signed-off-by: Denys Dmytriyenko <denis@denix.org>
> >---
> >  meta/recipes-sato/webkit/libwpe_1.10.1.bb | 3 ---
> >  1 file changed, 3 deletions(-)
> >
> >diff --git a/meta/recipes-sato/webkit/libwpe_1.10.1.bb b/meta/recipes-sato/webkit/libwpe_1.10.1.bb
> >index 22fff93..6f2fe1d 100644
> >--- a/meta/recipes-sato/webkit/libwpe_1.10.1.bb
> >+++ b/meta/recipes-sato/webkit/libwpe_1.10.1.bb
> >@@ -6,9 +6,6 @@ LICENSE = "BSD"
> >  LIC_FILES_CHKSUM = "file://COPYING;md5=371a616eb4903c6cb79e9893a5f615cc"
> >  DEPENDS = "virtual/egl libxkbcommon"
> >-# Workaround build issue with RPi userland EGL libraries.
> >-CFLAGS:append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', '-D_GNU_SOURCE', d)}"
> >-
> >  inherit cmake features_check
> >  REQUIRED_DISTRO_FEATURES = "opengl"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-04 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04  1:34 [PATCH] libwpe: remove rpi-specific custom code Denys Dmytriyenko
2021-08-04 17:54 ` [OE-core] " Khem Raj
2021-08-04 18:24   ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.