Re: [dpdk-dev] [PATCH v5 1/4] mk: introduce helper to check valid compiler argument

2019-03-21 Thread Phil Yang (Arm Technology China)
bject: [dpdk-dev] [PATCH v5 1/4] mk: introduce helper to check valid > compiler argument > > Introduce rte_cc_has_argument() Makefile helper to check a given argument is > support by the compiler. > > Example Usage: > > include $(RTE_SDK)/mk/rte.helper.mk > MACHINE_CF

[dpdk-dev] [PATCH v5 1/4] mk: introduce helper to check valid compiler argument

2019-02-24 Thread Jerin Jacob Kollanukkaran
Introduce rte_cc_has_argument() Makefile helper to check a given argument is support by the compiler. Example Usage: include $(RTE_SDK)/mk/rte.helper.mk MACHINE_CFLAGS += $(call rte_cc_has_argument, -mcpu=octeontx2) This would allow adding -mcpu=octeontx2 in MACHINE_CFLAGS if it is only supporte