OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../seabios/seabios.conf
  5. # Copyright (C) 2015 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. # Do not remove or insert anything
  15. # the package is too picky about its
  16. # build environment.
  17. export GCC_WRAPPER_REMOVE=""
  18. export GCC_WRAPPER_INSERT=""
  19. runconf=0
  20. seabios_config() {
  21. eval $MAKE defconfig V=1
  22. }
  23. seabios_make() {
  24. eval $MAKE V=1 HOSTCC=$HOSTCC CC=$CC AS=$AS LD=$LD STRIP=$STRIP
  25. }
  26. seabios_install() {
  27. mkdir -p $root/usr/share/seabios
  28. cp -a out/*.bin $root/usr/share/seabios/
  29. cp -a out/src/fw/*dsdt*.aml $root/usr/share/seabios/
  30. }
  31. hook_add premake 5 'seabios_config'
  32. hook_add premake 7 'seabios_make'
  33. makeopt=
  34. makeinstopt=
  35. hook_add postmake 5 'seabios_install'
  36. export CROSS_PREFIX="$arch_target-"