From: Ulf Samuelsson Date: Thu, 10 Jan 2008 09:30:11 +0000 (-0000) Subject: Define kernelversion if ext toolchain is used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a04459a2a37d99cd44faf1e90195813fa75bb41d;p=buildroot.git Define kernelversion if ext toolchain is used --- 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