Another rule to disassemble board objects
This commit is contained in:
parent
c7c79fc9b4
commit
0e6d5bc9dc
@ -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 New Issue
Block a user