0011-chrome-installer-add-riscv64-as-one-of-the-target-ar.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From 0f699d5bcbfb5f97f2f78054bd9c0f8ac913f328 Mon Sep 17 00:00:00 2001
  2. From: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  3. Date: Fri, 17 Jun 2022 00:29:10 +0000
  4. Subject: [PATCH 11/68] chrome: installer: add riscv64 as one of the target
  5. arch
  6. Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  7. ---
  8. chrome/installer/linux/BUILD.gn | 6 ++++++
  9. 1 file changed, 6 insertions(+)
  10. diff --git a/chrome/installer/linux/BUILD.gn b/chrome/installer/linux/BUILD.gn
  11. index 820ea5f4b1ab..56dcf19a2cbd 100644
  12. --- a/chrome/installer/linux/BUILD.gn
  13. +++ b/chrome/installer/linux/BUILD.gn
  14. @@ -462,6 +462,8 @@ template("linux_package") {
  15. deb_arch = "mipsel"
  16. } else if (current_cpu == "mips64el") {
  17. deb_arch = "mips64el"
  18. + } else if (current_cpu == "riscv64") {
  19. + deb_arch = "riscv64"
  20. } else {
  21. assert(false, "Linux installer not configured for this architecture.")
  22. }
  23. @@ -511,6 +513,8 @@ template("linux_package") {
  24. rpm_arch = "mipsel"
  25. } else if (current_cpu == "mips64el") {
  26. rpm_arch = "mips64el"
  27. + } else if (current_cpu == "riscv64") {
  28. + rpm_arch = "riscv64"
  29. } else {
  30. assert(false, "Linux installer not configured for this architecture.")
  31. }
  32. @@ -564,6 +568,8 @@ template("linux_package") {
  33. snap_arch = "armhf"
  34. } else if (current_cpu == "arm64") {
  35. snap_arch = "arm64"
  36. + } else if (current_cpu == "riscv64") {
  37. + snap_arch = "riscv64"
  38. } else {
  39. assert(false, "Linux installer not configured for this architecture.")
  40. }
  41. --
  42. 2.30.2