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-variant-arm.kconfig | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'kconfig/arch-variant-arm.kconfig') diff --git a/kconfig/arch-variant-arm.kconfig b/kconfig/arch-variant-arm.kconfig index 1288e75..979612a 100644 --- a/kconfig/arch-variant-arm.kconfig +++ b/kconfig/arch-variant-arm.kconfig @@ -1,24 +1,25 @@ ################################################################################ -# GAYE Abdoulaye Walsimou, -# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved. +# 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, see . # -# 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. ################################################################################ # # \file arch-variant-arm.kconfig # \brief ARM architecture kconfig options -# \author GAYE Abdoulaye Walsimou, +# \author Abdoulaye Walsimou GAYE # \date August 2009 ################################################################################ @@ -30,10 +31,12 @@ choice config EMBTK_ARCH_ARM_LITTLE_ENDIAN bool "armel: Little endian" + select EMBTK_TARGET_ARCH_LITTLE_ENDIAN help Your ARM MCU is little endian config EMBTK_ARCH_ARM_BIG_ENDIAN bool "armeb: Big endian" + select EMBTK_TARGET_ARCH_BIG_ENDIAN help Your ARM MCU is big endian endchoice -- cgit v1.2.3