]>
Commit | Line | Data |
---|---|---|
36d8d02d AW |
1 | #!/bin/bash |
2 | ||
3 | # PXE ROM build script | |
4 | # | |
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. | |
9 | # | |
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. | |
14 | # | |
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/>. | |
17 | # | |
18 | # Copyright (C) 2011 Red Hat, Inc. | |
19 | # Authors: Alex Williamson <[email protected]> | |
20 | # | |
21 | # Usage: Run from root of qemu tree | |
22 | # ./scripts/refresh-pxe-roms.sh | |
23 | ||
93a2b3c4 GH |
24 | targets="pxerom" |
25 | if test -x "$(which EfiRom 2>/dev/null)"; then | |
26 | targets="$targets efirom" | |
36d8d02d AW |
27 | fi |
28 | ||
93a2b3c4 GH |
29 | cd roms |
30 | make -j4 $targets || exit 1 | |
31 | make clean |