diff options
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg/kmod-sched/CONTROL')
-rw-r--r-- | obsolete-buildroot/sources/openwrt/ipkg/kmod-sched/CONTROL/control | 8 | ||||
-rwxr-xr-x | obsolete-buildroot/sources/openwrt/ipkg/kmod-sched/CONTROL/rules | 32 |
2 files changed, 40 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/kmod-sched/CONTROL/control b/obsolete-buildroot/sources/openwrt/ipkg/kmod-sched/CONTROL/control new file mode 100644 index 0000000000..f7669af842 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/kmod-sched/CONTROL/control @@ -0,0 +1,8 @@ +Package: kmod-sched +Priority: optional +Section: kernel +Version: 2.4.20-1 +Architecture: mipsel +Maintainer: Nico <nthill@free.fr> +Source: http://openwrt.org/cgi-bin/viewcvs.cgi/buildroot/ +Description: Traffic Control (TC) kernel modules diff --git a/obsolete-buildroot/sources/openwrt/ipkg/kmod-sched/CONTROL/rules b/obsolete-buildroot/sources/openwrt/ipkg/kmod-sched/CONTROL/rules new file mode 100755 index 0000000000..bf3e6b4af4 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/kmod-sched/CONTROL/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +ifeq ($(strip $(TOPDIR)),) +TOPDIR := $(shell pwd)/../../../.. +endif + + +PACKAGE := kmod-sched + +MY_INSTALL_DIR := /tmp/$(PACKAGE) + + +build: + + +install: + rm -rf $(MY_INSTALL_DIR) + install -m0755 -d $(MY_INSTALL_DIR)/lib/ + bzcat $(TOPDIR)/openwrt-kmodules.tar.bz2 | tar -C $(MY_INSTALL_DIR)/lib/ -xvf - \ + modules/2.4.20/kernel/net/sched/*.o \ + + install -m0755 -d $(MY_INSTALL_DIR)/lib/modules/2.4.20/sched + mv -f \ + $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel/net/sched/*.o \ + $(MY_INSTALL_DIR)/lib/modules/2.4.20/sched/ + + rm -rf \ + $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel + + +clean: + |