/trunk/kernel/kernel.config |
---|
16,7 → 16,7 |
@ "gcc_cross" GCC Cross-compiler |
@ "gcc_native" GCC Native |
@ "icc_native" ICC Native |
@ "sscc_native" Sun Studio C Compiler |
@ "suncc_native" Sun Studio C Compiler |
! [ARCH=amd64|ARCH=ia32|ARCH=ia32xen] COMPILER (choice) |
# Compiler |
28,7 → 28,7 |
# Compiler |
@ "gcc_cross" GCC Cross-compiler |
@ "gcc_native" GCC Native |
@ "sscc_native" Sun Studio C Compiler |
@ "suncc_native" Sun Studio C Compiler |
! [ARCH=sparc64] COMPILER (choice) |
# Compiler |
/trunk/kernel/Makefile |
---|
136,6 → 136,15 |
LIBDIR = /usr/lib |
endif |
ifeq ($(COMPILER),suncc_native) |
CC = suncc |
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 |