aboutsummaryrefslogtreecommitdiff
path: root/tools/build_system
diff options
context:
space:
mode:
authorUsama Arif <usama.arif@arm.com>2020-09-02 16:27:42 +0100
committerjimqui01 <54316584+jimqui01@users.noreply.github.com>2020-09-08 12:50:49 +0100
commit742375576d92cab82d6340649f54f23229eb60e5 (patch)
tree219bd104ae423cbcb16c908a70d19af32dfd826f /tools/build_system
parentabfa1661623d92fae4aa32e6b966d559c3d0e8be (diff)
rules.mk: correct BUILD_PATH to allow build irrespective of format
Without this patch, the BUILD_PATH cannot end with a /. With this patch, the end of BUILD_PATH does not matter. BUILD_PATH can be automatically generated by build systems, so it is important that any format is supported. Change-Id: Iba306f8ac29a528fa6a7dc0a37e3c3b7ef7d0309 Signed-off-by: Usama Arif <usama.arif@arm.com>
Diffstat (limited to 'tools/build_system')
-rw-r--r--tools/build_system/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build_system/rules.mk b/tools/build_system/rules.mk
index d43fd11a..c8354a68 100644
--- a/tools/build_system/rules.mk
+++ b/tools/build_system/rules.mk
@@ -257,7 +257,7 @@ $(OBJ_DIR)/%.o: %.S | $$(@D)/
$(call show-action,AS,$<)
$(AS) -c $(CFLAGS) $(DEP_CFLAGS) $< -o $@
-$(BUILD_PATH)/%/:
+$(BUILD_PATH)%/:
$(call show-action,MD,$@)
$(MD) $@