[PATCH] fixup! ARM: add file for HYP mode related setup

Lucas Stach l.stach at pengutronix.de
Tue Feb 6 04:58:16 PST 2018


---
 arch/arm/cpu/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile
index 537fe5b9bb8d..f86dff975bb4 100644
--- a/arch/arm/cpu/Makefile
+++ b/arch/arm/cpu/Makefile
@@ -10,9 +10,9 @@ obj-$(CONFIG_MMU) += mmu.o mmu-early.o
 pbl-$(CONFIG_MMU) += mmu-early.o
 lwl-y += lowlevel.o
 obj-y += hyp.o
-AFLAGS_hyp.o :=-Wa,-march=armv7-a
+AFLAGS_hyp.o :=-Wa,-march=armv7-a -Wa,-mcpu=all
 pbl-y += hyp.o
-AFLAGS_pbl-hyp.o :=-Wa,-march=armv7-a
+AFLAGS_pbl-hyp.o :=-Wa,-march=armv7-a -Wa,-mcpu=all
 endif
 
 obj-$(CONFIG_ARM_EXCEPTIONS) += interrupts.o
-- 
2.15.1




More information about the barebox mailing list