vendor: minor fixes for Quectel EC20 and GPS support

Signed-off-by: hmz007 <hmz007@gmail.com>
master
hmz007 3 months ago
parent 432f38af1f
commit a911f1c723

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
ifneq ($(BUILD_WITH_EC20),true) ifneq ($(ENABLE_QUECTEL_GPS),true)
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)
# HAL module implemenation, not prelinked and stored in # HAL module implemenation, not prelinked and stored in

@ -15,7 +15,10 @@
# #
BUILD_WITH_EC20 ?= false BUILD_WITH_EC20 ?= false
ENABLE_QUECTEL_GPS ?= false
BOARD_HAS_GPS := false # See vendor/rockchip/common/phone/phone.mk
ifneq ($(filter true yes, $(BUILD_WITH_EC20)),)
BOARD_HAVE_DONGLE := false BOARD_HAVE_DONGLE := false
endif

@ -14,7 +14,7 @@
# limitations under the License. # limitations under the License.
# #
ifeq ($(BUILD_WITH_EC20),true) ifneq ($(filter true yes, $(BUILD_WITH_EC20)),)
ENABLE_VENDOR_LIBRIL := true ENABLE_VENDOR_LIBRIL := true
@ -42,7 +42,7 @@ PRODUCT_VENDOR_PROPERTIES += \
ro.com.android.dataroaming?=true ro.com.android.dataroaming?=true
ifeq ($(BOARD_HAS_GPS),true) ifeq ($(ENABLE_QUECTEL_GPS),true)
DEVICE_MANIFEST_FILE += vendor/quectel/ec20/config/gnss.xml DEVICE_MANIFEST_FILE += vendor/quectel/ec20/config/gnss.xml

@ -14,7 +14,7 @@
# limitations under the License. # limitations under the License.
# #
ifeq ($(BUILD_WITH_EC20),true) ifeq ($(ENABLE_QUECTEL_GPS),true)
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)

@ -14,7 +14,7 @@
# limitations under the License. # limitations under the License.
# #
ifeq ($(BUILD_WITH_EC20),true) ifneq ($(filter true yes, $(BUILD_WITH_EC20)),)
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)

@ -16,7 +16,7 @@ PRODUCT_PACKAGES += \
rild \ rild \
chat chat
ifneq ($(BUILD_WITH_EC20),true) ifeq ($(BUILD_WITH_EC20),false)
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
usb_dongle \ usb_dongle \
usb_modeswitch \ usb_modeswitch \

Loading…
Cancel
Save