63b8e74e82
SVN-Revision: 149
31 lines
543 B
Makefile
Executable file
31 lines
543 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
ifeq ($(strip $(TOPDIR)),)
|
|
TOPDIR := $(shell pwd)/../../../..
|
|
endif
|
|
|
|
|
|
PACKAGE := kmod-ipv6
|
|
|
|
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/ipv6/ipv6.o \
|
|
|
|
mv -f \
|
|
$(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel/net/ipv6/ipv6.o \
|
|
$(MY_INSTALL_DIR)/lib/modules/2.4.20/
|
|
|
|
rm -rf \
|
|
$(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel
|
|
|
|
|
|
clean:
|
|
|