[feat] Add CMake support #14
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hubert/Pi-kachULM_OS!14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cmake-new"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To call CMake:
You need to install a valid GCC for aarch64.
GCC_PREFIXis a CMake variable such that:${GCC_PREFIX}gccwill be the C compiler and assembler${GCC_PREFIX}g++will be the C++ compiler${GCC_PREFIX}ldwill be the linkerBy default,
GCC_PREFIXis set toaarch64-linux-gnu-.Fix #10
Fix #11
Changing only the indentation... Should we keep 2-spaces (this is the current setting) indentation or 4-spaces?
We should keep .elf as QEMU support the ELF format. This avoid the extra objcopy step and probably also keep debug information if we connect gdb to QEMU.
Let only use .bin when flashing the kernel into the real hardware.
@ -0,0 +1,27 @@file(GLOB_RECURSE KERNEL_SRC_FILES "*.S" "*.cpp" "*.hpp")More extracting than converting. But is not that important.