Skip to content

Introduce the _AVAILABLE mechanism

Arnout Vandecappelle buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 7 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/7] Introduce the _AVAILABLE mechanism
Quoted 2 lines · Yann E. MORIN

The most problematic issue I've encountered is with X11r7. The top-level config option is BR2_PACKAGE_XORG7, but it is*not* a package.

I don't see what is the problem with that. USE_WCHAR is also not a package.
Except maybe the name is inconvenient.

Quoted 13 lines

What I would suggest is something like (just out of my tired brain):

choice
prompt "X Window System server type"

config BR2_PACKAGE_XSERVER_none
bool "None"

config BR2_PACKAGE_XSERVER_xorg #<-- Note how it currently is lower-case
bool "Modular X.org" # 'xorg' in the repository...
depends on BR2_PACKAGE_XSERVER_xorg_AVAILABLE
select BR2_HAS_XORG7

Quoted 7 lines

comment 'X.org requires largefile and C++ support'
depends on !BR2_PACKAGE_XSERVER_xorg_AVAILABLE

config BR2_PACKAGE_XSERVER_tinyx #<-- Ditto lower-case 'tinyx'...
bool "TinyX"
depends on BR2_PACKAGE_XSERVER_tinyx_AVAILABLE select BR2_HAS_XORG7

Actually, the XSERVER_tinyx/xorg option is wrongly placed: it should be
a sub-option of BR2_PACKAGE_XSERVER_XORG_SERVER. The choice has no real effect unless BR2_PACKAGE_XSERVER_XORG_SERVER is also selected (and all the xorg-server modules select the xorg-server). But that's a wholly different story.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F