Console#25
Merged
differrari merged 59 commits intomainfrom Aug 11, 2025
Merged
Conversation
added 30 commits
August 3, 2025 00:00
# Conflicts: # kernel/console/kconsole/kconsole.hpp # kernel/filesystem/filesystem.cpp
# Conflicts: # kernel/kernel.c
…lls cause issues)
This causes source files which depend on headers to be rebuilt when the header changes. `-MMD` generates the dependencies in `*.d` files, excluding system headers. `-MP` adds fake rules for headers to the dependencies file so build doesn't break if a header is removed. Update `.gitignore` to ignore new `*.d` files.
Use GCC dependency generation in Makefiles
Instead of using `gcc` to compile both C and C++, use `gcc` for C and `g++` for C++. This allows to split flags more cleanly. Re-organize flag variables a bit, adding `CPPFLAGS` for C preprocessor flags, `CFLAGS` for C compiler flags and `CXXFLAGS` for C++ compiler flags.
This makes it easier to see the build output/warnings. Full build output can be enabled with `make V=1`.
Include common.mk from the other Makefiles instead of exporting variables from the top-level Makefile so they get expanded correctly.
Make cleanups
Contributor
|
In my opinion you should keep your working branches such as this (re)based on the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.