numam-dpdk/config
Bruce Richardson d320fe56bd build: use version number from config file
Since we have the version number in a separate file at the root level,
we should not need to duplicate this in rte_version.h too. Best
approach here is to move the macros for specifying the year/month/etc.
parts from the version header file to the build config file - leaving
the other utility macros for e.g. printing the version string, where they
are.

For "make", this is done by having a little bit of awk parse the version
file and pass the results through to the preprocessor for the config
generation stage.

For "meson", this is done by parsing the version and adding it to the
standard dpdk_conf object.

In both cases, we need to append a large number - in this case "99",
previously 16 in original code - to the version number when we want to do
version number comparisons. Without this, the release version e.g. 19.05.0
will compare as less than it's RC's e.g. 19.05.0-rc4. With it, the
comparison is correct as "19.05.0.99 > 19.05.0-rc4.99".

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2019-03-27 09:43:47 +01:00
..
arm build: remove meson warning for Arm 2019-03-26 23:31:47 +01:00
ppc_64 build: set RTE_ARCH_64 based on pointer size 2019-02-26 18:34:28 +01:00
x86 build: set RTE_ARCH_64 based on pointer size 2019-02-26 18:34:28 +01:00
common_armv8a_linux mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
common_base build: use version number from config file 2019-03-27 09:43:47 +01:00
common_freebsd mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
common_linux mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-armv8a-linux-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-armv8a-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-armv8a-linuxapp-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-armv8a-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-bluefield-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-bluefield-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-dpaa2-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-dpaa2-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-dpaa-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-dpaa-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-stingray-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-stingray-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-thunderx-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-thunderx-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-xgene1-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-xgene1-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm-armv7a-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm-armv7a-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_i686-native-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_i686-native-linux-icc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_i686-native-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_i686-native-linuxapp-icc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_ppc_64-power8-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_ppc_64-power8-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-bsdapp-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-bsdapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-freebsd-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-freebsd-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linux-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linux-icc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linuxapp-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linuxapp-icc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_x32-native-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_x32-native-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
meson.build build: use version number from config file 2019-03-27 09:43:47 +01:00
rte_config.h build: use version number from config file 2019-03-27 09:43:47 +01:00