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

Ignore:
Timestamp:
2017-11-07T23:14:00Z (4 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master
Children:
cecba66e
Parents:
b8d4af4b
Message:

Mostly cleanup in uspace/Makefile.common.

  • Pass -MP in addition to -MD (also in boot and kernel).
  • Derive SLIBRARY and LSONAME from LIBRARY and (new)SOVERSION.
  • Removed include of version "makefile", which was unused.
  • Replaced OUTPUT and LOUTPUT with plural OUTPUTS, updated rules to match.
  • Moved things around so that first rule is after last variable assignment.
  • Removed '-n'(undesirable) and '-M'(redundant) from linker options.
  • Removed redundant rules at the tail of the file. GNU make bug #26893 seems to have been fixed years ago, and I can't reproduce any problem.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcut/update-from-master.sh

    rb8d4af4b rc631734  
    7979all-test: $(SELF_TESTS)
    8080
    81 test-libpcut-%: $(OUTPUT)
    82         $(LD) -n $(LFLAGS) -T $(LINKER_SCRIPT) -o $@ $(STARTUP) $^ $(OUTPUT) $(BASE_LIBS)
     81test-libpcut-%: $(LIBRARY).a
     82        $(LD) -n $(LFLAGS) -T $(LINKER_SCRIPT) -o $@ $(STARTUP) $^ $(LIBRARY).a $(BASE_LIBS)
    8383
    8484EOF_MAKEFILE_TAIL
Note: See TracChangeset for help on using the changeset viewer.