Am 17.04.2012 22:51, schrieb Blue Swirl: > On Tue, Apr 17, 2012 at 20:35, Peter Maydell <peter.mayd...@linaro.org> wrote: >> On 17 April 2012 21:31, Blue Swirl <blauwir...@gmail.com> wrote: >>> On Tue, Apr 17, 2012 at 20:27, Peter Maydell <peter.mayd...@linaro.org> >>> wrote: >>>> ARM has a default board set, which is unfortunate because it's >>>> hardware that nobody uses now, so the QEMU default setting >>>> mostly serves to trip up users who try to run a kernel for >>>> some other machine on it by mistake. >>> >>> Then change it. >> >> As I say, I don't want to break command line compatibility. > > v1.1: print a warning about using deprecated board, suggest -M integratorcp > v1.2: change default board, when default board is used, print a notice > that it's now -M z2, suggest -M integratorcp for old geezers > v1.3: remove notice
That assumes end users actually launch it from the command line, as opposed to some Eclipse UI (e.g., Sourcery CodeBench). Anyhow, we currently don't have a way to detect whether we're using a board because it's the default or due to an explicit -M argument. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg