• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2022 HiHope Open Source Organization .
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//kernel/liteos_m/liteos.gni")
15module_name = get_path_info(rebase_path("."), "name")
16kernel_module(module_name) {
17  sources = [
18    "//third_party/musl/src/math/fmodl.c",
19    "//third_party/musl/src/math/scalbnl.c",
20    "xt804/bsp/board_init.c",
21    "xt804/bsp/isr.c",
22    "xt804/bsp/startup.S",
23    "xt804/bsp/system.c",
24    "xt804/bsp/trap_c.c",
25    "xt804/bsp/vectors.S",
26    "xt804/libc/libc_port.c",
27    "xt804/libc/liteos/math/copysign.c",
28    "xt804/libc/liteos/math/copysignl.c",
29    "xt804/libc/liteos/math/fabsl.c",
30    "xt804/libc/liteos/math/fmod.c",
31    "xt804/libc/liteos/math/scalbn.c",
32    "xt804/libc/liteos/stdio/puts.c",
33    "xt804/libc/liteos/stdio/sprintf.c",
34    "xt804/libc/liteos/stdio/vprintf.c",
35  ]
36  include_dirs = []
37}
38