From 932197cf2955399f4bfe600b172e96f51c1f79a3 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Thu, 12 Aug 2010 20:12:08 +0200 Subject: Embtk: create general kconfig symbols for big/little endian Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/arch.kconfig | 45 ++++++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 17 deletions(-) (limited to 'kconfig/arch.kconfig') diff --git a/kconfig/arch.kconfig b/kconfig/arch.kconfig index 610b40e..ad4acd3 100644 --- a/kconfig/arch.kconfig +++ b/kconfig/arch.kconfig @@ -1,27 +1,27 @@ -######################################################################################### -# GAYE Abdoulaye Walsimou, -# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved. -# For Copyrright from linux kernel's build/configure system, see their source code +################################################################################ +# Abdoulaye Walsimou GAYE +# Copyright(C) 2009-2010 Abdoulaye Walsimou GAYE. All rights reserved. # -# This program is free software; you can distribute it and/or modify it -# under the terms of the GNU General Public License -# (Version 2 or later) published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. -######################################################################################### +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +################################################################################ # # \file arch.kconfig # \brief arch.kconfig of Embtoolkit -# \author GAYE Abdoulaye Walsimou, +# \author Abdoulaye Walsimou GAYE # \date May 2009 -######################################################################################### +################################################################################ choice prompt "Architecture" @@ -76,3 +76,14 @@ config EMBTK_64BITS_FS_COMPAT32 help we will build 64bits filesystem layout, with 32 compatibility +config EMBTK_TARGET_ARCH_LITTLE_ENDIAN + bool + depends on !EMBTK_TARGET_ARCH_BIG_ENDIAN + help + Little endian target + +config EMBTK_TARGET_ARCH_BIG_ENDIAN + bool + depends on !EMBTK_TARGET_ARCH_LITTLE_ENDIAN + help + Big endian target -- cgit v1.2.3