Changes in boot/Makefile.build [bf85e56:96521f2f] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    rbf85e56 r96521f2f  
    3131include Makefile.common
    3232
    33 INCLUDES = generic/include
     33INCLUDES = -Igeneric/include -I$(ROOT_PATH)/abi/include
    3434OPTIMIZATION = 3
    3535
    36 DEFS = -DRELEASE=$(RELEASE) "-DCOPYRIGHT=$(COPYRIGHT)" "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__
     36DEFS = -DBOOT -DRELEASE=$(RELEASE) "-DCOPYRIGHT=$(COPYRIGHT)" "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__
    3737
    38 GCC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     38LFLAGS = --fatal-warnings
     39
     40GCC_CFLAGS = $(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    3941        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
    4042        -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
     
    4345        -pipe
    4446
    45 ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     47ICC_CFLAGS = $(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    4648        -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wmissing-prototypes \
    4749        -Werror-implicit-function-declaration -wd170
    4850
    49 CLANG_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     51CLANG_CFLAGS = $(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    5052        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
    5153        -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
     
    7476        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    7577endif
     78
     79ifeq ($(COMPILER),gcc_helenos)
     80        CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)
     81        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
     82endif
     83
    7684
    7785ifeq ($(COMPILER),icc)
Note: See TracChangeset for help on using the changeset viewer.