Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 52a7f238 in mainline


Ignore:
Timestamp:
2017-11-01T17:06:13Z (3 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
master
Children:
315130c
Parents:
a4e3976
Message:

Merge .disasm makefile rules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    ra4e3976 r52a7f238  
    293293-include $(DEPENDS)
    294294
    295 ifneq ($(BINARY),)
    296 $(BINARY).disasm: $(BINARY)
     295%.disasm: %
    297296ifeq ($(CONFIG_LINE_DEBUG),y)
    298297        $(OBJDUMP) -d -S $< > $@
     
    301300endif
    302301
     302ifneq ($(BINARY),)
    303303$(BINARY): $(LINKER_SCRIPT) $(OBJECTS) $(LIBS) $(BASE_LIBS)
    304304        $(LD) -n $(LFLAGS) -T $(LINKER_SCRIPT) -M -Map $(BINARY).map -o $(BINARY) $(OBJECTS) $(LIBS) $(BASE_LIBS)
     
    309309
    310310ifneq ($(SLIBRARY),)
    311 $(LOUTPUT).disasm: $(LOUTPUT)
    312 ifeq ($(CONFIG_LINE_DEBUG),y)
    313         $(OBJDUMP) -d -S $< > $@
    314 else
    315         $(OBJDUMP) -d $< > $@
    316 endif
    317 
    318311$(LOUTPUT): $(LARCHIVE) $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld
    319312        $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld $(LIB_LFLAGS) $(LARCHIVE) -o $@ -Map $(LOUTPUT).map
     
    342335        $(STRIP) $(TEST_OUTPUT)
    343336endif
    344 $(TEST_BINARY).disasm: $(TEST_BINARY)
    345 ifeq ($(CONFIG_LINE_DEBUG),y)
    346         $(OBJDUMP) -d -S $< > $@
    347 else
    348         $(OBJDUMP) -d $< > $@
    349 endif
    350337endif
    351338
Note: See TracChangeset for help on using the changeset viewer.