From 19e09f99f856a3ae01862290e2695117de6d8447 Mon Sep 17 00:00:00 2001 From: Xin Li Date: Thu, 11 May 2023 13:36:32 -0700 Subject: [PATCH] Fix build for non-Lynx devices. radio.img should be target dependent and should not be used unconditionally. Test: ag/23177298 against aosp_barbet and aosp_bramble (L03400000960607158) Bug: 281935024 Change-Id: Ia436210a90dfcb477a19f44eae2412b5589d23fc --- self-extractors/google_devices/staging/Android.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/self-extractors/google_devices/staging/Android.mk b/self-extractors/google_devices/staging/Android.mk index c52fbf2..6142995 100644 --- a/self-extractors/google_devices/staging/Android.mk +++ b/self-extractors/google_devices/staging/Android.mk @@ -18,10 +18,9 @@ LOCAL_PATH := $(call my-dir) ifneq ($(filter lynx,$(TARGET_DEVICE)),) $(call add-radio-file,bootloader.img) + $(call add-radio-file,radio.img) endif -$(call add-radio-file-checked,radio.img,version-baseband) - ifneq ($(filter lynx,$(TARGET_DEVICE)),) include $(CLEAR_VARS) LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)