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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    rdd162f6 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
     
    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 \
    49         -fdebug-prefix-map=$(realpath $(ROOT_PATH))=.
     48        -fexec-charset=UTF-8 -finput-charset=UTF-8 -fno-common
    5049
    5150GCC_CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
     
    7776
    7877clean:
    79         rm -f $(RAW) $(MAP) $(ARCH_INCLUDE) $(GENARCH_INCLUDE)
     78        rm -f $(RAW) $(MAP)
    8079
    8180-include $(DEPENDS)
     
    110109endif
    111110
    112 depend: $(ARCH_INCLUDE) $(GENARCH_INCLUDE) $(PRE_DEPEND)
     111depend: $(PRE_DEPEND)
    113112
    114113$(COMPS).s: $(COMPS).zip
     
    129128include Makefile.initrd
    130129
    131 $(ARCH_INCLUDE) $(ARCH_INCLUDE)/%.h: arch/$(KARCH)/include/
    132         ln -sfn ../../$< $@
    133 
    134 $(GENARCH_INCLUDE) $(GENARCH_INCLUDE)/%.h: genarch/include/
    135         ln -sfn ../../$< $@
Note: See TracChangeset for help on using the changeset viewer.