diff --git a/BUILD.gn b/BUILD.gn index 639b3fe..fdca2ce 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -96,5 +96,6 @@ ohos_shared_library("libbpf") { subsystem_name = "developtools" part_name = "profiler" install_enable = true + license_file = "LICENSE.BSD-2-Clause" } diff --git a/README.OpenSource b/README.OpenSource index f8010ad..6a937f2 100644 --- a/README.OpenSource +++ b/README.OpenSource @@ -1,8 +1,8 @@ [ { "Name": "libbpf", - "License": "LGPL-2.1 OR BSD-2-Clause", - "License File": "LICENSE", + "License": "BSD-2-Clause", + "License File": "LICENSE.BSD-2-Clause", "Version Number": "0.7", "Owner": "xiazhonglin@huawei.com", "Upstream URL": "https://github.com/libbpf/libbpf", diff --git a/bundle.json b/bundle.json index 8f9a470..a60065e 100644 --- a/bundle.json +++ b/bundle.json @@ -2,7 +2,7 @@ "name": "@ohos/libbpf", "description": "Libbpf is a set of tools for building BPF applications", "version": "Release_0.7.0", - "license": "LGPL-2.1 OR BSD-2-Clause License", + "license": "BSD-2-Clause License", "publishAs": "code-segment", "segment": { "destPath": "third_party/libbpf"