Another rule to disassemble board objects
This commit is contained in:
parent
c7c79fc9b4
commit
0e6d5bc9dc
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ $(OBJDIR)/%.o: %.S $(OBJDIR)/board.h
|
||||||
$(CC) $(AFLAGS) -MMD -c -o $@ $<
|
$(CC) $(AFLAGS) -MMD -c -o $@ $<
|
||||||
@$(FINALIZE_DEPENDENCY)
|
@$(FINALIZE_DEPENDENCY)
|
||||||
|
|
||||||
|
$(OBJDIR)/%.dis: $(OBJDIR)/%.o
|
||||||
|
$(call pretty,OBJDUMP,$@)
|
||||||
|
$Q$(OBJDUMP) -d $< > $@ || rm -f $@
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
-include $(wildcard $(OBJDIR)/*.d)
|
-include $(wildcard $(OBJDIR)/*.d)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue