rename br2684.init to br2684.hotplug, normalize Makefile.
[openwrt.git] / package / kernel.mk
index def6643..39f9cc0 100644 (file)
@@ -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)
This page took 0.021518 seconds and 4 git commands to generate.