# Copyright (C) 2020 QUECTEL Technologies Limited and/or its affiliates("QUECTEL"). # All rights reserved. # set(target oql_core_virt_func) add_app_libraries($) add_library(${target} STATIC) set_target_properties(${target} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${out_lib_dir}) target_compile_definitions(${target} PRIVATE OSI_LOG_TAG=LOG_TAG_QUEC) target_include_directories(${target} PUBLIC inc) target_link_libraries(${target} PRIVATE kernel driver service atr ats audio) target_sources(${target} PRIVATE quec_virt_func_bsp.c quec_virt_func_modem.c quec_virt_func_proto_stack.c quec_virt_func_bt.c ) set(target oql_core_boot_virt_func) add_app_libraries($) add_library(${target} STATIC) set_target_properties(${target} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${out_lib_dir}) target_compile_definitions(${target} PRIVATE OSI_LOG_TAG=LOG_TAG_QUEC) target_include_directories(${target} PUBLIC inc) target_link_libraries(${target} PRIVATE driver) target_sources(${target} PRIVATE quec_boot_virt_func_bsp.c ) relative_glob(srcs include/*.h src/*.c inc/*.h) beautify_c_code(${target} ${srcs})