From patchwork Sun Apr 7 19:25:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 234526 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id BEA572C00FD for ; Mon, 8 Apr 2013 05:26:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 64F8E8B44C; Sun, 7 Apr 2013 19:26:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dhb68SirR7he; Sun, 7 Apr 2013 19:26:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E50578BB82; Sun, 7 Apr 2013 19:25:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id AA6FF8F753 for ; Sun, 7 Apr 2013 19:25:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 06F2630917 for ; Sun, 7 Apr 2013 19:25:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I7yuhn+x5Pjt for ; Sun, 7 Apr 2013 19:25:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by silver.osuosl.org (Postfix) with ESMTP id AFCA43177A for ; Sun, 7 Apr 2013 19:25:29 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 6F56AE04; Sun, 7 Apr 2013 21:25:29 +0200 (CEST) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 0E6DF7B3; Sun, 7 Apr 2013 21:25:28 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 7 Apr 2013 21:25:24 +0200 Message-Id: <1365362725-30251-2-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1365362725-30251-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1365362725-30251-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 1/2] fs/jffs2: refactor endianess selection to use BR2_ENDIAN X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Instead of explicitly listing the sub-architectures or architectures that are big-endian, use BR2_ENDIAN directly. Signed-off-by: Thomas Petazzoni --- fs/jffs2/Config.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fs/jffs2/Config.in b/fs/jffs2/Config.in index 9a96d7d..f15e730 100644 --- a/fs/jffs2/Config.in +++ b/fs/jffs2/Config.in @@ -92,10 +92,7 @@ config BR2_TARGET_ROOTFS_JFFS2_PADSIZE choice prompt "Endianess" - default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_armeb || \ - BR2_avr32 || BR2_m68k || BR2_mips || \ - BR2_powerpc || BR2_sh2 || BR2_sh2a || \ - BR2_sh3eb || BR2_sh4eb || BR2_sh4aeb || BR2_sparc + default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_ENDIAN = "BIG" config BR2_TARGET_ROOTFS_JFFS2_LE bool "little-endian"