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

Commit 68559da0 authored by Joe Onorato's avatar Joe Onorato
Browse files

Install all host modules. Don't filter out ones tagged "optional"

Change-Id: I9b3a27a4c84ee748314e98603670eb939ae949e2
parent 3b4b11a4
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -511,9 +511,7 @@ endif
# All host modules that are not tagged with optional are automatically installed.
# All host modules that are not tagged with optional are automatically installed.
# Save the installed files in ALL_HOST_INSTALLED_FILES.
# Save the installed files in ALL_HOST_INSTALLED_FILES.
ifeq ($(LOCAL_IS_HOST_MODULE),true)
ifeq ($(LOCAL_IS_HOST_MODULE),true)
  ifneq ($(filter optional,$(LOCAL_MODULE_TAGS)),optional)
  ALL_HOST_INSTALLED_FILES += $(LOCAL_INSTALLED_MODULE)
  ALL_HOST_INSTALLED_FILES += $(LOCAL_INSTALLED_MODULE)
  endif
  ifneq ($(filter debug eng tests, $(LOCAL_MODULE_TAGS)),)
  ifneq ($(filter debug eng tests, $(LOCAL_MODULE_TAGS)),)
    $(warning $(LOCAL_MODULE_MAKEFILE): Module "$(LOCAL_MODULE)" has useless module tags: $(filter debug eng tests, $(LOCAL_MODULE_TAGS)). It will be installed anyway.)
    $(warning $(LOCAL_MODULE_MAKEFILE): Module "$(LOCAL_MODULE)" has useless module tags: $(filter debug eng tests, $(LOCAL_MODULE_TAGS)). It will be installed anyway.)
    LOCAL_MODULE_TAGS := $(filter-out debug eng tests, $(LOCAL_MODULE_TAGS))
    LOCAL_MODULE_TAGS := $(filter-out debug eng tests, $(LOCAL_MODULE_TAGS))