[b447a4]: kernel / setup.sh Maximize Restore History

Download this file

setup.sh    18 lines (15 with data), 476 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#! /bin/bash
# this script should be used to setup the leJOS krnel build environment prior
# to executing either of the build* scripts. It extracts the standard kernel
# and backports tree and then patches them for use with leJOS.
# Andy Shaw
# extract kernel source and patch it for use with lejos
tar xfa linux*.tgz
cd linux*
patch -p1 < ../lx.patch
cd ..
# do the same for the backported network modules
tar xfa backports*.bz2
cd backports*
patch -p1 < ../bp.patch
cd ..