Skip to content

Commit 48bb084

Browse files
authored
[tools] add hpatchlite-wrapper package. (#1842)
* [tools] add hpatchlite-wrapper package.
1 parent 90b57aa commit 48bb084

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed

tools/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ source "$PKGS_DIR/packages/tools/vofa_plus/Kconfig"
4848
source "$PKGS_DIR/packages/tools/RT_Trace/Kconfig"
4949
source "$PKGS_DIR/packages/tools/zdebug/Kconfig"
5050
source "$PKGS_DIR/packages/tools/RVBacktrace/Kconfig"
51+
source "$PKGS_DIR/packages/tools/hpatchlite-wrapper/Kconfig"
5152
endmenu

tools/hpatchlite-wrapper/Kconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
menuconfig PKG_USING_HPATCHLITE
3+
bool "hpatchlite-wrapper: A lightweight and user-friendly wrapper for the HPatchLite."
4+
default n
5+
6+
if PKG_USING_HPATCHLITE
7+
8+
config PKG_HPATCHLITE_PATH
9+
string
10+
default "/packages/tools/hpatchlite-wrapper"
11+
12+
choice
13+
prompt "Version"
14+
default PKG_USING_HPATCHLITE_LATEST_VERSION
15+
help
16+
Select the package version
17+
18+
config PKG_USING_HPATCHLITE_LATEST_VERSION
19+
bool "latest"
20+
endchoice
21+
22+
config PKG_HPATCHLITE_VER
23+
string
24+
default "latest" if PKG_USING_HPATCHLITE_LATEST_VERSION
25+
26+
endif
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "hpatchlite-wrapper",
3+
"description": "A lightweight and user-friendly wrapper for the HPatchLite.",
4+
"description_zh": "一个让HPatchLite差分还原算法库更好用的封装",
5+
"enable": "PKG_USING_HPATCHLITE",
6+
"keywords": [
7+
"hpatchlite",
8+
"hpatch",
9+
"bsdiff",
10+
"bspatch",
11+
"patch"
12+
],
13+
"category": "tools",
14+
"author": {
15+
"name": "sulfurandcu",
16+
"email": "[email protected]",
17+
"github": "sulfurandcu"
18+
},
19+
"license": "MIT",
20+
"repository": "https://github.com/sulfurandcu/hpatchlite-wrapper",
21+
"homepage": "https://github.com/sulfurandcu/hpatchlite-wrapper#readme",
22+
"site": [
23+
{
24+
"version": "latest",
25+
"URL": "https://github.com/sulfurandcu/hpatchlite-wrapper.git",
26+
"filename": "hpatchlite-wrapper.zip",
27+
"VER_SHA": "main"
28+
}
29+
]
30+
}

0 commit comments

Comments
 (0)