summaryrefslogtreecommitdiff
authorXindong Xu <xindong.xu@amlogic.com>2020-11-10 06:19:15 (GMT)
committer Tellen Yu <tellen.yu@amlogic.com>2020-11-12 02:10:57 (GMT)
commit81331a1bbc6ffaa65f3dd77f06c76d934591e552 (patch)
treebfae8b7c0913fb6bf503d16763c42d18dbe675b7
parent54dc35c8d287d9214f83c93f930a47c37eb0e5b7 (diff)
downloadcommon-81331a1bbc6ffaa65f3dd77f06c76d934591e552.zip
common-81331a1bbc6ffaa65f3dd77f06c76d934591e552.tar.gz
common-81331a1bbc6ffaa65f3dd77f06c76d934591e552.tar.bz2
device: delete useless code & change file path [1/6]
PD#SWPL-36570 Problem: some files don't need now Solution: delete useless code & change file path Verify: newton Change-Id: I39149a5c56585b54325ca12647639307230c063c Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
Diffstat
-rw-r--r--core_amlogic.mk7
-rw-r--r--factory.mk2
-rw-r--r--galilei/upgrade/aml_emmc_logic_table.xml18
-rw-r--r--keyboards/Vendor_0508_Product_0110.idc (renamed from Vendor_0508_Product_0110.idc)0
-rw-r--r--keyboards/Vendor_1d5a_Product_c082.idc (renamed from Vendor_1d5a_Product_c082.idc)0
-rw-r--r--keyboards/Vendor_7545_Product_0180.idc (renamed from Vendor_7545_Product_0180.idc)0
-rwxr-xr-xscripts/ota_amlogic.py (renamed from ota_amlogic.py)0
-rwxr-xr-xscripts/quick_compile.sh (renamed from quick_compile.sh)0
-rwxr-xr-xscripts/releasetools.py (renamed from releasetools.py)0
9 files changed, 5 insertions, 22 deletions
diff --git a/core_amlogic.mk b/core_amlogic.mk
index 0184aa4..b6940a2 100644
--- a/core_amlogic.mk
+++ b/core_amlogic.mk
@@ -46,6 +46,7 @@ PRODUCT_PACKAGES += \
LauncherCustomization
endif
+TARGET_RELEASETOOLS_EXTENSIONS := device/amlogic/common/scripts
TARGET_RECOVERY_PIXEL_FORMAT := BGRA_8888
TARGET_RECOVERY_UI_LIB += libamlogic_ui librecovery_amlogic
TARGET_RECOVERY_UI_LIB += \
@@ -264,9 +265,9 @@ endif
#Bluetooth idc config file
PRODUCT_COPY_FILES += \
- device/amlogic/common/Vendor_1d5a_Product_c082.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/Vendor_1d5a_Product_c082.idc \
- device/amlogic/common/Vendor_7545_Product_0180.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/Vendor_7545_Product_0180.idc \
- device/amlogic/common/Vendor_0508_Product_0110.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/Vendor_0508_Product_0110.idc
+ device/amlogic/common/keyboards/Vendor_1d5a_Product_c082.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/Vendor_1d5a_Product_c082.idc \
+ device/amlogic/common/keyboards/Vendor_7545_Product_0180.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/Vendor_7545_Product_0180.idc \
+ device/amlogic/common/keyboards/Vendor_0508_Product_0110.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/Vendor_0508_Product_0110.idc
#########################################################################
#
diff --git a/factory.mk b/factory.mk
index 29aa3b3..d150bd4 100644
--- a/factory.mk
+++ b/factory.mk
@@ -600,7 +600,7 @@ $(AMLOGIC_OTA_PACKAGE_TARGET): $(AML_TARGET).zip $(BUILT_ODMIMAGE_TARGET)
mkdir -p $(AML_TARGET)/IMAGES/
cp $(PRODUCT_OUT)/super_empty_all.img $(AML_TARGET)/IMAGES/
$(hide) PATH=$(foreach p,$(INTERNAL_USERIMAGES_BINARY_PATHS),$(p):)$$PATH MKBOOTIMG=$(MKBOOTIMG) \
- ./device/amlogic/common/ota_amlogic.py -v \
+ ./device/amlogic/common/scripts/ota_amlogic.py -v \
--block \
--extracted_input_target_files $(patsubst %.zip,%,$(BUILT_TARGET_FILES_PACKAGE)) \
-p $(HOST_OUT) \
diff --git a/galilei/upgrade/aml_emmc_logic_table.xml b/galilei/upgrade/aml_emmc_logic_table.xml
deleted file mode 100644
index ef844ba..0000000
--- a/galilei/upgrade/aml_emmc_logic_table.xml
+++ b/dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="GB2312" ?>
-<!--//Copy the length from /partitions of your dts-->
-<Partition_Info>
-<Part PartitionName="logo" FileSystem="raw" Length="0x800000"/>
-<Part PartitionName="recovery" FileSystem="raw" Length="0x1800000"/>
-<Part PartitionName="misc" FileSystem="raw" Length="0x800000"/>
-<Part PartitionName="dtbo" FileSystem="raw" Length="0x800000"/>
-<Part PartitionName="cri_data" FileSystem="raw" Length="0x800000"/>
-<Part PartitionName="param" FileSystem="ext4" Length="0x1000000"/>
-<Part PartitionName="boot" FileSystem="raw" Length="0x1000000"/>
-<Part PartitionName="rsv" FileSystem="raw" Length="0x1000000"/>
-<Part PartitionName="tee" FileSystem="ext4" Length="0x2000000"/>
-<Part PartitionName="vendor" FileSystem="ext4" Length="0x10000000"/>
-<Part PartitionName="odm" FileSystem="ext4" Length="0x10000000"/>
-<Part PartitionName="system" FileSystem="ext4" Length="0x74000000"/>
-<Part PartitionName="cache" FileSystem="ext4" Length="0x46000000"/>
-<Part PartitionName="data" FileSystem="ext4" Length="0xffffffff"/>
-</Partition_Info>
diff --git a/Vendor_0508_Product_0110.idc b/keyboards/Vendor_0508_Product_0110.idc
index 2d44e9a..2d44e9a 100644
--- a/Vendor_0508_Product_0110.idc
+++ b/keyboards/Vendor_0508_Product_0110.idc
diff --git a/Vendor_1d5a_Product_c082.idc b/keyboards/Vendor_1d5a_Product_c082.idc
index 2d44e9a..2d44e9a 100644
--- a/Vendor_1d5a_Product_c082.idc
+++ b/keyboards/Vendor_1d5a_Product_c082.idc
diff --git a/Vendor_7545_Product_0180.idc b/keyboards/Vendor_7545_Product_0180.idc
index 2d44e9a..2d44e9a 100644
--- a/Vendor_7545_Product_0180.idc
+++ b/keyboards/Vendor_7545_Product_0180.idc
diff --git a/ota_amlogic.py b/scripts/ota_amlogic.py
index 274fefa..274fefa 100755
--- a/ota_amlogic.py
+++ b/scripts/ota_amlogic.py
diff --git a/quick_compile.sh b/scripts/quick_compile.sh
index a05bb46..a05bb46 100755
--- a/quick_compile.sh
+++ b/scripts/quick_compile.sh
diff --git a/releasetools.py b/scripts/releasetools.py
index b7206bf..b7206bf 100755
--- a/releasetools.py
+++ b/scripts/releasetools.py