qapi: allow unions to contain further unions
[qemu/armbru.git] / scripts / refresh-pxe-roms.sh
blob90fc0b374dfe68f12257d7bdd363c4fb3a0fe70b
1 #!/bin/bash
3 # PXE ROM build script
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, see <http://www.gnu.org/licenses/>.
18 # Copyright (C) 2011 Red Hat, Inc.
19 # Authors: Alex Williamson <alex.williamson@redhat.com>
21 # Usage: Run from root of qemu tree
22 # ./scripts/refresh-pxe-roms.sh
24 targets="pxerom"
25 if test -x "$(which EfiRom 2>/dev/null)"; then
26 targets="$targets efirom"
29 cd roms
30 make -j4 $targets || exit 1
31 make clean