diff --git a/core/definitions.mk b/core/definitions.mk index b15ce840ce..2951c05626 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -2765,7 +2765,7 @@ endef define _symlink-file $(3): $(1) @echo "Symlink: $$@ -> $(2)" - @mkdir -p $(dir $$@) + @mkdir -p $$(dir $$@) @rm -rf $$@ $(hide) ln -sf $(2) $$@ $(3): .KATI_SYMLINK_OUTPUTS := $(3)