aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-04-28 13:45:21 -0700
committerpx4dev <px4@purgatory.org>2013-04-28 13:45:21 -0700
commit2423c54e0e5500a8a9e2ef482b95b351a4a6071e (patch)
tree734ff4cb837324236601ef364ea9d6fa0776876f /Makefile
parent301b600b0a0fbb816b692f53224d1ab6c5958741 (diff)
downloadpx4-firmware-2423c54e0e5500a8a9e2ef482b95b351a4a6071e.tar.gz
px4-firmware-2423c54e0e5500a8a9e2ef482b95b351a4a6071e.tar.bz2
px4-firmware-2423c54e0e5500a8a9e2ef482b95b351a4a6071e.zip
Build the right config for IOv2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8f566a002..2a5abb741 100644
--- a/Makefile
+++ b/Makefile
@@ -140,9 +140,9 @@ ifneq ($(filter archives,$(MAKECMDGOALS)),)
endif
$(ARCHIVE_DIR)%.export: board = $(notdir $(basename $@))
-$(ARCHIVE_DIR)%.export: configuration = $(if $(filter $(board),px4io),io,nsh)
+$(ARCHIVE_DIR)%.export: configuration = $(if $(findstring px4io,$(board)),io,nsh)
$(NUTTX_ARCHIVES): $(ARCHIVE_DIR)%.export: $(NUTTX_SRC) $(NUTTX_APPS)
- @echo %% Configuring NuttX for $(board)
+ @echo %% Configuring NuttX for $(board)/$(configuration)
$(Q) (cd $(NUTTX_SRC) && $(RMDIR) nuttx-export)
$(Q) make -r -j1 -C $(NUTTX_SRC) -r $(MQUIET) distclean
$(Q) (cd $(NUTTX_SRC)tools && ./configure.sh $(board)/$(configuration))