Manually enable "saveenv" in uboot

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu 22.04 Fenix Image / Uboot v.1.5.2

Which version of system do you use? Khadas official images, self built images, or others?

Official Image

Please describe your issue below:

I want to disable the u-boot debug output as described here: U-Boot: How to completely disable console? - #2 by Frank

Unfortunately, as I have build uboot myself, the “saveenv” command is disabled and I cannot change the parameters. I am currently building the u-boot deb manually and then flashing it to my Khadas VIM4. As the build process is highly automated, I cannot simply modify some of the files (and modifying the kvim4_defconfig or kvim4.h by adding #define CONFIG_CMD_SAVEENV 1 or CONFIG_CMD_SAVEENV=y does not work.