X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/9e0015224dd9496dcbeef5c6eaa5af7232ff7b9b..7115f246b7947adecf5318ba6e8f2ff3fc8946d1:/package/kernel.mk diff --git a/package/kernel.mk b/package/kernel.mk index def66437c..39f9cc0c9 100644 --- a/package/kernel.mk +++ b/package/kernel.mk @@ -20,7 +20,10 @@ LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \ ) KERNEL_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) -LINUX_DIR := $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) +ifeq ($(LINUX_NAME),) +LINUX_NAME:=linux-$(LINUX_VERSION) +endif +LINUX_DIR := $(KERNEL_BUILD_DIR)/$(LINUX_NAME) KMOD_BUILD_DIR := $(KERNEL_BUILD_DIR)/linux-modules MODULES_DIR := $(KERNEL_BUILD_DIR)/modules/$(MODULES_SUBDIR)