lkml.org 
[lkml]   [2008]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
On Fri, Feb 22, 2008 at 10:29:38AM -0800, Randy Dunlap wrote:
> Sam Ravnborg wrote:
> >>Is there a way to generate (in Kconfig language) the boolean
> >>CONFIG_ACPI_CUSTOM_DSDT based on whether CONFIG_ACPI_CUSTOM_DSDT_FILE
> >>== "" or != "" ? I tried to muck around with that last night but
> >>couldn't get it to work. I.e., just present the ACPI_CUSTOM_DSDT_FILE
> >>config symbol to the user and then generate the ACPI_CUSTOM_DSDT bool
> >>based on the string value.
> >
> >Something following this example?
> >
> >config STRING
> > string
> > prompt "What string"
> > default ""
> >
> >config STRING_IS_NOT_EMPTY
> > bool
> > default STRING != ""
> >
> >
> >But that seems too easy - were you trying to do something
> >more complex than this?
>
> Yes, that's almost what I had. I used def_bool n on the second config
> symbol,
> but the bool value never changed when I changed the string value.
> I'll be glad to look at it again though.
I tested that above in a small Kconfig file and it
works as expected. When I set the string to something
STRING_IS_NOT_EMPTY is equal to y.

Sam


\
 
 \ /
  Last update: 2008-02-22 19:59    [W:0.229 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site