Changeset 21957


Ignore:
Timestamp:
2010-06-26T22:44:48+02:00 (6 years ago)
Author:
nbd
Message:

remove support for building kernel headers with old kernels

File:
1 edited

Legend:

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

    r21843 r21957  
    3232endif 
    3333 
    34 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.18)),1) 
    35   LINUX_HAS_HEADERS_INSTALL:=y 
    36 endif 
     34LINUX_HAS_HEADERS_INSTALL:=y 
    3735 
    3836KMAKE := $(MAKE) -C $(HOST_BUILD_DIR) \ 
     
    4442        CONFIG_SHELL=$(BASH) 
    4543 
    46 ifneq ($(LINUX_HAS_HEADERS_INSTALL),) 
    47   define Host/Prepare/all 
     44define Host/Prepare/all 
    4845        mkdir -p $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr 
    4946        $(KMAKE) \ 
     
    5653                        $(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH)/; \ 
    5754        fi 
    58   endef 
    59 else 
    60   define Host/Prepare/all 
    61         $(KMAKE) include/linux/version.h include/asm 
    62         mkdir -p $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include 
    63         cp -pLR $(HOST_BUILD_DIR)/include/asm $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/ 
    64         cp -pLR $(HOST_BUILD_DIR)/include/asm-generic $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/ 
    65         cp -pLR $(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH) $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/ 
    66         cp -pLR $(HOST_BUILD_DIR)/include/linux $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/ 
    67   endef 
    68 endif 
     55endef 
    6956 
    7057# XXX: the following is needed to build lzma-loader 
Note: See TracChangeset for help on using the changeset viewer.