You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
547 B
31 lines
547 B
#!/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:
|
|
|
|
|