summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-07 23:59:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-07 23:59:04 +0000
commitde93bede138129886115d2597b32e34fb7b06ad4 (patch)
tree3ee1ce8112221d05f5491826997d52f45e75d726 /openwrt/package
parentce3f164ea0ded53a181d04da5b12ec163e754046 (diff)
downloadmtk-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/package')
-rwxr-xr-xopenwrt/package/base-files/aruba-2.6/etc/init.d/S00aruba4
-rwxr-xr-xopenwrt/package/base-files/aruba-2.6/init3
-rw-r--r--openwrt/package/kernel.mk5
3 files changed, 4 insertions, 8 deletions
diff --git a/openwrt/package/base-files/aruba-2.6/etc/init.d/S00aruba b/openwrt/package/base-files/aruba-2.6/etc/init.d/S00aruba
deleted file mode 100755
index 9836de4..0000000
--- a/openwrt/package/base-files/aruba-2.6/etc/init.d/S00aruba
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-mount none /proc -t proc
-mount_root failsafe
-mount -o remount,rw /dev/root /
diff --git a/openwrt/package/base-files/aruba-2.6/init b/openwrt/package/base-files/aruba-2.6/init
deleted file mode 100755
index 8ca48a0..0000000
--- a/openwrt/package/base-files/aruba-2.6/init
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/ash
-mount none /dev -t devfs
-exec /bin/busybox init
diff --git a/openwrt/package/kernel.mk b/openwrt/package/kernel.mk
index def6643..39f9cc0 100644
--- a/openwrt/package/kernel.mk
+++ b/openwrt/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)