Hi Ingo,
On Tue, Mar 8, 2016 at 10:21 AM, Ingo Molnar <
mi...@kernel.org> wrote:
>> Same comment as before: thou shall not compile kernels for m68k without
>> selecting any platform support.
>
> That should be enforced at the Kconfig level.
I'm fully aware of that ;-)
Unfortunately it's not trivial.
How do you enforce that at least one option from a list of options is enabled?
M68k (with MMU) supports three distinct classes of machines:
1. Coldfire (with Coldfire MMU)
2. Sun-3 (with Sun-3 MMU)
3. Rest (with classic Motorola MMU)
Class 3 contains multiple machine types (cfr. top of arch/m68k/Kconfig.machine)
and at least one of them must be selected.
So far everything I tried conflicted with enforcing the 3 distinct classes.
For nommu, it's simpler, as you can typically support a single platform only,
due to the different platforms (usually) having RAM at different addresses.
Suggestions are welcome....