Signed-off-by: zhujiaxin <zhujiaxin@huawei.com>
This commit is contained in:
zhujiaxin
2023-11-25 19:30:55 +08:00
parent f25f68010e
commit 9a20094bb9
3 changed files with 12 additions and 15 deletions
-1
View File
@@ -81,7 +81,6 @@ Note:If the text contains special characters, please escape them according to th
<filteritem type="filepath" name="LICENSES-Linux-syscall-note" desc="license file"/>
<filteritem type="filepath" name="newip/third_party/.*" desc="third party code path"/>
<filteritem type="filepath" name="BUILD.gn" desc="build file"/>
<filteritem type="filepath" name="module_sample/BUILD.gn" desc="build file"/>
</filefilter>
<filefilter name="defaultPolicyFilter" desc="Files that do not need to be applied specified policy, will be merged with the filter items which has the same filefilter name">
<filteritem type="filepath" name="LICENSE" desc="license file"/>
+10 -12
View File
@@ -1,15 +1,13 @@
# 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.
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*
* ko build sample
*
* Author: z-jax <zhujiaxin@huawei.com>
*
* Data: 2023-11-25
*/
import("//build/templates/kernel/ohos_kernel_build.gni")
+2 -2
View File
@@ -15,12 +15,12 @@
static int kosample_init(void)
{
pr_info("ko sample: %s\n", __func__);
pr_err("ko sample: %s\n", __func__);
return 0;
}
static void kosample_exit(void)
{
pr_info("ko sample: %s\n", __func__);
pr_err("ko sample: %s\n", __func__);
}
module_init(kosample_init);