Changeset f6b5593 in mainline for kernel/Makefile
- Timestamp:
- 2009-09-21T11:53:03Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4098e38
- Parents:
- 2f636b6 (diff), c1618ed (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
r2f636b6 rf6b5593 54 54 ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \ 55 55 -fno-builtin -Wall -Wmissing-prototypes -Werror \ 56 -nostdlib -nostdinc \ 57 -wd170 56 -nostdlib -nostdinc -wd170 58 57 59 58 SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \ 60 59 -xnolib -xc99=all -features=extensions \ 61 60 -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 -pipe 62 66 63 67 LFLAGS = -M … … 109 113 endif 110 114 111 ifeq ($(COMPILER),icc_native) 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) 112 128 CC = icc 113 129 GCC = gcc … … 121 137 endif 122 138 123 ifeq ($(COMPILER),suncc _native)139 ifeq ($(COMPILER),suncc) 124 140 CC = suncc 125 141 GCC = gcc … … 134 150 endif 135 151 136 ifeq ($(COMPILER), gcc_cross)137 CC = $(TOOLCHAIN_DIR)/bin/$(TARGET)-gcc138 GCC = $(CC)139 AS = $( TOOLCHAIN_DIR)/bin/$(TARGET)-as140 LD = $( TOOLCHAIN_DIR)/bin/$(TARGET)-ld141 OBJCOPY = $( TOOLCHAIN_DIR)/bin/$(TARGET)-objcopy142 OBJDUMP = $( TOOLCHAIN_DIR)/bin/$(TARGET)-objdump143 LIBDIR = $(TOOLCHAIN_DIR)/lib144 CFLAGS = $( GCC_CFLAGS)152 ifeq ($(COMPILER),clang) 153 CC = clang 154 GCC = gcc 155 AS = $(BINUTILS_PREFIX)as 156 LD = $(BINUTILS_PREFIX)ld 157 OBJCOPY = $(BINUTILS_PREFIX)objcopy 158 OBJDUMP = $(BINUTILS_PREFIX)objdump 159 LIBDIR = /usr/lib 160 CFLAGS = $(CLANG_CFLAGS) 145 161 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 146 162 endif
Note:
See TracChangeset
for help on using the changeset viewer.