diff --git a/BUILD.gn b/BUILD.gn index ebfb1bf..96bc0e4 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1,3 +1,16 @@ +# Copyright (c) 2023 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + group("ko_build") { deps = [ "//kernel/linux/common_modules/module_sample:ko_sample", diff --git a/module_sample/BUILD.gn b/module_sample/BUILD.gn index cf787ec..8d3b8f1 100644 --- a/module_sample/BUILD.gn +++ b/module_sample/BUILD.gn @@ -1,3 +1,16 @@ +# Copyright (c) 2023 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import("//build/templates/kernel/ohos_kernel_build.gni") ohos_build_ko("ko_sample") { @@ -6,5 +19,4 @@ ohos_build_ko("ko_sample") { target_ko_name = "kosample" device_name = device_name device_arch = "arm64" - version = "1.0" }