#!/bin/sh

echo "Building all drivers now..."
echo "Please note that the TS-7200 (compatible with TS-7200, TS-7250, TS-7260, and TS-7300) need to be built natively on the TS-7300 due to the gcc toolchain used to originally compile that kernel."
sleep 5
cd TS-kernel-2.4
sh buildscript
cd ../TS-kernel-2.6
sh buildscript
echo "Done building! copying modules to current directory"
cd ..
cp TS-kernel-2.6/*.ko TS-kernel-2.4/*.o .
echo "Complete"
