Changes in boot/Makefile.build [4761f54:0798689] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    r4761f54 r0798689  
    3131include Makefile.common
    3232
    33 INCLUDES = -Igeneric/include -I$(ROOT_PATH)/abi/include
     33INCLUDES = -Igeneric/include -Iarch/$(KARCH)/include -Igenarch/include -I$(ROOT_PATH)/abi/include
    3434OPTIMIZATION = 3
    3535
     
    3737
    3838AFLAGS =
    39 LFLAGS = --fatal-warnings
     39LFLAGS = --fatal-warnings --warn-common
    4040
    4141# FIXME: This condition is a workaround for issue #693.
     
    4646COMMON_CFLAGS = $(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    4747        -ffreestanding -fno-builtin -nostdlib -nostdinc \
    48         -fexec-charset=UTF-8 -finput-charset=UTF-8
     48        -fexec-charset=UTF-8 -finput-charset=UTF-8 -fno-common
    4949
    5050GCC_CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
     
    7676
    7777clean:
    78         rm -f $(RAW) $(MAP) $(ARCH_INCLUDE) $(GENARCH_INCLUDE)
     78        rm -f $(RAW) $(MAP)
    7979
    8080-include $(DEPENDS)
     
    109109endif
    110110
    111 depend: $(ARCH_INCLUDE) $(GENARCH_INCLUDE) $(COMMON_HEADER_ARCH) $(PRE_DEPEND)
     111depend: $(PRE_DEPEND)
    112112
    113113$(COMPS).s: $(COMPS).zip
     
    128128include Makefile.initrd
    129129
    130 $(ARCH_INCLUDE): arch/$(KARCH)/include/
    131         ln -sfn ../../$< $@
    132 
    133 $(GENARCH_INCLUDE): genarch/include/
    134         ln -sfn ../../$< $@
    135 
    136 $(COMMON_HEADER_ARCH): $(COMMON_HEADER)
    137         ln -sfn ../../../$< $@
Note: See TracChangeset for help on using the changeset viewer.