forked from Archive/PX4-Autopilot
Add builtin command dependency on module makefiles, since they can also create / remove commands
This commit is contained in:
parent
16cb0a793d
commit
95f59f521d
|
@ -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>' >> $@
|
||||
|
|
Loading…
Reference in New Issue