mk: fix quoting for ARM mtune argument
The mtune argument needs an unquoted argument, otherwise the compiler complains: arm-buildroot-linux-gnueabi-gcc.br_real: error: unrecognized argument in option ‘-mtune="cortex-a9"’ Fixes:02a8686263
("mk: introduce ARMv7 architecture") Fixes:4a7e462697
("mk: introduce NXP dpaa2 architecture based on armv8-a") Cc: stable@dpdk.org Reported-by: Jan Viktorin <viktorin@rehivetech.com> Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com> Tested-by: Jan Viktorin <viktorin@rehivetech.com>
This commit is contained in:
parent
4bf0ab48b5
commit
be1d4e8564
@ -57,7 +57,7 @@
|
|||||||
MACHINE_CFLAGS += -march=armv7-a
|
MACHINE_CFLAGS += -march=armv7-a
|
||||||
|
|
||||||
ifdef CONFIG_RTE_ARCH_ARM_TUNE
|
ifdef CONFIG_RTE_ARCH_ARM_TUNE
|
||||||
MACHINE_CFLAGS += -mtune=$(CONFIG_RTE_ARCH_ARM_TUNE)
|
MACHINE_CFLAGS += -mtune=$(CONFIG_RTE_ARCH_ARM_TUNE:"%"=%)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
MACHINE_CFLAGS += -mfpu=neon
|
MACHINE_CFLAGS += -mfpu=neon
|
||||||
|
@ -56,5 +56,5 @@
|
|||||||
MACHINE_CFLAGS += -march=armv8-a
|
MACHINE_CFLAGS += -march=armv8-a
|
||||||
|
|
||||||
ifdef CONFIG_RTE_ARCH_ARM_TUNE
|
ifdef CONFIG_RTE_ARCH_ARM_TUNE
|
||||||
MACHINE_CFLAGS += -mcpu=$(CONFIG_RTE_ARCH_ARM_TUNE)
|
MACHINE_CFLAGS += -mcpu=$(CONFIG_RTE_ARCH_ARM_TUNE:"%"=%)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user