summaryrefslogtreecommitdiffstats
path: root/commands/build-all
blob: afb677fd7872d26eb4609ab4fc1c67fd210f496d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# This is a wrapper script that can be used to build all architectures.
#
# The script builds all architectures listed in kernel-versions.
# It expects to have the unpacked kernel packages for various arches in
# ../alpha, etc. modules.dep files have to be put in there too if they are
# not shipped in the .deb (varies)
#
# dpkg-cross must be installed, but you do not need a cross compiler.

set -e

for arch in $(cut -d ' ' -f 1 kernel-versions | grep -v ^# | uniq); do
	kernel-wedge build-arch "$arch"
done