Changes in uspace/Makefile.common [79ae36dd:2d2b8e6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
r79ae36dd r2d2b8e6 44 44 # EXTRA_CLEAN additional cleanup targets 45 45 # 46 # POSIX_COMPAT set to 'y' to use POSIX compatibility layer 47 # 46 48 # Optionally, for a binary: 47 49 # STATIC_NEEDED set to 'y' for init binaries, will build statically … … 104 106 LIBSOFTINT_PREFIX = $(LIB_PREFIX)/softint 105 107 108 LIBPOSIX_PREFIX = $(LIB_PREFIX)/posix 109 106 110 LIBBLOCK_PREFIX = $(LIB_PREFIX)/block 107 111 LIBFS_PREFIX = $(LIB_PREFIX)/fs 108 112 LIBCLUI_PREFIX = $(LIB_PREFIX)/clui 109 110 LIBEXT2_PREFIX = $(LIB_PREFIX)/ext2111 112 LIBUSB_PREFIX = $(LIB_PREFIX)/usb113 LIBUSBHOST_PREFIX = $(LIB_PREFIX)/usbhost114 LIBUSBDEV_PREFIX = $(LIB_PREFIX)/usbdev115 LIBUSBHID_PREFIX = $(LIB_PREFIX)/usbhid116 LIBUSBVIRT_PREFIX = $(LIB_PREFIX)/usbvirt117 113 118 114 LIBDRV_PREFIX = $(LIB_PREFIX)/drv … … 134 130 endif 135 131 136 # Build static whenever we use libusb because that library uses137 # thread local variables138 ifneq ($(findstring usb, $(LIBS)),)139 STATIC_BUILD = y140 endif141 142 132 ifeq ($(STATIC_BUILD), y) 143 133 BASE_LIBS = $(LIBC_PREFIX)/libc.a $(LIBSOFTINT_PREFIX)/libsoftint.a … … 211 201 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py 212 202 203 ifeq ($(POSIX_COMPAT),y) 204 CFLAGS = -I$(LIBPOSIX_PREFIX) 205 LIBS += $(LIBPOSIX_PREFIX)/libposix.a 206 endif 207 213 208 ifeq ($(COMPILER),gcc_cross) 214 CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)209 CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS) 215 210 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 216 211 endif 217 212 218 213 ifeq ($(COMPILER),gcc_native) 219 CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)214 CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS) 220 215 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 221 216 endif 222 217 223 218 ifeq ($(COMPILER),icc) 224 CFLAGS = $(ICC_CFLAGS) $(EXTRA_CFLAGS)219 CFLAGS += $(ICC_CFLAGS) $(EXTRA_CFLAGS) 225 220 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 226 221 endif 227 222 228 223 ifeq ($(COMPILER),clang) 229 CFLAGS = $(CLANG_CFLAGS) $(EXTRA_CFLAGS)224 CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS) 230 225 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 231 226 endif
Note:
See TracChangeset
for help on using the changeset viewer.