diff --git a/mk/host.mk b/mk/host.mk index 54e7e7ca096..e67aa27e56c 100644 --- a/mk/host.mk +++ b/mk/host.mk @@ -128,7 +128,7 @@ $$(HLIB$(2)_H_$(4))/$(CFG_RUSTLLVM_$(4)): \ $$(Q)cp $$< $$@ $$(HBIN$(2)_H_$(4))/: - mkdir -p $@ + mkdir -p $$@ endef diff --git a/mk/target.mk b/mk/target.mk index a3e5a5caff1..4bcb1004a08 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -84,7 +84,7 @@ endif endif $$(TLIB$(1)_T_$(2)_H_$(3))/: - mkdir -p $@ + mkdir -p $$@ endef