I am new to Buildroot and I am just experimenting with the make
, make menuconfig
, and make clean
commands. I noticed that oftentimes, -dirty
will be present at the top of my .config
file after changes are saved out of the curses menuconfig. For example:
+# Buildroot 2020.02-gcdd8689-dirty Configuration
I think this has something to do with the build directory state versus the configuration, but the more I look at it, the less sense the behavior of -dirty
makes to me. For instance, one time I ran make
which built the kernel successfully, followed by make menuconfig
. I changed something and saved a new .config
out of the dialog. It was not -dirty
. So far, so good. Then I re-ran make menuconfig
to change something else. After a save, .config
was suddenly -dirty
.
Does anyone know what this -dirty
flag means or how it is computed? I don't want to be committing a dirty configuration file to my repo. I can't seem to find documentation about this anywhere.
Thanks!