]> git.droids-corp.org - dpdk.git/blobdiff - mk/target/generic/rte.vars.mk
mk: use -march option with recent Intel processors names
[dpdk.git] / mk / target / generic / rte.vars.mk
index 75a616abab9774f62a57af0f840289f7eed6a2cf..b31e426653043810c5784b0db29e1b484d32d751 100644 (file)
 #   - can define CPU_ASFLAGS variable (overriden by cmdline value) that
 #     overrides the one defined in arch.
 #
+ifneq ($(wildcard $(RTE_SDK)/mk/machine/$(RTE_MACHINE)/rte.vars.mk),)
 include $(RTE_SDK)/mk/machine/$(RTE_MACHINE)/rte.vars.mk
+else
+MACHINE_CFLAGS := -march=$(RTE_MACHINE)
+endif
 
 #
 # arch: