Commit Graph

9 Commits

Author SHA1 Message Date
qinglin.li 71c0eed79d scripts: optimize build time [1/1]
PD#SWPL-172042

Problem:
optimize autopatch run time

Solution:
autopatch Asynchronous loading based on directory.
Fetch git information only once, based on directory.
mod_probe function use array instead of file can save time

Verify:
local

Change-Id: Ica47d23a867ce1aa5b534d7bfa0a85db33a37f5f
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-07-22 20:11:47 -07:00
Wanwei Jiang 089e1df8bc autopatch: support autopatch for linux [1/1]
PD#SWPL-154292

Problem:
support autopatch for linux

Solution:
support autopatch for linux

Verify:
local

Change-Id: Idaae5f82e6e07c89781ab53cf1a436cbdac36fe1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-01-17 03:08:01 -07:00
Qinglin Li efd37628b9 Revert "scripts: reset commit to head before auto patch [1/1]"
This reverts commit ce650f90b8.

SWPL-138629: this function will be lost common code modify when
user not save commit to auto patch.So revert it.

Change-Id: Ia8164d8772bf986125c08aed18769b86d3211daf
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-09-13 23:03:46 -07:00
qinglin.li ce650f90b8 scripts: reset commit to head before auto patch [1/1]
PD#SWPL-138629

Problem:
reset commit to head before auto patch

Solution:
reset commit to head before auto patch

Verify:
local

Change-Id: I0b77bc9d4072c7af1de0249bb7e5e691d2912b6f
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-09-07 21:58:54 -07:00
Wanwei Jiang 8d1a00f53e patch: support auto lunch's patch [1/3]
PD#SWPL-124735

Problem:
the execution time of the lunch is too long for patching all kernel patches

Solution:
patching the necessary patches to avoid android compilation failure

Verify:
ohm

Change-Id: I917ec47716336cb4c896bce4aeed3229e069c3dc
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-05-31 20:54:14 -07:00
qinglin.li d2edad5ad2 upgrade: upgrade tool [1/1]
PD#SWPL-118733

Problem:
1. build.sh and build_abi.sh remove
2. Andorid.bp redefined

Solution:
revert remove patch
rename Andorid.bp to Andorid_bp

Verify:
loacl

Change-Id: I980c5d0e066ad057f12cb8ef6d27849992946abe
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-04-27 14:46:25 -07:00
Wanwei Jiang ebd7f802c5 module: auto patch with mk_smarthome [1/1]
PD#SWPL-109858

Problem:
auto patch with mk_smarthome
ls: cannot access '*.patch': No such file or directory

Solution:
auto patch with mk_smarthome
using find instead of ls command

Verify:
sc2

Change-Id: I76a156cc1f556e9361e809f2d4de59b62d2260b6
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-04-04 04:20:50 -07:00
Wanwei Jiang b84fbe0d0d common: group the common's patches [1/1]
PD#SWPL-114348

Problem:
group the common's patches

Solution:
1. the zstd in the current kernel is newer than the version we ported,
so delete 0073*.patch
2. group the common's patches

Verify:
sc2

Change-Id: I3f5e68e44fe3ca8911541a366945bfb4ab7f940c
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-03-07 07:47:55 -08:00
Wanwei Jiang 19d6cc0c8c auto_patch: change directory [1/1]
PD#SWPL-109858

Problem:
change auto_patch directory from common to auto_patch

Solution:
change auto_patch directory from common to auto_patch

Verify:
sc2

Change-Id: I5539fcae1f8edfe4c145b5c4fdebc23e79f6cf62
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-03-02 22:25:24 -08:00