From: Bernhard Reutner-Fischer Date: Mon, 15 Jan 2007 17:34:58 +0000 (-0000) Subject: - andersee, why was this duplicated and hardcoded here? X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8564ba689d507b50ca09ebebe121304bc827cffc;p=buildroot.git - andersee, why was this duplicated and hardcoded here? --- diff --git a/target/device/x86/i386/linux26.mk b/target/device/x86/i386/linux26.mk index f6a33fadb1..2022200360 100644 --- a/target/device/x86/i386/linux26.mk +++ b/target/device/x86/i386/linux26.mk @@ -6,12 +6,15 @@ ifneq ($(filter $(TARGETS),linux26),) +ifeq ($(LINUX_HEADERS_VERSION),) # Version of Linux to download and then apply patches to DOWNLOAD_LINUX26_VERSION=2.6.19.1 # Version of Linux after applying any patches LINUX26_VERSION=2.6.19.1 - - +else +DOWNLOAD_LINUX26_VERSION=$(LINUX_HEADERS_VERSION) +LINUX26_VERSION=$(LINUX_HEADERS_VERSION) +endif LINUX26_SOURCE=linux-$(DOWNLOAD_LINUX26_VERSION).tar.bz2 LINUX26_BZCAT:=$(BZCAT)