Changes in uspace/Makefile.common [4fb794c:8f2eca0] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r4fb794c r8f2eca0  
    222222endif
    223223
    224 ## Setup platform configuration
    225 #
    226 
    227 -include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.common
    228 
    229 ## Compilation options
    230 #
    231 
    232 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py
    233 
     224# Prepare for POSIX before including platform specific stuff
    234225ifeq ($(POSIX_COMPAT),y)
    235226        CFLAGS = -I$(LIBPOSIX_PREFIX)/include/posix  -I$(LIBPOSIX_PREFIX)/include/
    236         LIBS += $(LIBPOSIX_PREFIX)/libposix.a
    237 endif
     227        BASE_LIBS = $(LIBPOSIX_PREFIX)/libposixaslibc.a $(LIBPOSIX_PREFIX)/libc4posix.a $(LIBSOFTINT_PREFIX)/libsoftint.a
     228endif
     229
     230## Setup platform configuration
     231#
     232
     233-include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.common
     234
     235## Compilation options
     236#
     237
     238JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py
    238239
    239240ifeq ($(COMPILER),gcc_cross)
     241        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
     242        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
     243endif
     244
     245ifeq ($(COMPILER),gcc_helenos)
    240246        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    241247        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
Note: See TracChangeset for help on using the changeset viewer.