From 87f70fb37c796ed101b564aa2a3f792ded8a1212 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Wed, 9 Oct 2024 17:57:17 -0400 Subject: [PATCH] sabrina: Migrate to sm1-common tree Change-Id: Iecca866b037e603241940dfb4687e33fb74ca732 --- BoardConfig.mk | 5 +---- device.mk | 2 +- extract-files.sh | 2 +- lineage.dependencies | 4 ++-- setup-makefiles.sh | 2 +- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index e1b9e49..40500ff 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -18,9 +18,6 @@ TARGET_BOOTLOADER_BOARD_NAME := sabrina ## DTB TARGET_DTB_NAME := sm1_s905d3_sabrina -## Kernel -TARGET_KERNEL_VARIANT_CONFIG := sabrina_defconfig - ## Kernel modules TARGET_KERNEL_EXT_MODULES := \ dhd-driver/bcmdhd.101.10.361.x @@ -47,7 +44,7 @@ WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/dhd/parameters/firmware_path" WPA_SUPPLICANT_VERSION := VER_0_8_X ## Include the common tree BoardConfig makefile -include device/amlogic/g12-common/BoardConfigCommon.mk +include device/amlogic/sm1-common/BoardConfigCommon.mk ## Include the proprietary BoardConfig makefile include vendor/google/sabrina/BoardConfigVendor.mk diff --git a/device.mk b/device.mk index a6c7a73..5e6c8e2 100644 --- a/device.mk +++ b/device.mk @@ -30,7 +30,7 @@ TARGET_AMLOGIC_SOC := sm1 include kernel/amlogic/kernel-modules/dhd-driver/firmware/wifi/wifi.mk ## Inherit from the common tree product makefile -$(call inherit-product, device/amlogic/g12-common/g12.mk) +$(call inherit-product, device/amlogic/sm1-common/sm1.mk) ## Inherit from the proprietary files makefile $(call inherit-product, vendor/google/sabrina/sabrina-vendor.mk) diff --git a/extract-files.sh b/extract-files.sh index 859e924..a97e8d9 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -34,7 +34,7 @@ fi set -e export DEVICE=sabrina -export DEVICE_COMMON=g12-common +export DEVICE_COMMON=sm1-common export TARGET_SOC=sm1 export VENDOR=google export VENDOR_BRAND="${VENDOR}" diff --git a/lineage.dependencies b/lineage.dependencies index ff93eb9..c338ed1 100644 --- a/lineage.dependencies +++ b/lineage.dependencies @@ -1,7 +1,7 @@ [ { - "repository": "android_device_amlogic_g12-common", - "target_path": "device/amlogic/g12-common" + "repository": "android_device_amlogic_sm1-common", + "target_path": "device/amlogic/sm1-common" }, { "repository": "android_hardware_amlogic_kernel-modules_dhd-driver", diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 55d7d65..ab84a9d 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -15,7 +15,7 @@ fi set -e export DEVICE=sabrina -export DEVICE_COMMON=g12-common +export DEVICE_COMMON=sm1-common export TARGET_SOC=sm1 export VENDOR=google export VENDOR_BRAND="${VENDOR}" -- 2.20.1