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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    r0798689 rdd162f6  
    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
     
    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 -fno-common \
     49        -fdebug-prefix-map=$(realpath $(ROOT_PATH))=.
    4950
    5051GCC_CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
     
    7677
    7778clean:
    78         rm -f $(RAW) $(MAP)
     79        rm -f $(RAW) $(MAP) $(ARCH_INCLUDE) $(GENARCH_INCLUDE)
    7980
    8081-include $(DEPENDS)
     
    109110endif
    110111
    111 depend: $(PRE_DEPEND)
     112depend: $(ARCH_INCLUDE) $(GENARCH_INCLUDE) $(PRE_DEPEND)
    112113
    113114$(COMPS).s: $(COMPS).zip
     
    128129include Makefile.initrd
    129130
     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.