mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-11 06:52:49 +02:00
33 lines
578 B
Plaintext
33 lines
578 B
Plaintext
|
#!/usr/bin/make -f
|
||
|
|
||
|
ifeq ($(strip $(TOPDIR)),)
|
||
|
TOPDIR := $(shell pwd)/../../../..
|
||
|
endif
|
||
|
|
||
|
|
||
|
PACKAGE := kmod-ppp-mppe-mppc
|
||
|
|
||
|
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/ppp_mppe_mppc.o \
|
||
|
|
||
|
mv -f \
|
||
|
$(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel/drivers/net/ppp_mppe_mppc.o \
|
||
|
$(MY_INSTALL_DIR)/lib/modules/2.4.20/
|
||
|
|
||
|
rm -rf \
|
||
|
$(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel
|
||
|
|
||
|
|
||
|
clean:
|
||
|
|
||
|
|