File: build

package info (click to toggle)
iozone3 263-1
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 1,532 kB
  • ctags: 962
  • sloc: ansic: 21,239; makefile: 842; perl: 94; sh: 41
file content (12 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

arch=$(dpkg --print-installation-architecture)

if [ "$arch" = powerpc ]; then
  (cd src/current; make linux-powerpc)
elif [ "$arch" = sparc ]; then  
  (cd src/current; make linux-sparc)
else
  (cd src/current; make linux)
fi