Changes in uspace/Makefile.common [e8c5c11:00d7e1b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
re8c5c11 r00d7e1b 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 112 LIBFB_PREFIX = $(LIB_PREFIX)/fb 108 113 LIBCLUI_PREFIX = $(LIB_PREFIX)/clui 114 LIBFMTUTIL_PREFIX = $(LIB_PREFIX)/fmtutil 115 116 LIBEXT2_PREFIX = $(LIB_PREFIX)/ext2 117 118 LIBUSB_PREFIX = $(LIB_PREFIX)/usb 119 LIBUSBHOST_PREFIX = $(LIB_PREFIX)/usbhost 120 LIBUSBDEV_PREFIX = $(LIB_PREFIX)/usbdev 121 LIBUSBHID_PREFIX = $(LIB_PREFIX)/usbhid 122 LIBUSBVIRT_PREFIX = $(LIB_PREFIX)/usbvirt 109 123 110 124 LIBDRV_PREFIX = $(LIB_PREFIX)/drv 111 LIBPACKET_PREFIX = $(LIB_PREFIX)/packet112 125 LIBNET_PREFIX = $(LIB_PREFIX)/net 126 LIBNIC_PREFIX = $(LIB_PREFIX)/nic 127 LIBMINIX_PREFIX = $(LIB_PREFIX)/minix 128 129 LIBSCSI_PREFIX = $(LIB_PREFIX)/scsi 113 130 114 131 ifeq ($(STATIC_NEEDED),y) … … 126 143 endif 127 144 145 # Build static whenever we use libusb because that library uses 146 # thread local variables 147 ifneq ($(findstring usb, $(LIBS)),) 148 STATIC_BUILD = y 149 endif 150 128 151 ifeq ($(STATIC_BUILD), y) 129 152 BASE_LIBS = $(LIBC_PREFIX)/libc.a $(LIBSOFTINT_PREFIX)/libsoftint.a … … 197 220 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py 198 221 222 ifeq ($(POSIX_COMPAT),y) 223 CFLAGS = -I$(LIBPOSIX_PREFIX) 224 LIBS += $(LIBPOSIX_PREFIX)/libposix.a 225 endif 226 199 227 ifeq ($(COMPILER),gcc_cross) 200 CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)228 CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS) 201 229 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 202 230 endif 203 231 204 232 ifeq ($(COMPILER),gcc_native) 205 CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)233 CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS) 206 234 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 207 235 endif 208 236 209 237 ifeq ($(COMPILER),icc) 210 CFLAGS = $(ICC_CFLAGS) $(EXTRA_CFLAGS)238 CFLAGS += $(ICC_CFLAGS) $(EXTRA_CFLAGS) 211 239 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 212 240 endif 213 241 214 242 ifeq ($(COMPILER),clang) 215 CFLAGS = $(CLANG_CFLAGS) $(EXTRA_CFLAGS)243 CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS) 216 244 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 217 245 endif
Note:
See TracChangeset
for help on using the changeset viewer.