From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 03/14] RESEND: handle MMU configuration
Date: Fri, 9 Oct 2009 13:39:02 +0200 [thread overview]
Message-ID: <20091009113902.GM2266@mx.loc> (raw)
In-Reply-To: <87r5tchkvv.fsf@macbook.be.48ers.dk>
On Fri, Oct 09, 2009 at 01:22:44PM +0200, Peter Korsgaard wrote:
>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>
> Thomas> Le Wed, 7 Oct 2009 23:27:47 +0200,
> Thomas> Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> a ?crit :
>
> >> +config BR2_HAVE_NOMMU
> >> + def_bool n
> >> + # assume that we have an MMU per default.
>
> Thomas> Maybe we should use BR2_HAVE_MMU, def_bool y. The
> Thomas> non-not-negative-if-not-options are really hard to understand.
>
>I guess the idea is that the architectures can 'select' this option
>behind the user's back. There's afaik nothing in kconfig to disable
Exactly. e.g.:
$ grep -B3 HAVE_NOMMU target/Config.in.arch
config BR2_m68k_cpu_68000
bool "68000"
select BR2_HAVE_NOMMU
config BR2_m68k_cpu_68010
bool "68010"
select BR2_HAVE_NOMMU
--
config BR2_m68k_cpu_coldfire_51qe
bool "51qe"
select BR2_HAVE_NOMMU
config BR2_m68k_cpu_coldfire_5202
bool "5202"
select BR2_HAVE_NOMMU
config BR2_m68k_cpu_coldfire_5204
bool "5204"
select BR2_HAVE_NOMMU
config BR2_m68k_cpu_coldfire_5206
bool "5206"
select BR2_HAVE_NOMMU
>another option if you enable something.
>
>You could ofcourse move the logic here instead of in the individual arch
>handling (E.G. default y if BR2_ARCH_bfin, or what it now is).
>
> >> +config BR2_USE_MMU
> >> + bool "Use MMU"
> >> + default y
> >> + depends on !BR2_HAVE_NOMMU
> >> + help
> >> + If your target has an MMU and you want to use it
> >> + then say Y here.
>
> Thomas> What's the usage of these two new options ?
>
>Yes, I would like to know this as well. I would imagine properly
>supporting nommu would take quite some more effort than this (E.G. most
>packages should get hidden).
why would you want to hide most of the package?
For a start, it only affects the binary format.
next prev parent reply other threads:[~2009-10-09 11:39 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 20:08 [Buildroot] [PATCH 00/14] misc cleanups Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 01/14] allow menuconfig without a LINUX26_KCONFIG file Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 02/14] Allow for specifying kernel version manually Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 03/14] handle MMU configuration Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 04/14] expand arch selection Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 05/14] remove superfluous OPTIMIZE and DEBUG config knobs Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 06/14] allow for testing gcc-4.5 Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 07/14] *-menuconfig needs dirs to exist Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 08/14] remove BR2_FPU_SUFFIX Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 09/14] tidy up ROOTFS_{PRE,SUF}FIX handling Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 10/14] honour DISABLE_IPV6 Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 11/14] disable-locale implies turning off locale and iconv Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 12/14] rsync: bump version Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 13/14] enable config.cache per default Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 14/14] libpcap, tcpdump: bump version and autotoolify Bernhard Reutner-Fischer
2009-10-27 8:28 ` Peter Korsgaard
2009-10-07 20:59 ` [Buildroot] [PATCH 13/14] enable config.cache per default Peter Korsgaard
2009-10-07 21:19 ` Bernhard Reutner-Fischer
2009-10-09 10:00 ` Thomas Petazzoni
2009-10-09 10:55 ` Bernhard Reutner-Fischer
2009-10-07 20:52 ` [Buildroot] [PATCH 12/14] rsync: bump version Peter Korsgaard
2009-10-07 20:59 ` Bernhard Reutner-Fischer
2009-10-07 21:44 ` Peter Korsgaard
2009-10-07 20:36 ` [Buildroot] [PATCH 10/14] honour DISABLE_IPV6 Peter Korsgaard
2009-10-07 20:40 ` Bernhard Reutner-Fischer
2009-10-07 20:58 ` Peter Korsgaard
2009-10-09 9:57 ` [Buildroot] [PATCH 09/14] tidy up ROOTFS_{PRE,SUF}FIX handling Thomas Petazzoni
2009-10-07 20:35 ` [Buildroot] [PATCH 08/14] remove BR2_FPU_SUFFIX Peter Korsgaard
2009-10-09 9:56 ` Thomas Petazzoni
2009-10-07 20:30 ` [Buildroot] [PATCH 07/14] *-menuconfig needs dirs to exist Peter Korsgaard
2009-10-08 9:32 ` [Buildroot] [PATCH 06/10] " Bernhard Reutner-Fischer
2009-10-08 18:55 ` Peter Korsgaard
2009-10-08 19:08 ` Bernhard Reutner-Fischer
2009-10-08 20:35 ` Peter Korsgaard
2009-10-09 9:38 ` Bernhard Reutner-Fischer
2009-10-09 11:19 ` Peter Korsgaard
2009-10-09 11:26 ` Bernhard Reutner-Fischer
2009-10-09 11:35 ` Peter Korsgaard
2009-10-09 11:54 ` Bernhard Reutner-Fischer
2009-10-09 12:07 ` Peter Korsgaard
2009-10-09 12:39 ` Bernhard Reutner-Fischer
2009-10-09 13:40 ` Peter Korsgaard
2009-10-07 20:24 ` [Buildroot] [PATCH 06/14] allow for testing gcc-4.5 Peter Korsgaard
2009-10-07 20:33 ` Bernhard Reutner-Fischer
2009-10-07 21:00 ` Peter Korsgaard
2009-10-07 21:22 ` Bernhard Reutner-Fischer
2009-10-07 20:23 ` [Buildroot] [PATCH 04/14] expand arch selection Peter Korsgaard
2009-10-07 20:38 ` Bernhard Reutner-Fischer
2009-10-07 21:02 ` Peter Korsgaard
2009-10-07 20:26 ` [Buildroot] [PATCH 03/14] handle MMU configuration Peter Korsgaard
2009-10-07 20:32 ` Bernhard Reutner-Fischer
2009-10-07 21:01 ` Peter Korsgaard
2009-10-09 9:53 ` [Buildroot] [PATCH 03/14] RESEND: " Thomas Petazzoni
2009-10-09 10:49 ` Bernhard Reutner-Fischer
2009-10-09 11:22 ` Peter Korsgaard
2009-10-09 11:39 ` Bernhard Reutner-Fischer [this message]
2009-10-09 11:44 ` Peter Korsgaard
2009-10-09 12:06 ` Bernhard Reutner-Fischer
2009-10-09 12:10 ` Peter Korsgaard
2009-10-27 8:22 ` [Buildroot] [PATCH 02/14] Allow for specifying kernel version manually Peter Korsgaard
2009-10-07 20:14 ` [Buildroot] [PATCH 01/14] allow menuconfig without a LINUX26_KCONFIG file Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091009113902.GM2266@mx.loc \
--to=rep.dot.nop@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox