[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F3188E9.8000804@zytor.com>
Date: Tue, 07 Feb 2012 12:26:17 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Josh Triplett <josh@...htriplett.org>
CC: "linux-kbuild@...r.kernel.org" <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: Kconfig and toolchain dependencies
On 02/04/2012 10:32 AM, Josh Triplett wrote:
>>
>> Does anyone have a feel for if this would be a good addition, and if so
>> where it best fits into the chain?
>
> This seems like a *great* idea. Unfortunately, a quick look at the
> implementation of kbuild suggests that it doesn't currently implement
> numeric comparisons (<, <=, >, >=), only equality (= and !=). Most of
> the time, a Kconfig file will want to write "depends GCC >=
> some_version".
>
> Looking at scripts/kconfig/expr.c, it doesn't look that hard to add,
> though.
>
Range dependencies are probably useful in their own right, too.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists