diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-06-07 23:59:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-07 23:59:04 +0000 |
commit | de93bede138129886115d2597b32e34fb7b06ad4 (patch) | |
tree | 3ee1ce8112221d05f5491826997d52f45e75d726 /openwrt/target/linux/rules.mk | |
parent | ce3f164ea0ded53a181d04da5b12ec163e754046 (diff) | |
download | mtk-20170518-de93bede138129886115d2597b32e34fb7b06ad4.zip mtk-20170518-de93bede138129886115d2597b32e34fb7b06ad4.tar.gz mtk-20170518-de93bede138129886115d2597b32e34fb7b06ad4.tar.bz2 |
make ramdisk support generic, some cleanups
SVN-Revision: 3911
Diffstat (limited to 'openwrt/target/linux/rules.mk')
-rw-r--r-- | openwrt/target/linux/rules.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openwrt/target/linux/rules.mk b/openwrt/target/linux/rules.mk index 1b40ab7..166bfe2 100644 --- a/openwrt/target/linux/rules.mk +++ b/openwrt/target/linux/rules.mk @@ -9,7 +9,10 @@ endif MODULES_SUBDIR:=lib/modules/$(LINUX_VERSION) LINUX_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) -LINUX_DIR := $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) +ifeq ($(LINUX_NAME),) +LINUX_NAME:=linux-$(LINUX_VERSION) +endif +LINUX_DIR := $(LINUX_BUILD_DIR)/$(LINUX_NAME) LINUX_KERNEL:=$(LINUX_BUILD_DIR)/vmlinux LINUX_TARGET_DIR:=$(LINUX_BUILD_DIR)/root |