From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz0-f47.google.com ([209.85.210.47]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RuIOc-0004D7-1M for openembedded-core@lists.openembedded.org; Mon, 06 Feb 2012 07:49:50 +0100 Received: by mail-pz0-f47.google.com with SMTP id n34so1809191dal.6 for ; Sun, 05 Feb 2012 22:41:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references; bh=99JQC5qsDUTB2HKCeY+Hn8EGNrp9LGPwtmrMhcPBfLg=; b=ZRaxIb3N+FJDUPt5b7HgIAz9vYkCVO50M1UaLsD41FqdPR2KcXuus1BGIEG2fXO0Uo qqQj37nrokeqiNeYU45Nk2h3K1sfgIKHAcgA2lapjpkEJu2bg8zHxVYKi8uCFNsfTHI5 SL4s4n1en77qmuywSlzD8ahhXATcis69Th9Sw= Received: by 10.68.209.39 with SMTP id mj7mr44843206pbc.25.1328510511266; Sun, 05 Feb 2012 22:41:51 -0800 (PST) Received: from localhost.localdomain (oldbuilder.nslu2-linux.org. [140.211.169.168]) by mx.google.com with ESMTPS id li19sm37030710pbb.17.2012.02.05.22.41.49 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Feb 2012 22:41:50 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 5 Feb 2012 22:40:31 -0800 Message-Id: X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <04705556464a6e41642962da40f0e17847ee3483.1328510188.git.raj.khem@gmail.com> References: <04705556464a6e41642962da40f0e17847ee3483.1328510188.git.raj.khem@gmail.com> In-Reply-To: References: Subject: [PATCH 05/20] tune-thumb.inc: Delete X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2012 06:49:52 -0000 The same functionality is provided by machine/include/arm/feature-arm-thumb.inc Setting ARM_INSTRUCTION_SET = "thumb" in distro configs should be enough Signed-off-by: Khem Raj --- meta/conf/machine/include/tune-thumb.inc | 32 ------------------------------ 1 files changed, 0 insertions(+), 32 deletions(-) delete mode 100644 meta/conf/machine/include/tune-thumb.inc diff --git a/meta/conf/machine/include/tune-thumb.inc b/meta/conf/machine/include/tune-thumb.inc deleted file mode 100644 index 214e3b6..0000000 --- a/meta/conf/machine/include/tune-thumb.inc +++ /dev/null @@ -1,32 +0,0 @@ -#tune file for thumb instructions - -ARM_INSTRUCTION_SET ?= "arm" -# "arm" "thumb" -# The instruction set the compiler should use when generating application -# code. The kernel is always compiled with arm code at present. arm code -# is the original 32 bit ARM instruction set, thumb code is the 16 bit -# encoded RISC sub-set. Thumb code is smaller (maybe 70% of the ARM size) -# but requires more instructions (140% for 70% smaller code) so may be -# slower. - -THUMB_INTERWORK ?= "yes" -# "yes" "no" -# Whether to compile with code to allow interworking between the two -# instruction sets. This allows thumb code to be executed on a primarily -# arm system and vice versa. It is strongly recommended that DISTROs not -# turn this off - the actual cost is very small. - -OVERRIDE_THUMB = "${@['', ':thumb'][d.getVar('ARM_INSTRUCTION_SET', 1) == 'thumb']}" -OVERRIDE_INTERWORK = "${@['', ':thumb-interwork'][d.getVar('THUMB_INTERWORK', 1) == 'yes']}" -OVERRIDES .= "${OVERRIDE_THUMB}${OVERRIDE_INTERWORK}" - -# Compiler and linker options for application code and kernel code. These -# options ensure that the compiler has the correct settings for the selected -# instruction set and interworking. -ARM_INTERWORK_M_OPT = "${@['-mno-thumb-interwork', '-mthumb-interwork'][d.getVar('THUMB_INTERWORK', 1) == 'yes']}" -ARM_THUMB_M_OPT = "${@['-marm', '-mthumb'][d.getVar('ARM_INSTRUCTION_SET', 1) == 'thumb']}" - -# -TUNE_CCARGS += "${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}" -TARGET_CC_KERNEL_ARCH += "-mno-thumb-interwork -marm" - -- 1.7.5.4