cmake: update kernel name references

This commit is contained in:
2026-05-30 10:14:38 +01:00
parent 87fe2d20ec
commit d879a37cb3
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ check_pie_supported()
set(sys_dir ${CMAKE_CURRENT_BINARY_DIR}/sys)
set(kernel_name mango_kernel)
set(kernel_name magenta_kernel)
set(bsp_name rosetta-system.bsp)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
+1 -1
View File
@@ -7,7 +7,7 @@ find_program(C_COMPILER x86_64-elf-gcc REQUIRED)
find_program(CXX_COMPILER x86_64-elf-g++ REQUIRED)
#find_program(ASM_COMPILER x86_64-elf-as REQUIRED)
add_compile_definitions(__mango__=1 __rosetta__=1)
add_compile_definitions(__magenta__=1 __rosetta__=1)
set(CMAKE_C_COMPILER ${C_COMPILER})
set(CMAKE_CXX_COMPILER ${CXX_COMPILER})
+1 -1
View File
@@ -16,7 +16,7 @@ def successful_boot(boot_log, out):
log(out, "Multiple kernel panics!")
return 1
nr_boots = boot_log.count('Mango kernel version')
nr_boots = boot_log.count('Magenta kernel version')
if nr_boots == 0:
log(out, "Kernel didn't start!")
return 1
+1 -1
View File
@@ -2,7 +2,7 @@ file(GLOB sources *.c)
add_executable(herdd ${sources})
target_link_libraries(herdd
libc libc-runtime
libmango libpthread liblaunch librosetta
libmagenta libpthread liblaunch librosetta
fx-core fx-ds fx-serial)
sysroot_add_program(
+1 -1
View File
@@ -4,7 +4,7 @@ file(GLOB arch_sources arch/${CMAKE_SYSTEM_PROCESSOR}/*.S)
add_executable(bootstrap ${c_sources} ${arch_sources})
target_link_libraries(bootstrap
libmango librosetta
libmagenta librosetta
libc-core libc-malloc libc-pthread
libfs-static
liblaunch-static
+1 -1
View File
@@ -8,7 +8,7 @@ set_target_properties(ld PROPERTIES
SUFFIX ".so")
target_link_libraries(ld
libc-core libc-malloc libc-io libmango librosetta libxpc-static
libc-core libc-malloc libc-io libmagenta librosetta libxpc-static
interface::fs)
target_compile_options(ld PRIVATE