2
0

refresh-pxe-roms.sh 981 B

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