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

Changeset c631734 in mainline for boot/Makefile.build


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
  • boot/Makefile.build

    rb8d4af4b rc631734  
    9393
    9494%.o: %.s | depend
    95         $(CC_JOB) -c -MD $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__
     95        $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__
    9696
    9797%.o: %.S | depend
    98         $(CC_JOB) -c -MD $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__
     98        $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__
    9999
    100100%.o: %.c | depend
    101         $(CC_JOB) -c -MD $(DEFS) $(CFLAGS)
     101        $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS)
    102102
    103103depend: $(PRE_DEPEND)
Note: See TracChangeset for help on using the changeset viewer.