summaryrefslogtreecommitdiff
path: root/openwrt/package/kernel.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-21 02:16:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-21 02:16:37 +0000
commit4e24e35fa9083cfe57d7b1fe7b51c5f2f6515f18 (patch)
tree379281bd9ec7a759ee793459a5b441d36ccbb5be /openwrt/package/kernel.mk
parent99bc02a12be0b7725b2917e2b25c25e446f67717 (diff)
downloadmtk-20170518-4e24e35fa9083cfe57d7b1fe7b51c5f2f6515f18.zip
mtk-20170518-4e24e35fa9083cfe57d7b1fe7b51c5f2f6515f18.tar.gz
mtk-20170518-4e24e35fa9083cfe57d7b1fe7b51c5f2f6515f18.tar.bz2
build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
SVN-Revision: 4032
Diffstat (limited to 'openwrt/package/kernel.mk')
-rw-r--r--openwrt/package/kernel.mk31
1 files changed, 0 insertions, 31 deletions
diff --git a/openwrt/package/kernel.mk b/openwrt/package/kernel.mk
deleted file mode 100644
index 39f9cc0..0000000
--- a/openwrt/package/kernel.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-ifneq ($(DUMP),1)
-include $(BUILD_DIR)/kernel.mk
-
-KERNEL:=unknown
-ifneq (,$(findstring 2.4.,$(LINUX_VERSION)))
-KERNEL:=2.4
-LINUX_KMOD_SUFFIX=o
-endif
-ifneq (,$(findstring 2.6.,$(LINUX_VERSION)))
-KERNEL:=2.6
-LINUX_KMOD_SUFFIX=ko
-endif
-
-LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
- -e 's/mipsel/mips/' \
- -e 's/mipseb/mips/' \
- -e 's/powerpc/ppc/' \
- -e 's/sh[234]/sh/' \
- -e 's/armeb/arm/' \
-)
-
-KERNEL_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
-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)
-TARGET_MODULES_DIR := $(LINUX_TARGET_DIR)/$(MODULES_SUBDIR)
-endif