Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tools] add hpatchlite-wrapper package. #1842

Merged
merged 4 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tools/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ source "$PKGS_DIR/packages/tools/vofa_plus/Kconfig"
source "$PKGS_DIR/packages/tools/RT_Trace/Kconfig"
source "$PKGS_DIR/packages/tools/zdebug/Kconfig"
source "$PKGS_DIR/packages/tools/RVBacktrace/Kconfig"
source "$PKGS_DIR/packages/tools/hpatchlite-wrapper/Kconfig"
endmenu
26 changes: 26 additions & 0 deletions tools/hpatchlite-wrapper/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

menuconfig PKG_USING_HPATCHLITE
bool "hpatchlite-wrapper: A lightweight and user-friendly wrapper for the HPatchLite."
default n

if PKG_USING_HPATCHLITE

config PKG_HPATCHLITE_PATH
string
default "/packages/tools/hpatchlite-wrapper"

choice
prompt "Version"
default PKG_USING_HPATCHLITE_LATEST_VERSION
help
Select the package version

config PKG_USING_HPATCHLITE_LATEST_VERSION
bool "latest"
endchoice

config PKG_HPATCHLITE_VER
string
default "latest" if PKG_USING_HPATCHLITE_LATEST_VERSION

endif
30 changes: 30 additions & 0 deletions tools/hpatchlite-wrapper/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "hpatchlite-wrapper",
"description": "A lightweight and user-friendly wrapper for the HPatchLite.",
"description_zh": "一个让HPatchLite差分还原算法库更好用的封装",
"enable": "PKG_USING_HPATCHLITE",
"keywords": [
"hpatchlite",
"hpatch",
"bsdiff",
"bspatch",
"patch"
],
"category": "tools",
"author": {
"name": "sulfurandcu",
"email": "[email protected]",
"github": "sulfurandcu"
},
"license": "MIT",
"repository": "https://github.com/sulfurandcu/hpatchlite-wrapper",
"homepage": "https://github.com/sulfurandcu/hpatchlite-wrapper#readme",
"site": [
{
"version": "latest",
"URL": "https://github.com/sulfurandcu/hpatchlite-wrapper.git",
"filename": "hpatchlite-wrapper.zip",
"VER_SHA": "main"
}
]
}
Loading