Changeset f5b4fb9 in mainline
- Timestamp:
- 2007-07-04T14:22:16Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36c9234
- Parents:
- e70bfa5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
re70bfa5 rf5b4fb9 133 133 endif 134 134 135 ## Simple detection for the type of the host system 136 # 137 HOST = $(shell uname) 138 139 ## On Solaris, some utilities have slightly different names 140 # 141 ifeq ($(HOST),SunOS) 142 BINUTILS_PREFIX = "g" 143 else 144 BINUTILS_PREFIX = "" 145 endif 146 135 147 ## Toolchain configuration 136 148 # … … 139 151 CC = gcc 140 152 GCC = gcc 141 AS = as142 LD = ld143 OBJCOPY = objcopy144 OBJDUMP = objdump153 AS = $(BINUTILS_PREFIX)as 154 LD = $(BINUTILS_PREFIX)ld 155 OBJCOPY = $(BINUTILS_PREFIX)objcopy 156 OBJDUMP = $(BINUTILS_PREFIX)objdump 145 157 LIBDIR = /usr/lib 146 158 CFLAGS = $(GCC_CFLAGS) … … 161 173 CC = suncc 162 174 GCC = gcc 163 AS = as164 LD = ld165 OBJCOPY = objcopy166 OBJDUMP = objdump175 AS = $(BINUTILS_PREFIX)as 176 LD = $(BINUTILS_PREFIX)ld 177 OBJCOPY = $(BINUTILS_PREFIX)objcopy 178 OBJDUMP = $(BINUTILS_PREFIX)objdump 167 179 LIBDIR = /usr/lib 168 180 CFLAGS = $(SUNCC_CFLAGS) -
uspace/lib/libc/Makefile.toolchain
re70bfa5 rf5b4fb9 38 38 include $(LIBC_PREFIX)/arch/$(ARCH)/Makefile.inc 39 39 40 ## Simple detection of the host system 41 # 42 HOST = $(shell uname) 43 44 ## On Solaris, some utilities have different names 45 # 46 ifeq ($(HOST),SunOS) 47 BINUTILS_PREFIX = "g" 48 else 49 BINUTILS_PREFIX = "" 50 endif 51 40 52 ## Toolchain configuration 41 53 # … … 43 55 ifeq ($(COMPILER),gcc_native) 44 56 CC = gcc 45 AS = as46 LD = ld47 AR = ar48 OBJCOPY = objcopy49 OBJDUMP = objdump57 AS = $(BINUTILS_PREFIX)as 58 LD = $(BINUTILS_PREFIX)ld 59 AR = $(BINUTILS_PREFIX)ar 60 OBJCOPY = $(BINUTILS_PREFIX)objcopy 61 OBJDUMP = $(BINUTILS_PREFIX)objdump 50 62 endif 51 63 … … 67 79 OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump 68 80 endif 81
Note:
See TracChangeset
for help on using the changeset viewer.