mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 18:44:22 +00:00
Merge "build: fix grouped targets on Make <= 4.2" into integration
This commit is contained in:
commit
e01bcfb02c
2 changed files with 8 additions and 1 deletions
|
@ -73,7 +73,7 @@ $(BUILD_DIR)/jmptbl.i: ../../$(PLAT_DIR)/jmptbl.i | $$(@D)/
|
|||
$(s)echo " PRE $@"
|
||||
$(q)$(ROMLIB_GEN) pre --output $@ --deps $(BUILD_DIR)/jmptbl.d $<
|
||||
|
||||
$(WRAPPER_SOURCES) &: $(BUILD_DIR)/jmptbl.i | $$(@D)/
|
||||
$(WRAPPER_SOURCES) $&: $(BUILD_DIR)/jmptbl.i | $$(@D)/
|
||||
$(s)echo " WRP $<"
|
||||
$(q)$(ROMLIB_GEN) genwrappers --bti=$(ENABLE_BTI) -b $(WRAPPER_DIR) $<
|
||||
|
||||
|
|
|
@ -21,6 +21,13 @@ directory-name = $(call decompat-path,$(dir $(call compat-path,$(1))))
|
|||
|
||||
escape-shell = '$(subst ','\'',$(1))'
|
||||
|
||||
#
|
||||
# The grouped-target symbol. Grouped targets are not supported on versions of
|
||||
# GNU Make <= 4.2, which was most recently packaged with Ubuntu 20.04.
|
||||
#
|
||||
|
||||
& := $(if $(filter grouped-target,$(.FEATURES)),&)
|
||||
|
||||
#
|
||||
# Upper-case a string value.
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue