gs101: exclude telephony if BOARD_WITHOUT_RADIO is true

Only include telephony packages if radio is available.

Bug: 182514710
Test: confirmed packages excluded
Signed-off-by: Jonglin Lee <jonglin@google.com>
Change-Id: I3d0c723f310230f3e54bf28422ca24f2be0ee3b6
This commit is contained in:
Jonglin Lee 2021-03-11 16:40:41 -08:00
parent d718a1d844
commit fcddc385ca

View file

@ -900,7 +900,11 @@ USE_RADIO_HAL_1_6 := true
#$(call inherit-product, vendor/google_devices/telephony/common/device-vendor.mk) #$(call inherit-product, vendor/google_devices/telephony/common/device-vendor.mk)
#$(call inherit-product, vendor/google_devices/gs101/proprietary/device-vendor.mk) #$(call inherit-product, vendor/google_devices/gs101/proprietary/device-vendor.mk)
ifneq ($(BOARD_WITHOUT_RADIO),true)
$(call inherit-product-if-exists, vendor/samsung_slsi/telephony/common/device-vendor.mk) $(call inherit-product-if-exists, vendor/samsung_slsi/telephony/common/device-vendor.mk)
endif
ifeq (,$(filter %_64,$(TARGET_PRODUCT))) ifeq (,$(filter %_64,$(TARGET_PRODUCT)))
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
else else