mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
Kernel: Restore kernel8.img for aarch64 build
This was erroneously deleted in 420952a433
This commit is contained in:
parent
2d05c63c7c
commit
baeee0effe
1 changed files with 8 additions and 0 deletions
|
@ -736,6 +736,14 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Kernel" DESTINATION boot)
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Kernel.debug" DESTINATION boot)
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Kernel.debug" DESTINATION boot)
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/kernel.map" DESTINATION res)
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/kernel.map" DESTINATION res)
|
||||||
|
|
||||||
|
if ("${SERENITY_ARCH}" STREQUAL "aarch64")
|
||||||
|
add_custom_command(
|
||||||
|
TARGET Kernel POST_BUILD
|
||||||
|
COMMAND ${CMAKE_OBJCOPY} -O binary Kernel kernel8.img
|
||||||
|
BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/kernel8.img
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
serenity_install_headers(Kernel)
|
serenity_install_headers(Kernel)
|
||||||
serenity_install_sources(Kernel)
|
serenity_install_sources(Kernel)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue