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