pmt: Fixes the deficiencies in the update in the compilation system

This commit is contained in:
2024-08-02 09:02:39 +03:00
parent 851f0aaeb2
commit ed745369fa
4 changed files with 21 additions and 21 deletions

View File

@@ -85,13 +85,13 @@ gen-ndk-makefiles:
$(eval NDK_PROG = true) $(eval NDK_PROG = true)
$(call save-gen-vars) $(call save-gen-vars)
$(call gen-ndk-mfiles) $(call gen-ndk-mfiles)
$(P) "" @ $(P) ""
.PHONY: gen-makefiles .PHONY: gen-makefiles
gen-makefiles: gen-makefiles:
$(call save-gen-vars) $(call save-gen-vars)
$(call gen-mfiles) $(call gen-mfiles)
$(P) "" @ $(P) ""
.PHONY: update-ndk-makefiles .PHONY: update-ndk-makefiles
update-ndk-makefiles: update-ndk-makefiles:
@@ -115,12 +115,12 @@ clean-ndk-makefiles:
$(eval NDK_PROG = true) $(eval NDK_PROG = true)
$(call save-gen-vars) $(call save-gen-vars)
$(call clean-ndk-mfiles) $(call clean-ndk-mfiles)
$(P) "" @ $(P) ""
.PHONY: clean-makefiles .PHONY: clean-makefiles
clean-makefiles: clean-makefiles:
$(call save-gen-vars) $(call save-gen-vars)
$(call clean-mfiles) $(call clean-mfiles)
$(P) "" @ $(P) ""
# end # end

View File

@@ -21,11 +21,11 @@
include $(TOOLS)/save-gen-vars.mk include $(TOOLS)/save-gen-vars.mk
define clean-ndk-mfiles define clean-ndk-mfiles
$(hide)[ "$(UPDATE_MAKEFILES)" = "true" ] || printf " ------ Cleaning NDK Makefiles ------ \n" @ [ "$(UPDATE_MAKEFILES)" = "true" ] || printf " ------ Cleaning NDK Makefiles ------ \n"
$(hide)cat $(BASH_DIR)/clean-makefiles | $(BIN)/bash @ cat $(BASH_DIR)/clean-makefiles | $(BIN)/bash
endef endef
define clean-mfiles define clean-mfiles
$(hide)[ "$(UPDATE_MAKEFILES)" = "true" ] || printf " ------ Cleaning Makefiles ------ \n" @ [ "$(UPDATE_MAKEFILES)" = "true" ] || printf " ------ Cleaning Makefiles ------ \n"
$(hide)cat $(BASH_DIR)/clean-makefiles | $(BIN)/bash @ cat $(BASH_DIR)/clean-makefiles | $(BIN)/bash
endef endef

View File

@@ -21,11 +21,11 @@
include $(TOOLS)/save-gen-vars.mk include $(TOOLS)/save-gen-vars.mk
define gen-ndk-mfiles define gen-ndk-mfiles
$(hide)[ "$(UPDATE_MAKEFILES)" = "true" ] || printf " ------ Generating NDK Makefiles ------ \n" @ [ "$(UPDATE_MAKEFILES)" = "true" ] || printf " ------ Generating NDK Makefiles ------ \n"
$(hide)cat $(BASH_DIR)/gen-makefiles | $(BIN)/bash @ cat $(BASH_DIR)/gen-makefiles | $(BIN)/bash
endef endef
define gen-mfiles define gen-mfiles
$(hide)[ "$(UPDATE_MAKEFILES)" = "true" ] || printf " ------ Generating Makefiles ------ \n" @ [ "$(UPDATE_MAKEFILES)" = "true" ] || printf " ------ Generating Makefiles ------ \n"
$(hide)cat $(BASH_DIR)/gen-makefiles | $(BIN)/bash @ cat $(BASH_DIR)/gen-makefiles | $(BIN)/bash
endef endef

View File

@@ -15,12 +15,12 @@
# limitations under the License. # limitations under the License.
define save-gen-vars define save-gen-vars
$(hide)rm -f $(BASH_DIR)/additional-vars @ rm -f $(BASH_DIR)/additional-vars
$(call touch,$(BASH_DIR)/additional-vars) $(call touch,$(BASH_DIR)/additional-vars)
$(hide)echo "NDK_PROG=$(NDK_PROG)" >> $(BASH_DIR)/additional-vars @ echo "NDK_PROG=$(NDK_PROG)" >> $(BASH_DIR)/additional-vars
$(hide)echo "FORCE_GEN=$(FORCE_GEN)" >> $(BASH_DIR)/additional-vars @ echo "FORCE_GEN=$(FORCE_GEN)" >> $(BASH_DIR)/additional-vars
$(hide)echo "THIS_IS=$(THIS_IS)" >> $(BASH_DIR)/additional-vars @ echo "THIS_IS=$(THIS_IS)" >> $(BASH_DIR)/additional-vars
$(hide)echo "UPDATE_MAKEFILES=$(UPDATE_MAKEFILES)" >> $(BASH_DIR)/additional-vars @ echo "UPDATE_MAKEFILES=$(UPDATE_MAKEFILES)" >> $(BASH_DIR)/additional-vars
$(hide)echo "SOURCE_DIRNAME=$(SOURCE_DIRNAME)" >> $(BASH_DIR)/additional-vars @ echo "SOURCE_DIRNAME=$(SOURCE_DIRNAME)" >> $(BASH_DIR)/additional-vars
$(hide)echo "OUT_DIRNAME=$(OUT_DIRNAME)" >> $(BASH_DIR)/additional-vars @ echo "OUT_DIRNAME=$(OUT_DIRNAME)" >> $(BASH_DIR)/additional-vars
endef endef