Add builtin command dependency on module makefiles, since they can also create / remove commands

This commit is contained in:
px4dev 2013-07-11 23:23:58 -07:00
parent 16cb0a793d
commit 95f59f521d
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ define BUILTIN_DEF
endef
# Don't generate until modules have updated their command files
$(BUILTIN_CSRC): $(GLOBAL_DEPS) $(MODULE_OBJS) $(BUILTIN_COMMAND_FILES)
$(BUILTIN_CSRC): $(GLOBAL_DEPS) $(MODULE_OBJS) $(MODULE_MKFILES) $(BUILTIN_COMMAND_FILES)
@$(ECHO) "CMDS: $@"
$(Q) $(ECHO) '/* builtin command list - automatically generated, do not edit */' > $@
$(Q) $(ECHO) '#include <nuttx/config.h>' >> $@