diff options
author | px4dev <px4@purgatory.org> | 2013-02-23 14:33:53 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-02-23 22:01:00 -0800 |
commit | 6b215be739528eb20b50247a0a095d27092b3be4 (patch) | |
tree | 626241e09b180d4f8378a9512adf4832b188102c /makefiles/nuttx.mk | |
parent | d24599931a3d68586cc62eddd8ffc4e309ba1606 (diff) | |
download | px4-firmware-6b215be739528eb20b50247a0a095d27092b3be4.tar.gz px4-firmware-6b215be739528eb20b50247a0a095d27092b3be4.tar.bz2 px4-firmware-6b215be739528eb20b50247a0a095d27092b3be4.zip |
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.
Diffstat (limited to 'makefiles/nuttx.mk')
-rw-r--r-- | makefiles/nuttx.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/makefiles/nuttx.mk b/makefiles/nuttx.mk index bd2b98084..e71993916 100644 --- a/makefiles/nuttx.mk +++ b/makefiles/nuttx.mk @@ -27,7 +27,7 @@ GLOBAL_DEPS += $(NUTTX_CONFIG_HEADER) # # Use the linker script from the NuttX export # -LDSCRIPT = $(NUTTX_EXPORT_DIR)build/ld.script +LDSCRIPT += $(NUTTX_EXPORT_DIR)build/ld.script # # Add directories from the NuttX export to the relevant search paths @@ -39,6 +39,6 @@ LINK_DEPS += $(NUTTX_EXPORT_DIR)libs/libapps.a \ $(NUTTX_EXPORT_DIR)libs/libnuttx.a $(NUTTX_CONFIG_HEADER): $(NUTTX_ARCHIVE) - @echo %% Unpacking $(NUTTX_ARCHIVE) - $(Q) unzip -q -o -d $(WORK_DIR) $(NUTTX_ARCHIVE) - $(Q) touch $@ + @$(ECHO) %% Unpacking $(NUTTX_ARCHIVE) + $(Q) $(UNZIP) -q -o -d $(WORK_DIR) $(NUTTX_ARCHIVE) + $(Q) $(TOUCH) $@ |