Skip to content

Commit

Permalink
Merge branch 'new_intr' into memory
Browse files Browse the repository at this point in the history
Signed-off-by: Zone.N <[email protected]>
  • Loading branch information
MRNIU committed Aug 7, 2024
2 parents 0230af9 + f423d9f commit a134f7c
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions cmake/compile_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -195,37 +195,28 @@ list(APPEND DEFAULT_KERNEL_LINK_LIB
${COMMON_LINK_LIB}

printf_bare_metal
${dtc_BINARY_DIR}/libfdt/libfdt.a

$<$<STREQUAL:${CMAKE_SYSTEM_PROCESSOR},riscv64>:
opensbi_interface
${dtc_BINARY_DIR}/libfdt/libfdt.a
>

$<$<STREQUAL:${CMAKE_SYSTEM_PROCESSOR},aarch64>:
${dtc_BINARY_DIR}/libfdt/libfdt.a
>
)

# 编译依赖
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
list(APPEND COMPILE_DEPENDS
list(APPEND COMPILE_DEPENDS
ovmf
gnu-efi
dtc
printf_bare_metal
)
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "riscv64")
list(APPEND COMPILE_DEPENDS
ovmf
opensbi
opensbi_interface
printf_bare_metal
dtc
gnu-efi
)
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
list(APPEND COMPILE_DEPENDS
ovmf
gnu-efi
dtc
)
endif ()

0 comments on commit a134f7c

Please sign in to comment.