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

Commit c2daf507 authored by Ethan Chen's avatar Ethan Chen
Browse files

build: Set QCOM variants for non-QCOM_HARDWARE defined targets

* Nexus devices and others typically do not define the QCOM_HARDWARE
  flag, so the variant path should always default to the AOSP variant.
* Unconditionally set the variant to the AOSP HAL by default.

Change-Id: I714170897128f92718af266366cfcbf3136e8981
parent d7fdafb6
Loading
Loading
Loading
Loading
+11 −12
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
            TARGET_GLOBAL_CPPFLAGS += -DQCOM_DIRECTTRACK
        endif
    endif
endif

# Populate the qcom hardware variants in the project pathmap.
define qcom-set-path-variant
@@ -29,5 +30,3 @@ ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
$(call qcom-set-path-variant,GPS,gps)
$(call qcom-set-path-variant,MEDIA,media)
$(call qcom-set-path-variant,SENSORS,sensors)

endif