From: Peng Fan <peng....@nxp.com> Add -march=armv7ve to avoid build error that ".virt extension not supported".
Signed-off-by: Peng Fan <peng....@nxp.com> --- inmates/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inmates/Makefile b/inmates/Makefile index 18a94853..25639922 100644 --- a/inmates/Makefile +++ b/inmates/Makefile @@ -35,6 +35,10 @@ KBUILD_CFLAGS := -g -Os -Wall -Wstrict-prototypes -Wtype-limits \ ifneq ($(wildcard $(INC_CONFIG_H)),) KBUILD_CFLAGS += -include $(INC_CONFIG_H) endif +ifeq ($(SRCARCH),arm) +KBUILD_CFLAGS += -march=armv7ve +KBUILD_AFLAGS += -march=armv7ve +endif OBJCOPYFLAGS := -O binary # prior to 4.19 -- 2.16.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to jailhouse-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/20200821024921.3075-5-peng.fan%40nxp.com.