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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    r0798689 r4761f54  
    3131include Makefile.common
    3232
    33 INCLUDES = -Igeneric/include -Iarch/$(KARCH)/include -Igenarch/include -I$(ROOT_PATH)/abi/include
     33INCLUDES = -Igeneric/include -I$(ROOT_PATH)/abi/include
    3434OPTIMIZATION = 3
    3535
     
    3737
    3838AFLAGS =
    39 LFLAGS = --fatal-warnings --warn-common
     39LFLAGS = --fatal-warnings
    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 -fno-common
     48        -fexec-charset=UTF-8 -finput-charset=UTF-8
    4949
    5050GCC_CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
     
    7676
    7777clean:
    78         rm -f $(RAW) $(MAP)
     78        rm -f $(RAW) $(MAP) $(ARCH_INCLUDE) $(GENARCH_INCLUDE)
    7979
    8080-include $(DEPENDS)
     
    109109endif
    110110
    111 depend: $(PRE_DEPEND)
     111depend: $(ARCH_INCLUDE) $(GENARCH_INCLUDE) $(COMMON_HEADER_ARCH) $(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.