Changeset 25443


Ignore:
Timestamp:
2011-02-10T04:52:39+01:00 (7 years ago)
Author:
nbd
Message:

kernel-headers: get rid of the arch/$(ARCH)/include/asm vs include/asm-$(ARCH) copying mess and stick to what the kernel is using

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/kernel-headers/Makefile

    r22723 r25443  
    4747                INSTALL_HDR_PATH="$(BUILD_DIR_TOOLCHAIN)/linux-dev/" \ 
    4848                headers_install 
    49         if [ -d $(HOST_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm ]; then \ 
    50                 mkdir -p $(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH); \ 
    51                 $(CP) \ 
    52                         $(HOST_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm/. \ 
    53                         $(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH)/; \ 
    54         fi 
    5549endef 
    5650 
    5751# XXX: the following is needed to build lzma-loader 
    58 define Host/Prepare/lzma 
     52ifneq ($(CONFIG_mips)$(CONFIG_mipsel),) 
     53  define Host/Prepare/lzma 
    5954        $(CP) \ 
    60                 $(HOST_BUILD_DIR)/include/asm-mips/asm.h \ 
    61                 $(HOST_BUILD_DIR)/include/asm-mips/regdef.h \ 
     55                $(HOST_BUILD_DIR)/arch/mips/include/asm/asm.h \ 
     56                $(HOST_BUILD_DIR)/arch/mips/include/asm/regdef.h \ 
    6257                $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/asm/ 
    63 endef 
     58  endef 
     59endif 
    6460 
    6561define Host/Prepare/post/cris 
Note: See TracChangeset for help on using the changeset viewer.