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

Changeset 44d1311 in mainline


Ignore:
Timestamp:
2012-07-15T15:12:12Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial
Children:
b497018
Parents:
afa7c17
Message:

Buildsystem: Create disasm files before striping binaries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    rafa7c17 r44d1311  
    251251
    252252ifneq ($(BINARY),)
    253 %.disasm: $(BINARY)
     253%.disasm: $(BINARY)_prestrip
    254254ifeq ($(CONFIG_LINE_DEBUG),y)
    255255        $(OBJDUMP) -d -S $< > $@
     
    258258endif
    259259
    260 $(BINARY): $(LINKER_SCRIPT) $(OBJECTS) $(LIBS) $(BASE_LIBS)
    261         $(LD) -n $(LFLAGS) -T $(LINKER_SCRIPT) -M -Map $(BINARY).map -o $(BINARY) $(OBJECTS) $(LIBS) $(BASE_LIBS)
     260.INTERMEDIATE: $(BINARY)_prestrip
     261
     262$(BINARY)_prestrip: $(LINKER_SCRIPT) $(OBJECTS) $(LIBS) $(BASE_LIBS)
     263        $(LD) -n $(LFLAGS) -T $(LINKER_SCRIPT) -M -Map $(BINARY).map -o $@ $(OBJECTS) $(LIBS) $(BASE_LIBS)
     264
     265$(BINARY): $(BINARY)_prestrip $(BINARY).disasm
     266        cp $(BINARY)_prestrip $@
    262267ifeq ($(CONFIG_STRIP_BINARIES),y)
    263268        $(STRIP) $(BINARY)
Note: See TracChangeset for help on using the changeset viewer.