Makefile 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. #
  2. # Makefile for meme purposes
  3. # You can use this, but it just runs lbmk commands.
  4. #
  5. # See docs/maintain/ and docs/git/ for information about the build system:
  6. # https://libreboot.org/docs/maintain/
  7. # https://libreboot.org/docs/build/
  8. #
  9. # Copyright (C) 2020, 2021, 2023 Leah Rowe <info@minifree.org>
  10. # Copyright (C) 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com>
  11. #
  12. # This program is free software: you can redistribute it and/or modify
  13. # it under the terms of the GNU General Public License as published by
  14. # the Free Software Foundation, either version 3 of the License, or
  15. # (at your option) any later version.
  16. #
  17. # This program is distributed in the hope that it will be useful,
  18. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. # GNU General Public License for more details.
  21. #
  22. # You should have received a copy of the GNU General Public License
  23. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  24. #
  25. .POSIX:
  26. #.PHONY: all check download modules ich9m-descriptors payloads roms release \
  27. # clean crossgcc-clean install-dependencies-ubuntu \
  28. # install-dependencies-debian install-dependencies-arch \
  29. # install-dependencies-void install-dependencies-fedora38 \
  30. # install-dependencies-parabola
  31. all: roms
  32. download:
  33. ./download all
  34. modules:
  35. ./build module all
  36. ich9m-descriptors:
  37. ./build descriptors ich9m
  38. payloads:
  39. ./build payload all
  40. roms:
  41. ./build boot roms all
  42. release:
  43. ./build release src
  44. ./build release roms
  45. clean:
  46. ./build clean cbutils
  47. ./build clean flashrom
  48. ./build clean ich9utils
  49. ./build clean payloads
  50. ./build clean seabios
  51. ./build clean grub
  52. ./build clean memtest86plus
  53. ./build clean rom_images
  54. ./build clean u-boot
  55. ./build clean bios_extract
  56. crossgcc-clean:
  57. ./build clean crossgcc
  58. install-dependencies-ubuntu:
  59. ./build dependencies ubuntu2004
  60. install-dependencies-debian:
  61. ./build dependencies debian
  62. install-dependencies-arch:
  63. ./build dependencies arch
  64. install-dependencies-void:
  65. ./build dependencies void
  66. install-dependencies-fedora38:
  67. ./build dependencies fedora38
  68. install-dependencies-parabola:
  69. ./build dependencies parabola