Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CCED9C433EF for ; Thu, 26 May 2022 09:44:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 594694118E; Thu, 26 May 2022 09:44:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p17MmpDmbO82; Thu, 26 May 2022 09:44:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 6915D41188; Thu, 26 May 2022 09:44:49 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 0347A1BF487 for ; Thu, 26 May 2022 09:44:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E446D42583 for ; Thu, 26 May 2022 09:44:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gV5R8ZV-7KA9 for ; Thu, 26 May 2022 09:44:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by smtp4.osuosl.org (Postfix) with ESMTPS id 4B0EB42582 for ; Thu, 26 May 2022 09:44:45 +0000 (UTC) Received: (Authenticated sender: peter@korsgaard.com) by mail.gandi.net (Postfix) with ESMTPSA id 513EE100003; Thu, 26 May 2022 09:44:42 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.94.2) (envelope-from ) id 1nuA2r-00HNNr-FS; Thu, 26 May 2022 11:44:41 +0200 From: Peter Korsgaard To: Thomas Petazzoni via buildroot References: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> Date: Thu, 26 May 2022 11:44:41 +0200 In-Reply-To: <20220419213450.887728-1-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Tue, 19 Apr 2022 23:34:45 +0200") Message-ID: <877d68r5km.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH 1/5] arch/Config.in.sh: fixup MMU selection X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Hilliard , Thomas Petazzoni Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > BR2_sh selects BR2_ARCH_HAS_MMU_OPTIONAL, which means that it's up to > the user to decide whether he wants to use MMU or not on SuperH > platforms. > However: > - On SH2A, there is no MMU at all, so being to select "Use MMU" > doesn't make any sense. > - On SH4, there is no support for *not* using the MMU, so disabling > "Use MMU" will cause the build to fail. > In order to fix this, we move the MMU selection to arch/Config.in.sh: > - BR2_sh2a selects nothing, so that it's always noMMU > - BR2_sh4* select BR2_ARCH_HAS_MMU_MANDATORY so that the MMU is > always used. > Fixes: > http://autobuild.buildroot.net/results/f4d52cabee61ee0f234b03c1ec1bd02e85e7bb20/ (FLAT > selected with sh4aeb) > http://autobuild.buildroot.net/results/d1b1dfe449f82944bd48215da3cdffd05797e2e9/ (FLAT > selected with sh4a) > http://autobuild.buildroot.net/results/45bc90fd2dde7bb201d7f999db1a8024cf889a06/ (FLAT > selected with sh4) > Signed-off-by: Thomas Petazzoni Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot