build-rules.mk 463 B

12345678910111213141516171819
  1. #
  2. # Copyright (c) 2024, Arm Limited and Contributors. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. ifndef build-rules-mk
  7. build-rules-mk := $(lastword $(MAKEFILE_LIST))
  8. include $(dir $(build-rules-mk))common.mk
  9. include $(dir $(build-rules-mk))utilities.mk
  10. .SECONDEXPANSION:
  11. .SUFFIXES:
  12. %/:
  13. $(s)echo ' MD '$(call escape-shell,$(abspath $@))
  14. $(q)mkdir -p $(call escape-shell,$@)
  15. endif