mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 03:03:36 +08:00
Use indirect calls for all commands (echo, make, etc.)
Replace our dependency on xxd with a toolchain call, and implement the backend using objcopy evil for the default toolchain.
This commit is contained in:
+3
-3
@@ -100,9 +100,9 @@ MODULE_COMMAND_FILES := $(addprefix $(WORK_DIR)/builtin_commands/COMMAND.,$(MODU
|
||||
|
||||
.PHONY: $(MODULE_COMMAND_FILES)
|
||||
$(MODULE_COMMAND_FILES): $(GLOBAL_DEPS)
|
||||
@echo COMMAND $(word 2,$(subst ., ,$(notdir $(@))))
|
||||
@mkdir -p $@
|
||||
$(Q) touch $@
|
||||
@$(ECHO) COMMAND $(word 2,$(subst ., ,$(notdir $(@))))
|
||||
@$(MKDIR) -p $(dir $@)
|
||||
$(Q) $(TOUCH) $@
|
||||
endif
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user