[Buildroot] [Bug 769] Update configuration menu for MIPS target
Michael S. Zick
minimod at morethan.org
Mon Dec 14 11:56:08 UTC 2009
On Sun December 13 2009, bugzilla at busybox.net wrote:
> --- Comment #1 from Mike Z <minimod at morethan.org> 2009-12-13 18:46:19 UTC ---
> Screenshot of new MIPS target configuration sub-menu here:
Well, in spite of all the feedback I am getting on this project,
I think it looks good. It also generates the required gcc
options for cores from 1984 to October 2009.
Supports three modes:
"Full automatic" - based on Core codenames
"Semi-automatic" - Core codename + Manual modification of feature sets.
"Full manual" - Baby, your on your own.
The real key to this project was the splitting of Config.in.arch
into per-target files (Config.in.mips, Config.in.arm, ...).
That leaves each target arch to be dealt with by the lead contributor
and/or target maintainer (12 people rather than 1) **without**
any cross-target symbol dependencies (which Config.in.arch is full of).
Each target configuration sub-menu is "wrapped" with:
menu "MyArch target configuration"
depends on MyArch
- - - -
Giving the closest thing to a namespace that kbuild understands.
The output interfaces with the existing Buildroot using the existing
symbol names + plus target generated booleans to drive the CFLAGS
option list generation.
Makes it much, much easier to add/remove/mark broken targets by arch.
Note: GCC supports 46 targets, **NO** I am not going to write 45 more
of these things! Not even if someone paid me.
But getting the other current targets to continue working again is
almost trivial - I planned it that way.
More information about the buildroot