--- a/make/copy/Copy-java.base.gmk Tue Oct 09 07:33:15 2018 -0400
+++ b/make/copy/Copy-java.base.gmk Tue Oct 09 14:57:23 2018 -0700
@@ -128,7 +128,7 @@
POLICY_SRC_LIST := $(POLICY_SRC)
$(POLICY_DST): $(POLICY_SRC_LIST)
- $(MKDIR) -p $(@D)
+ $(call MakeTargetDir)
$(RM) $@ $@.tmp
$(foreach f,$(POLICY_SRC_LIST),$(CAT) $(f) >> $@.tmp;)
$(MV) $@.tmp $@
@@ -153,7 +153,7 @@
endif
$(DEF_POLICY_DST): $(DEF_POLICY_SRC_LIST)
- $(MKDIR) -p $(@D)
+ $(call MakeTargetDir)
$(RM) $@ $@.tmp
$(foreach f,$(DEF_POLICY_SRC_LIST),$(CAT) $(f) >> $@.tmp;)
$(MV) $@.tmp $@