From: =?UTF-8?q?David=20M=C3=BCller?= Date: Tue, 9 Feb 2016 16:48:30 +0100 Subject: [U-Boot] [PATCH 3/4] arm: build some file(s) as ARM mode only In-Reply-To: <1455032911-29001-1-git-send-email-d.mueller@elsoft.ch> References: <1455032911-29001-1-git-send-email-d.mueller@elsoft.ch> Message-ID: <1455032911-29001-4-git-send-email-d.mueller@elsoft.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: David M?ller --- arch/arm/cpu/arm920t/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/cpu/arm920t/Makefile b/arch/arm/cpu/arm920t/Makefile index 6582938..1832b9d 100644 --- a/arch/arm/cpu/arm920t/Makefile +++ b/arch/arm/cpu/arm920t/Makefile @@ -13,3 +13,9 @@ obj-$(CONFIG_USE_IRQ) += interrupts.o obj-$(CONFIG_EP93XX) += ep93xx/ obj-$(CONFIG_IMX) += imx/ obj-$(CONFIG_S3C24X0) += s3c24x0/ + +# some files can only build in ARM mode + +ifdef CONFIG_SYS_THUMB_BUILD +CFLAGS_cpu.o := -marm +endif -- 1.8.4