mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2025-01-26 12:36:36 +00:00
Make:Diagnostic fail if no eval
To help diagnose make problems, we report an error if the make program used does not provide the $(eval ) make functionality. This will detect early versions of GNU make and other make programs. Change-Id: I0ebb0f63694cf0b04eaeb7ea1e9e172fb9770ce0
This commit is contained in:
parent
f1477d4ad8
commit
1670d9df4d
@ -28,6 +28,12 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
# Report an error if the eval make function is not available.
|
||||
$(eval eval_available := T)
|
||||
ifneq (${eval_available},T)
|
||||
$(error This makefile only works with a Make program that supports $$(eval))
|
||||
endif
|
||||
|
||||
# Some utility macros for manipulating awkward (whitespace) characters.
|
||||
blank :=
|
||||
space :=${blank} ${blank}
|
||||
|
Loading…
x
Reference in New Issue
Block a user