blob: 655e8c327748a78dc8a2efb4d47113be06d5cf50 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/usr/bin/env sh
if [ ! -d "/usr/src" ]; then
echo "/usr/src directory does not exist"
exit
fi
if [ ! -d "/usr/xsrc" ]; then
echo "/usr/xsrc directory does not exist"
exit
fi
if [ ! $(command -v cvs) ]; then
echo "cvs command not found"
exit
fi
cd /usr/xsrc ;
cvs update -dP -r netbsd-10 ;
cd /usr/src ;
cvs update -dP -r netbsd-10 ;
# Not sure if this will build X as well
cd /usr/src ;
/usr/src/build.sh -j 48 -c clang -O /usr/obj/ -T /usr/tools/ -x -X /usr/xsrc -U -u distribution kernel=GENERIC ;
|