From a04459a2a37d99cd44faf1e90195813fa75bb41d Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Thu, 10 Jan 2008 09:30:11 +0000 Subject: [PATCH] Define kernelversion if ext toolchain is used --- toolchain/kernel-headers/kernel-headers.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk index 81dcab1ac3..6cde8fba50 100644 --- a/toolchain/kernel-headers/kernel-headers.mk +++ b/toolchain/kernel-headers/kernel-headers.mk @@ -6,8 +6,14 @@ # by a 'make clean' so don't put anything sacred in here... # ############################################################# +ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) +DEFAULT_KERNEL_HEADERS:=$(strip $(subst ",, $(BR2_LINUX26_VERSION))) +#")) +else DEFAULT_KERNEL_HEADERS:=$(strip $(subst ",, $(BR2_DEFAULT_KERNEL_HEADERS))) #")) +endif + LINUX_HEADERS_SITE:=127.0.0.1 LINUX_HEADERS_SOURCE:=unspecified-kernel-headers LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-null -- 2.30.2