Re: [PATCH 2/3] M68K: Use CONFIG_MMU not __uClinux__ to select m68knommucontributions

From: Greg Ungerer
Date: Fri Sep 03 2010 - 05:32:01 EST


On 03/09/10 19:18, David Howells wrote:
Andreas Schwab<schwab@xxxxxxxxxx> wrote:

You are almost able to use the uclinux compiler for both, except that
currently __uClinux__ is hardcoded.

The m68knommu arch Makefile in the kernel could specify it on the compiler
command line, then m68k compilers should be possible.

The kernel should probably also set appropriate -mcpu= and -mtune= flags,
depending on the type of kernel selected.

Not sure about m68k but m68knommu targets already setup
appropriate -mcpu flags for its various supported CPU types.

Regards
Greg

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