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:
px4dev
2013-02-23 22:01:00 -08:00
parent d24599931a
commit 6b215be739
6 changed files with 85 additions and 52 deletions
+3 -3
View File
@@ -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
################################################################################