Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a3f9ad4 authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

Only build OTA package for non-A/B with recovery am: ec91a392

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15330197

Change-Id: I242695d7f5badab25f67d9ab050bb2269d1f47f0
parents e77d5844 ec91a392
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -4230,7 +4230,7 @@ else
  ifeq ($(TARGET_PRODUCT),sdk)
    build_ota_package := false
  endif
  # A target without a kernel or recovery fstab may be one of the following:
  # A target without a kernel may be one of the following:
  # - A generic target. In this case, the OTA package usually isn't built.
  #   PRODUCT_BUILD_GENERIC_OTA_PACKAGE may be set to true to force OTA package
  #   generation.
@@ -4245,10 +4245,10 @@ else
      ifeq ($(TARGET_NO_KERNEL),true)
        build_ota_package := false
      endif
    endif # INSTALLED_BOOTIMAGE_TARGET == ""
    ifeq ($(recovery_fstab),)
      build_ota_package := false
    endif
    endif # INSTALLED_BOOTIMAGE_TARGET == ""
  endif # PRODUCT_BUILD_GENERIC_OTA_PACKAGE

  # Set build_otatools_package, and allow opt-out below.