# Copyright (c) 2021-2022 Amlogic, Inc. All rights reserved.

# SPDX-License-Identifier: MIT

aml_add_library()
aml_library_sources(
	board_version.c
)

aml_library_include_directories(
	${CMAKE_CURRENT_SOURCE_DIR}
)

add_subdirectory(${BOARD})

redefine_file_macro()

target_compile_options(
	${CURRENT_LIBRARY}
	PRIVATE
	-Wno-builtin-macro-redefined
)

aml_library_link_libraries(kernel__${KERNEL})
aml_library_link_libraries(drivers)

aml_link_libraries()
