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

Commit c478ea3d authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Fix `m snod`

Whenever we're not loading all makefiles, we shouldn't be checking that
all the host packages exist.

Test: m snod
Change-Id: If1f817d855cbe329b83caee9fdd68c2cce55f02b
parent 066da0c5
Loading
Loading
Loading
Loading
+14 −13
Original line number Diff line number Diff line
@@ -1149,6 +1149,7 @@ ifeq (true|,$(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_ENFORCE_PACKAGES_EXIST)|$(fil
    $(INTERNAL_PRODUCT) includes redundant whitelist entries for nonexistant PRODUCT_PACKAGES)
endif

ifdef FULL_BUILD
  # Check to ensure that all modules in PRODUCT_HOST_PACKAGES exist
  #
  # Many host modules are Linux-only, so skip this check on Mac. If we ever have Mac-only modules,
@@ -1163,7 +1164,6 @@ ifneq ($(HOST_OS),darwin)
    endif
  endif

ifdef FULL_BUILD
  product_host_FILES := $(call host-installed-files,$(INTERNAL_PRODUCT))
  product_target_FILES := $(call product-installed-files, $(INTERNAL_PRODUCT))
  # WARNING: The product_MODULES variable is depended on by external files.
@@ -1254,6 +1254,7 @@ else
  # requested by the product, because we probably won't have rules
  # to build them.
  product_target_FILES :=
  product_host_FILES :=
endif

# TODO: Remove the 3 places in the tree that use ALL_DEFAULT_INSTALLED_MODULES