Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2436 → Rev 2437

/trunk/kernel/kernel.config
13,8 → 13,9
! ARCH (choice)
 
# Compiler
@ "cross" Cross-compiler
@ "native" Native
@ "gcc_cross" GCC Cross-compiler
@ "gcc_native" GCC Native
@ "icc_native" ICC Native
! COMPILER (choice)
 
# CPU type
/trunk/kernel/Makefile
37,7 → 37,7
#
 
DEFS = -D$(ARCH) -DARCH=\"$(ARCH)\" -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" -DKERNEL
CFLAGS = -fno-builtin -fomit-frame-pointer -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/
CFLAGS = -fno-builtin -fomit-frame-pointer -Wall -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/
LFLAGS = -M
AFLAGS =
 
118,7 → 118,7
## Toolchain configuration
#
 
ifeq ($(COMPILER),native)
ifeq ($(COMPILER),gcc_native)
CC = gcc
AS = as
LD = ld
125,7 → 125,18
OBJCOPY = objcopy
OBJDUMP = objdump
LIBDIR = /usr/lib
else
endif
 
ifeq ($(COMPILER),icc_native)
CC = icc
AS = as
LD = ld
OBJCOPY = objcopy
OBJDUMP = objdump
LIBDIR = /usr/lib
endif
 
ifeq ($(COMPILER),gcc_cross)
CC = $(TOOLCHAIN_DIR)/bin/$(TARGET)-gcc
AS = $(TOOLCHAIN_DIR)/bin/$(TARGET)-as
LD = $(TOOLCHAIN_DIR)/bin/$(TARGET)-ld
/trunk/HelenOS.config
21,8 → 21,9
! [PLATFORM=mips32] MACHINE (choice)
 
# Compiler
@ "cross" Cross-compiler
@ "native" Native
@ "gcc_cross" GCC Cross-compiler
@ "gcc_native" GCC Native
@ "icc_native" ICC Native
! COMPILER (choice)
 
# Debug build