Changes in kernel/Makefile [69dc065:646b996] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
r69dc065 r646b996 54 54 ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \ 55 55 -fno-builtin -Wall -Wmissing-prototypes -Werror \ 56 -nostdlib -nostdinc -wd170 56 -nostdlib -nostdinc \ 57 -wd170 57 58 58 59 SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \ 59 60 -xnolib -xc99=all -features=extensions \ 60 61 -erroff=E_ZERO_SIZED_STRUCT_UNION 61 62 CLANG_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \63 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \64 -finput-charset=UTF-8 -fno-builtin -Wall -Wextra -Wno-unused-parameter \65 -Wmissing-prototypes -nostdlib -nostdinc -pipe66 62 67 63 LFLAGS = -M … … 113 109 endif 114 110 115 ifeq ($(COMPILER),gcc_cross) 116 CC = $(TOOLCHAIN_DIR)/bin/$(TARGET)-gcc 117 GCC = $(CC) 118 AS = $(TOOLCHAIN_DIR)/bin/$(TARGET)-as 119 LD = $(TOOLCHAIN_DIR)/bin/$(TARGET)-ld 120 OBJCOPY = $(TOOLCHAIN_DIR)/bin/$(TARGET)-objcopy 121 OBJDUMP = $(TOOLCHAIN_DIR)/bin/$(TARGET)-objdump 122 LIBDIR = $(TOOLCHAIN_DIR)/lib 123 CFLAGS = $(GCC_CFLAGS) 124 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 125 endif 126 127 ifeq ($(COMPILER),icc) 111 ifeq ($(COMPILER),icc_native) 128 112 CC = icc 129 113 GCC = gcc … … 137 121 endif 138 122 139 ifeq ($(COMPILER),suncc )123 ifeq ($(COMPILER),suncc_native) 140 124 CC = suncc 141 125 GCC = gcc … … 150 134 endif 151 135 152 ifeq ($(COMPILER), clang)153 CC = clang154 GCC = gcc155 AS = $( BINUTILS_PREFIX)as156 LD = $( BINUTILS_PREFIX)ld157 OBJCOPY = $( BINUTILS_PREFIX)objcopy158 OBJDUMP = $( BINUTILS_PREFIX)objdump159 LIBDIR = /usr/lib160 CFLAGS = $( CLANG_CFLAGS)136 ifeq ($(COMPILER),gcc_cross) 137 CC = $(TOOLCHAIN_DIR)/bin/$(TARGET)-gcc 138 GCC = $(CC) 139 AS = $(TOOLCHAIN_DIR)/bin/$(TARGET)-as 140 LD = $(TOOLCHAIN_DIR)/bin/$(TARGET)-ld 141 OBJCOPY = $(TOOLCHAIN_DIR)/bin/$(TARGET)-objcopy 142 OBJDUMP = $(TOOLCHAIN_DIR)/bin/$(TARGET)-objdump 143 LIBDIR = $(TOOLCHAIN_DIR)/lib 144 CFLAGS = $(GCC_CFLAGS) 161 145 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 162 146 endif
Note:
See TracChangeset
for help on using the changeset viewer.