| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| # Memory Operations library (sw_lib_mem) |
| sw_lib_mem = declare_dependency( |
| link_with: static_library( |
| c_args: ['-fno-builtin'], |
| # MMIO register manipulation library |
| sw_lib_mmio = declare_dependency( |
| link_with: static_library( |
| # Basic printing library (sw_lib_base_print) |
| sw_lib_base_print = declare_dependency( |
| link_with: static_library( |
| # Generic logging library (sw_lib_base_log) |
| sw_lib_base_log = declare_dependency( |
| link_with: static_library( |
| test('sw_lib_base_print_test', executable( |
| 'sw_lib_base_print_test', |
| sources: ['print.c', 'print_test.cc'], |