Kconfig and toolchain dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Right now, we don't have a good way to encode toolchain dependencies in
Kconfig.  This makes it hard to add optional features which depend on
newer toolchain features.

If we just add them, then it breaks all*config and randconfig on
platforms with the older toolchains unless the user manually adds
exclusion rules.  This is bad for testing.

It seems relatively straightforward to do if we were to manifest some
CONFIG_ variables based on the target toolchain, e.g.

CONFIG_GCC=0x040601

... and perhaps do other tests.  I suspect we would run the tests less
frequently than what we do right now with the tests embedded in the
Makefile.

Does anyone have a feel for if this would be a good addition, and if so
where it best fits into the chain?

	-hpa


-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux