#!/bin/sh #DEP:linux_src #DEP:linux_headers #DEP:linux NAME=drv_rt2570 CWD=`pwd` VERSION=cvs syn3_unpack rt2570*.tar.gz || exit 1 cd rt2570*/Module || exit 1 make -j1|| exit 1 mkdir -p /tmp/pkg/lib/modules/`uname -r`/extra || exit 1 cp *.ko /tmp/pkg/lib/modules/`uname -r`/extra || exit 1 cd $CWD syn3_makepkg /tmp/pkg $NAME $VERSION `arch` || exit 1