numam-dpdk/mk
Panu Matilainen 71f0ab1849 mk: rework gcc version detection to permit versions newer than 4.x
Separately comparing major and minor versions becomes seriously clumsy
when with major version changes, convert the entire version string into
a numeric value (ie 4.6.0 becomes 460 and 5.0.0 becomes 500) and use
that for comparisons, eliminate unnecessary negations while at it.
This makes the comparisons simpler, more obvious and makes gcc 5.0
naturally recognized at least as capable as newest 4.x.

This three-digit scheme would run into trouble if gcc ever went to
two-digit version segments, but that hasn't happened in the last 10+
years so it seems like a safe assumption.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2015-02-24 03:47:29 +01:00
..
arch mk: support x32 ABI 2015-02-18 20:26:33 +01:00
exec-env mk: fix linking with some linux toolchains 2014-11-29 21:17:01 +01:00
internal remove trailing whitespaces 2014-06-11 00:29:34 +02:00
machine mk: introduce IBM Power architecture 2014-11-26 21:50:09 +01:00
target/generic mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
toolchain mk: rework gcc version detection to permit versions newer than 4.x 2015-02-24 03:47:29 +01:00
rte.app.mk app/test: new reorder unit test 2015-02-18 16:52:05 +01:00
rte.bsdmodule.mk mk: fix bsd module build 2014-11-05 22:18:31 +01:00
rte.cpuflags.mk eal/ppc: cpu flag checks for IBM Power 2014-11-26 21:50:10 +01:00
rte.extapp.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extobj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: introduce rte.extsubdir.mk for projects with subdirectories 2014-05-16 13:28:21 +02:00
rte.extvars.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.gnuconfigure.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostapp.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.install.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.lib.mk mk: add DT_SONAME to shared libraries 2015-02-04 23:29:29 +01:00
rte.module.mk mk: pass CC option for kernel modules 2014-10-15 16:01:29 +02:00
rte.obj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkbuild.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkconfig.mk version: 1.7.0 2014-07-04 10:18:07 +02:00
rte.sdkdepdirs.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkdoc.mk mk: fix doc cleaning 2014-10-17 17:44:06 +02:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkinstall.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkroot.mk mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
rte.sdktest.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdktestall.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.shared.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.sharelib.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.subdir.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.vars.mk mk: fix link examples to combined library 2014-12-17 19:42:18 +01:00