diff options
author | Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> | 2012-02-08 17:22:17 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-02-09 22:06:05 +0100 |
commit | 0edfb24c3840dd8df7cd69b8bdc3d4244334d2a1 (patch) | |
tree | 3dd02ee9d72e0394f430062aa5b43e42362b2dc8 /package/cmake | |
parent | a792668b58fd5f551f30d40c2352f16011f1f92f (diff) | |
download | buildroot-novena-0edfb24c3840dd8df7cd69b8bdc3d4244334d2a1.tar.gz buildroot-novena-0edfb24c3840dd8df7cd69b8bdc3d4244334d2a1.zip |
dependencies: check minimal make version early on
Although support/dependencies/dependencies.sh checks for the version of make,
this script doesn't get a chance to run if make encounters a syntax error as a
result of being too old.
For example, the following syntax is only supported from make 3.81 onwards:
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
include toolchain/toolchain-buildroot.mk
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
include toolchain/toolchain-external.mk
else ifeq ($(BR2_TOOLCHAIN_CTNG),y)
include toolchain/toolchain-crosstool-ng.mk
endif
This patch adds a check for the version of make very early in the Makefile, so
that old make versions are handled gracefully.
[Peter: simplify check]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/cmake')
0 files changed, 0 insertions, 0 deletions