From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Romain Naour <romain.naour@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 3/5] package/efl: rework eeze handling in Kconfig
Date: Sun, 30 Jan 2022 15:02:43 +0100 [thread overview]
Message-ID: <20220130150243.5795f1fa@windsurf> (raw)
In-Reply-To: <20220129224651.1282263-3-romain.naour@gmail.com>
On Sat, 29 Jan 2022 23:46:49 +0100
Romain Naour <romain.naour@gmail.com> wrote:
> Commit [1] added eeze dependency using "depends on" to several efl
> options (drm, libmount) instead of selecting eeze and propagate the
> udev reverse dependency.
I do agree with changing from a "depends on BR2_PACKAGE_EFL_EEZE" to a
"depends BR2_PACKAGE_HAS_UDEV" + "select BR2_PACKAGE_EFL_EEZE".
However...
> The dependency between eeze, libinput, efl drm requires to add a new
> libinput option.
... I don't understand this justification. Could you clarify. Even
after reading PATCH 4/5, I don't get the relationship. PATCH 4/5 could
have been done (I guess using the same principle of "depends on
BR2_PACKAGE_EFL_EEZE".
> Rework eeze handling to use select BR2_PACKAGE_EFL_EEZE since the
> user is already aware of the udev dependency (BR2_PACKAGE_HAS_UDEV).
I don't understand why you say the user is already aware of the udev
dependency? Thanks to the comments?
> comment "efl's libmount support needs udev /dev management (eeze)"
Remove the "eeze" between parenthesis here I believe.
> - depends on !BR2_PACKAGE_EFL_EEZE
> + depends on !BR2_PACKAGE_HAS_UDEV
>
> config BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG
> bool
> @@ -173,7 +174,7 @@ config BR2_PACKAGE_EFL_WAYLAND
> depends on BR2_PACKAGE_WAYLAND
> depends on BR2_TOOLCHAIN_HAS_THREADS # Evas DRM Engine -> libdrm
> depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # Evas DRM Engine
> - depends on BR2_PACKAGE_EFL_EEZE # efl drm
> + depends on BR2_PACKAGE_HAS_UDEV # efl drm (eeze)
> depends on BR2_PACKAGE_EFL_OPENGLES # OpenGL ES with EGL support only
> depends on BR2_ENABLE_LOCALE # efl-drm <- efl-elput <- linput
> select BR2_PACKAGE_EFL_DRM
> @@ -182,7 +183,7 @@ config BR2_PACKAGE_EFL_WAYLAND
> comment "Wayland support needs udev /dev management (eeze), OpenGL ES w/ EGL, threads, locales"
Ditto.
> depends on BR2_PACKAGE_WAYLAND
> depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \
> - || !BR2_PACKAGE_EFL_OPENGLES || !BR2_PACKAGE_EFL_EEZE \
> + || !BR2_PACKAGE_EFL_OPENGLES || !BR2_PACKAGE_HAS_UDEV \
> || !BR2_ENABLE_LOCALE
>
> choice
> @@ -215,9 +216,10 @@ endchoice # OpenGL support
>
> config BR2_PACKAGE_EFL_DRM
> bool "Evas DRM Engine"
> - depends on BR2_PACKAGE_EFL_EEZE
> + depends on BR2_PACKAGE_HAS_UDEV (eeze)
Does this line really parses correctly?
> depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
> depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # require libgbm from mesa3d
> + select BR2_PACKAGE_EFL_EEZE
> select BR2_PACKAGE_LIBDRM
> select BR2_PACKAGE_LIBINPUT # For elput
> select BR2_PACKAGE_LIBXKBCOMMON
> @@ -232,7 +234,7 @@ config BR2_PACKAGE_EFL_DRM
>
> comment "Evas DRM Engine needs udev /dev management (eeze), mesa3d w/ EGL support, threads"
Remove the "eeze" between parenthesis.
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-01-30 14:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-29 22:46 [Buildroot] [PATCH 1/5] package/efl: bump to version 1.26.1 Romain Naour
2022-01-29 22:46 ` [Buildroot] [PATCH 2/5] package/enlightenment: bump to version 0.25.1 Romain Naour
2022-01-30 14:00 ` Thomas Petazzoni via buildroot
2022-01-29 22:46 ` [Buildroot] [PATCH 3/5] package/efl: rework eeze handling in Kconfig Romain Naour
2022-01-30 14:02 ` Thomas Petazzoni via buildroot [this message]
2022-01-30 17:40 ` Romain Naour
2022-01-30 20:44 ` Thomas Petazzoni via buildroot
2022-01-29 22:46 ` [Buildroot] [PATCH 4/5] package/efl: handle input option Romain Naour
2022-01-30 14:05 ` Thomas Petazzoni via buildroot
2022-01-29 22:46 ` [Buildroot] [PATCH 5/5] docs/manual/adding-packages-directory.txt: reorder select/depends Romain Naour
2022-01-30 14:12 ` Thomas Petazzoni via buildroot
2022-01-30 14:00 ` [Buildroot] [PATCH 1/5] package/efl: bump to version 1.26.1 Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220130150243.5795f1fa@windsurf \
--to=buildroot@buildroot.org \
--cc=romain.naour@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox