mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-07 21:33:54 +00:00

This change centralises the logic that disables the default suffix rules that Make provides. These rules are a hold-over from legacy standards of Make, and occasionally conflict with our rules. Change-Id: I9e023edbc01b5ae48a96fa1078d0b81faabb0cb9 Signed-off-by: Chris Kay <chris.kay@arm.com>
19 lines
463 B
Makefile
19 lines
463 B
Makefile
#
|
|
# Copyright (c) 2024, Arm Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
ifndef build-rules-mk
|
|
build-rules-mk := $(lastword $(MAKEFILE_LIST))
|
|
|
|
include $(dir $(build-rules-mk))common.mk
|
|
include $(dir $(build-rules-mk))utilities.mk
|
|
|
|
.SECONDEXPANSION:
|
|
.SUFFIXES:
|
|
|
|
%/:
|
|
$(s)echo ' MD '$(call escape-shell,$(abspath $@))
|
|
$(q)mkdir -p $(call escape-shell,$@)
|
|
endif
|