From c15932777c9e7bf21000253180fe99e61c6dfa44 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sat, 22 Nov 2025 14:12:22 +0200 Subject: [PATCH] raviole: Remove dependency on release flags Change-Id: I8fedf840f238b6a9ede9364e4ede4ace660d581a --- device-oriole.mk | 35 ++--------------------------------- device-raven.mk | 35 ++--------------------------------- 2 files changed, 4 insertions(+), 66 deletions(-) diff --git a/device-oriole.mk b/device-oriole.mk index 8feef7a..b5c099e 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -14,15 +14,7 @@ # limitations under the License. # -ifdef RELEASE_GOOGLE_ORIOLE_RADIO_DIR -RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_ORIOLE_RADIO_DIR) -endif -RELEASE_GOOGLE_BOOTLOADER_ORIOLE_DIR ?= pdk# Keep this for pdk TODO: b/327119000 -RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_ORIOLE_DIR) -$(call soong_config_set,raviole_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_ORIOLE_DIR)) - - -TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_ORIOLE_VERSION) +TARGET_LINUX_KERNEL_VERSION := 6.1 TARGET_KERNEL_DEVICE := raviole TARGET_KERNEL_DIR := device/google/$(TARGET_KERNEL_DEVICE)-kernels/$(TARGET_LINUX_KERNEL_VERSION) TARGET_KERNEL_PLATFORM_SOURCE := google/gs-$(TARGET_LINUX_KERNEL_VERSION) @@ -110,7 +102,6 @@ PRODUCT_COPY_FILES += \ device/google/raviole/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf PRODUCT_PACKAGES += \ - $(RELEASE_PACKAGE_NFC_STACK) \ Tag \ android.hardware.nfc-service.st \ NfcOverlayOriole @@ -160,35 +151,13 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=1500 PRODUCT_PROPERTY_OVERRIDES += ro.odm.build.media_performance_class=31 # Increment the SVN for any official public releases -ifdef RELEASE_SVN_ORIOLE -TARGET_SVN ?= $(RELEASE_SVN_ORIOLE) -else -# Set this for older releases that don't use build flag -TARGET_SVN ?= 86 -endif - PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=$(TARGET_SVN) + ro.vendor.build.svn=06 # Set device family property for SMR builds PRODUCT_PROPERTY_OVERRIDES += \ ro.build.device_family=O6R4B9 -# Set build properties for SMR builds -ifeq ($(RELEASE_IS_SMR), true) - ifneq (,$(RELEASE_BASE_OS_ORIOLE)) - PRODUCT_BASE_OS := $(RELEASE_BASE_OS_ORIOLE) - endif -endif - -# Set build properties for EMR builds -ifeq ($(RELEASE_IS_EMR), true) - ifneq (,$(RELEASE_BASE_OS_ORIOLE)) - PRODUCT_PROPERTY_OVERRIDES += \ - ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_ORIOLE) - endif -endif - # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ ro.support_hide_display_cutout=true diff --git a/device-raven.mk b/device-raven.mk index ef005c6..a01d6fd 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -14,15 +14,7 @@ # limitations under the License. # -ifdef RELEASE_GOOGLE_RAVEN_RADIO_DIR -RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_RAVEN_RADIO_DIR) -endif -RELEASE_GOOGLE_BOOTLOADER_RAVEN_DIR ?= pdk# Keep this for pdk TODO: b/327119000 -RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_RAVEN_DIR) -$(call soong_config_set,raviole_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_RAVEN_DIR)) - - -TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_RAVEN_VERSION) +TARGET_LINUX_KERNEL_VERSION := 6.1 TARGET_KERNEL_DEVICE := raviole TARGET_KERNEL_DIR := device/google/$(TARGET_KERNEL_DEVICE)-kernels/$(TARGET_LINUX_KERNEL_VERSION) TARGET_KERNEL_PLATFORM_SOURCE := google/gs-$(TARGET_LINUX_KERNEL_VERSION) @@ -115,7 +107,6 @@ PRODUCT_COPY_FILES += \ device/google/raviole/nfc/libnfc-nci-raven.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf PRODUCT_PACKAGES += \ - $(RELEASE_PACKAGE_NFC_STACK) \ Tag \ android.hardware.nfc-service.st \ NfcOverlayRaven @@ -162,35 +153,13 @@ PRODUCT_SOONG_NAMESPACES += \ device/google/raviole # Increment the SVN for any official public releases -ifdef RELEASE_SVN_RAVEN -TARGET_SVN ?= $(RELEASE_SVN_RAVEN) -else -# Set this for older releases that don't use build flag -TARGET_SVN ?= 86 -endif - PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=$(TARGET_SVN) + ro.vendor.build.svn=06 # Set device family property for SMR PRODUCT_PROPERTY_OVERRIDES += \ ro.build.device_family=O6R4B9 -# Set build properties for SMR builds -ifeq ($(RELEASE_IS_SMR), true) - ifneq (,$(RELEASE_BASE_OS_RAVEN)) - PRODUCT_BASE_OS := $(RELEASE_BASE_OS_RAVEN) - endif -endif - -# Set build properties for EMR builds -ifeq ($(RELEASE_IS_EMR), true) - ifneq (,$(RELEASE_BASE_OS_RAVEN)) - PRODUCT_PROPERTY_OVERRIDES += \ - ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_RAVEN) - endif -endif - # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ ro.support_hide_display_cutout=true