diff --git a/BUILD.gn b/BUILD.gn index 639b3fe3a668ff59aa7606f061652837436bd586..fdca2ce904873ff540cf2f4f5983b260777db8f1 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 f8010adcfd1f7aeefdf7b5823c036e805d19528a..6a937f27c3b1768941dfbdc4556547fa28ea451d 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 8f9a470120763126d0bd3619fe0dcb81a087f580..a60065e03303ef65c2161abe61ad42af60f3d279 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"