RM6785: Correct target device
Change-Id: Id8bb8f116f69e70bcc95d7b4505227de328039b8
diff --git a/Android.mk b/Android.mk
index 7938126..1f4af8c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -6,7 +6,7 @@
LOCAL_PATH := $(call my-dir)
-ifneq ($(filter RMX2001 RMX2151,$(TARGET_DEVICE)),)
+ifneq ($(filter RMX2001L1 RMX2151L1,$(TARGET_DEVICE)),)
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 7e65ee0..fef7bf5 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -5,5 +5,5 @@
#
PRODUCT_MAKEFILES := \
- $(LOCAL_DIR)/RMX2001.mk \
- $(LOCAL_DIR)/RMX2151.mk
+ $(LOCAL_DIR)/RMX2001L1.mk \
+ $(LOCAL_DIR)/RMX2151L1.mk
diff --git a/RMX2001.mk b/RMX2001.mk
deleted file mode 100644
index 95f86de..0000000
--- a/RMX2001.mk
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Copyright (C) 2022 The LeafOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-$(call inherit-product, device/realme/RM6785/leaf_RM6785.mk)
-
-PRODUCT_DEVICE := RMX2001
-PRODUCT_NAME := RMX2001
diff --git a/RMX2151.mk b/RMX2001L1.mk
similarity index 72%
copy from RMX2151.mk
copy to RMX2001L1.mk
index 832cde3..971bf00 100644
--- a/RMX2151.mk
+++ b/RMX2001L1.mk
@@ -5,5 +5,5 @@
#
$(call inherit-product, device/realme/RM6785/leaf_RM6785.mk)
-PRODUCT_DEVICE := RMX2151
-PRODUCT_NAME := RMX2151
+PRODUCT_DEVICE := RMX2001L1
+PRODUCT_NAME := RMX2001L1
diff --git a/RMX2001/BoardConfig.mk b/RMX2001L1/BoardConfig.mk
similarity index 100%
rename from RMX2001/BoardConfig.mk
rename to RMX2001L1/BoardConfig.mk
diff --git a/RMX2151.mk b/RMX2151L1.mk
similarity index 72%
rename from RMX2151.mk
rename to RMX2151L1.mk
index 832cde3..e5db04c 100644
--- a/RMX2151.mk
+++ b/RMX2151L1.mk
@@ -5,5 +5,5 @@
#
$(call inherit-product, device/realme/RM6785/leaf_RM6785.mk)
-PRODUCT_DEVICE := RMX2151
-PRODUCT_NAME := RMX2151
+PRODUCT_DEVICE := RMX2151L1
+PRODUCT_NAME := RMX2151L1
diff --git a/RMX2151/BoardConfig.mk b/RMX2151L1/BoardConfig.mk
similarity index 100%
rename from RMX2151/BoardConfig.mk
rename to RMX2151L1/BoardConfig.mk