Loading core/qcom_target.mk +10 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,12 @@ endef define ril-set-path-variant $(call project-set-path-variant,ril,TARGET_RIL_VARIANT,hardware/$(1)) endef define gps-hal-set-path-variant $(call project-set-path-variant,gps-hal,TARGET_GPS_HAL_PATH,$(1)) endef define loc-api-set-path-variant $(call project-set-path-variant,loc-api,TARGET_LOC_API_PATH,$(1)) endef ifeq ($(BOARD_USES_QCOM_HARDWARE),true) Loading Loading @@ -63,6 +69,8 @@ $(call qcom-set-path-variant,GPS,gps) $(call project-set-path,qcom-media,hardware/qcom/media-caf/$(QCOM_HARDWARE_VARIANT)) $(call qcom-set-path-variant,SENSORS,sensors) $(call ril-set-path-variant,ril) $(call loc-api-set-path-variant,vendor/qcom/opensource/location) $(call gps-hal-set-path-variant,hardware/qcom/gps) else $(call project-set-path,qcom-audio,hardware/qcom/audio/default) $(call qcom-set-path-variant,CAMERA,camera) Loading @@ -71,4 +79,6 @@ $(call qcom-set-path-variant,GPS,gps) $(call project-set-path,qcom-media,hardware/qcom/media/default) $(call qcom-set-path-variant,SENSORS,sensors) $(call ril-set-path-variant,ril) $(call loc-api-set-path-variant,vendor/qcom/opensource/location) $(call gps-hal-set-path-variant,hardware/qcom/gps) endif Loading
core/qcom_target.mk +10 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,12 @@ endef define ril-set-path-variant $(call project-set-path-variant,ril,TARGET_RIL_VARIANT,hardware/$(1)) endef define gps-hal-set-path-variant $(call project-set-path-variant,gps-hal,TARGET_GPS_HAL_PATH,$(1)) endef define loc-api-set-path-variant $(call project-set-path-variant,loc-api,TARGET_LOC_API_PATH,$(1)) endef ifeq ($(BOARD_USES_QCOM_HARDWARE),true) Loading Loading @@ -63,6 +69,8 @@ $(call qcom-set-path-variant,GPS,gps) $(call project-set-path,qcom-media,hardware/qcom/media-caf/$(QCOM_HARDWARE_VARIANT)) $(call qcom-set-path-variant,SENSORS,sensors) $(call ril-set-path-variant,ril) $(call loc-api-set-path-variant,vendor/qcom/opensource/location) $(call gps-hal-set-path-variant,hardware/qcom/gps) else $(call project-set-path,qcom-audio,hardware/qcom/audio/default) $(call qcom-set-path-variant,CAMERA,camera) Loading @@ -71,4 +79,6 @@ $(call qcom-set-path-variant,GPS,gps) $(call project-set-path,qcom-media,hardware/qcom/media/default) $(call qcom-set-path-variant,SENSORS,sensors) $(call ril-set-path-variant,ril) $(call loc-api-set-path-variant,vendor/qcom/opensource/location) $(call gps-hal-set-path-variant,hardware/qcom/gps) endif