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

Commit b8df4f86 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Ethan Chen
Browse files

build: qcom: Set the correct project path for device-specific cameras

Change-Id: I37696dae2c05c4e9f4fc824fbba63af47483ea17
parent 04af492a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -25,7 +25,11 @@ define qcom-set-path-variant
$(call project-set-path-variant,qcom-$(2),TARGET_QCOM_$(1)_VARIANT,hardware/qcom/$(2))
endef
$(call qcom-set-path-variant,AUDIO,audio)
ifeq ($(USE_DEVICE_SPECIFIC_CAMERA),true)
$(call project-set-path,qcom-camera,$(TARGET_DEVICE_DIR)/camera)
else
$(call qcom-set-path-variant,CAMERA,camera)
endif
$(call qcom-set-path-variant,DISPLAY,display)
$(call qcom-set-path-variant,GPS,gps)
$(call qcom-set-path-variant,MEDIA,media)