Do not run "mkdir ./" in codebase root directly

Test: grep "mkdir -p \.\/" out/build-*.ninja
Bug: 185197550
Change-Id: Ic9568ff91006b0cf362d5b5b105eb25ea3e228a8
This commit is contained in:
Po Hu 2021-04-14 17:22:49 +08:00
parent 4cce23d7d5
commit e1e871db1a

View file

@ -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)