Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1620 → Rev 1621

/shark/branches/xen/oslib/config.mk
4,7 → 4,7
AS = gcc
LD = ld
AR = ar
INCL = $(BASE)
INCL = -I$(BASE) -I$(BASE)/../libc/arch/$(ARCH)/include
LIB_PATH = $(BASE)/lib/
LIB_DIR = $(BASE)/lib
 
42,18 → 42,18
 
ifeq ($(findstring GCC4,$(COMPILER)) , GCC4)
# this options are for newer gcc4 compilers
C_OPT = -Wall -O -fno-builtin -nostdinc -Wno-attributes -Wno-pointer-sign -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ -I$(INCL)
C_OPT = -Wall -O -fno-builtin -nostdinc -Wno-attributes -Wno-pointer-sign -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ $(INCL)
endif
 
ifeq ($(findstring GCC3,$(COMPILER)) , GCC3)
C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ -I$(INCL)
C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ $(INCL)
endif
 
ifeq ($(findstring DJGPP,$(COMPILER)) , DJGPP)
C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ -I$(INCL)
C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ $(INCL)
endif
 
ASM_OPT = -x assembler-with-cpp $(CFG_OPT) -I$(INCL)
ASM_OPT = -x assembler-with-cpp $(CFG_OPT) $(INCL)
LINK_OPT = -Bstatic -Ttext $(MEM_START) -s -nostartfiles -nostdlib -L$(LIB_PATH)
 
MKDIR = mkdir