Build: Add extlinux-image target to CMake

This commit is contained in:
DolphinChips 2021-05-08 16:02:36 +05:00 committed by Linus Groh
parent 5d4f521c9d
commit 422ef7904e
Notes: sideshowbarker 2024-07-18 18:18:38 +09:00

View file

@ -59,6 +59,11 @@ add_custom_target(grub-image
BYPRODUCTS ${CMAKE_BINARY_DIR}/grub_disk_image
USES_TERMINAL
)
add_custom_target(extlinux-image
COMMAND ${CMAKE_COMMAND} -E env "SERENITY_SOURCE_DIR=${CMAKE_SOURCE_DIR}" "SERENITY_ARCH=${SERENITY_ARCH}" ${CMAKE_SOURCE_DIR}/Meta/build-image-extlinux.sh
BYPRODUCTS ${CMAKE_BINARY_DIR}/extlinux_disk_image
USES_TERMINAL
)
add_custom_target(lint-shell-scripts
COMMAND ${CMAKE_SOURCE_DIR}/Meta/lint-shell-scripts.sh