Introduce the _AVAILABLE mechanism
Get series with b4
b4 am 20121017220525.6e7e173b@skateVersions newest first
- 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.
Cover letter [Buildroot] [PATCH 0/7] Introduce the _AVAILABLE mechanism
Quoted 29 lines · Yann E. MORIN
Maybe the solution would be that we do not add
_AVAILABLEto sub-options, but we can still use it from sub-options. Eg. (condensed):config
PKG_FOO_AVAIL
def_booly
depends on blablaconfig
PKG_FOO
bool "package foo"
depends onPKG_FOO_AVAIL
select blablaconfig
PKG_BAR_AVAIL
def_booly
depends on boobooconfig
PKG_BAR
bool "package bar"
depends onPKG_BAR_AVAIL
select boobooif
PKG_BARconfig
PKG_BAR_OPTION
bool "bar's option"
depends onPKG_FOO_AVAIL
selectPKG_FOO
Quoted 6 lines
comment "bar's option needs package foo"
depends on !PKG_FOO_AVAILendif #
PKG_BARIsn't that sufficient?
From a quick review, it sounds sufficient indeed. What surprises me is why we didn't think about this solution the other day when discussing your _AVAILABLE patch set.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com