Changes in uspace/Makefile.common [8620b2f:4fb794c] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r8620b2f r4fb794c  
    4545#
    4646#   POSIX_COMPAT       set to 'y' to use POSIX compatibility layer
    47 #   NEEDS_MATH         set to 'y' to add implementation of mathematical functions
    4847#
    4948# Optionally, for a binary:
     
    110109LIBSOFTFLOAT_PREFIX = $(LIB_PREFIX)/softfloat
    111110LIBSOFTINT_PREFIX = $(LIB_PREFIX)/softint
    112 LIBMATH_PREFIX = $(LIB_PREFIX)/math
    113111
    114112LIBPOSIX_PREFIX = $(LIB_PREFIX)/posix
     
    133131
    134132LIBDRV_PREFIX = $(LIB_PREFIX)/drv
    135 LIBHOUND_PREFIX = $(LIB_PREFIX)/hound
    136 LIBPCM_PREFIX = $(LIB_PREFIX)/pcm
    137133LIBNET_PREFIX = $(LIB_PREFIX)/net
    138134LIBNIC_PREFIX = $(LIB_PREFIX)/nic
     
    142138
    143139LIBBITHENGE_PREFIX = $(LIB_PREFIX)/bithenge
    144 
    145 LIBHTTP_PREFIX = $(LIB_PREFIX)/http
    146 LIBURI_PREFIX = $(LIB_PREFIX)/uri
    147140
    148141ifeq ($(STATIC_NEEDED),y)
     
    229222endif
    230223
    231 # Prepare for POSIX before including platform specific stuff
     224## Setup platform configuration
     225#
     226
     227-include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.common
     228
     229## Compilation options
     230#
     231
     232JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py
     233
    232234ifeq ($(POSIX_COMPAT),y)
    233235        CFLAGS = -I$(LIBPOSIX_PREFIX)/include/posix  -I$(LIBPOSIX_PREFIX)/include/
    234         BASE_LIBS = $(LIBPOSIX_PREFIX)/libposixaslibc.a $(LIBPOSIX_PREFIX)/libc4posix.a $(LIBSOFTINT_PREFIX)/libsoftint.a
    235 endif
    236 
    237 # Do we need math?
    238 ifeq ($(NEEDS_MATH),y)
    239         BASE_LIBS += $(LIBMATH_PREFIX)/libmath.a
    240 endif
    241 
    242 ## Setup platform configuration
    243 #
    244 
    245 -include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.common
    246 
    247 ## Compilation options
    248 #
    249 
    250 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py
     236        LIBS += $(LIBPOSIX_PREFIX)/libposix.a
     237endif
    251238
    252239ifeq ($(COMPILER),gcc_cross)
    253         CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    254         DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    255 endif
    256 
    257 ifeq ($(COMPILER),gcc_helenos)
    258240        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    259241        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
Note: See TracChangeset for help on using the changeset viewer.