1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-06 07:07:30 +02:00
openwrt-xburst/obsolete-buildroot/sources/openwrt/ipkg/kmod-tun/CONTROL/rules
mbm f0c8400658 various patches
nico:
 buildroot-20040825-kmodules.patch.txt
 buildroot-20040825-tcpdump.patch.txt
 buildroot-20040825-libpcap.patch.txt
 buildroot-20040825-libpthread.patch.txt
 buildroot-20040825-fprobe.patch.txt
 buildroot-20040825-pptp-client.patch.txt
twolife:
 iproute2.patch.txt


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2004-08-27 00:42:33 +00:00

32 lines
547 B
Makefile
Executable File

#!/usr/bin/make -f
ifeq ($(strip $(TOPDIR)),)
TOPDIR := $(shell pwd)/../../../..
endif
PACKAGE := kmod-tun
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/drivers/net/tun.o \
mv -f \
$(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel/drivers/net/tun.o \
$(MY_INSTALL_DIR)/lib/modules/2.4.20/
rm -rf \
$(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel
clean: