Add support for per-config ROMFS generation.

This commit is contained in:
px4dev
2013-01-16 23:40:40 -08:00
parent 963621c1f3
commit a7a1cc4625
30 changed files with 109 additions and 581 deletions

View File

@@ -103,8 +103,6 @@ $(NUTTX_ARCHIVES): $(ARCHIVE_DIR)/%.export: $(NUTTX_SRC) $(NUTTX_APPS)
$(Q) (cd $(NUTTX_SRC) && $(RMDIR) nuttx-export)
$(Q) make -C $(NUTTX_SRC) -r $(MQUIET) distclean
$(Q) (cd $(NUTTX_SRC)/tools && ./configure.sh $(platform)/$(configuration))
@echo Generating ROMFS for $(platform) XXX move this!
$(Q) make -C $(ROMFS_SRC) all
@echo %% Exporting NuttX for $(platform)
$(Q) make -C $(NUTTX_SRC) -r $(MQUIET) export
$(Q) mkdir -p $(dir $@)