You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does there exist some convenient way to recompile the kernel after small changes?
Besides, it seems that recompiling does not find changes of any file.
For example, rumprun/platform/xen/xen/kernel.c.
The text was updated successfully, but these errors were encountered:
Generally I've found re-invoking build-rr.sh to generally be pretty reasonable for detecting and rebuilding changes. At one point I was calling it from a Makefile and only re ran build-rr.sh if any file in the rumprun src tree had changed like so:
# All rumprun source directories.
SRC_DIRECTORIES := app-tools buildrump.sh include lib platform src-netbsd
# Find all source rump files.
RUMPFILES += $(shell find -L $(SRC_DIRECTORIES:%=$(SOURCE_DIR)/%) \( -type f \))
.rump: $(RUMPFILES)
./build-rr.sh ...
touch .rump
As for changes to files not getting rebuilt, I found that any changes to files that are included using the preprocessor won't be detected unless you modify the Makefiles to use makedepend or something.
Does there exist some convenient way to recompile the kernel after small changes?
Besides, it seems that recompiling does not find changes of any file.
For example, rumprun/platform/xen/xen/kernel.c.
The text was updated successfully, but these errors were encountered: