Browse Source

- andersee, why was this duplicated and hardcoded here?

Bernhard Reutner-Fischer 18 years ago
parent
commit
8564ba689d
1 changed files with 5 additions and 2 deletions
  1. 5 2
      target/device/x86/i386/linux26.mk

+ 5 - 2
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)