Changing the version identifier

Hi, I'm trying to change the version identify of my new OpenWRT firmware. I have search some posts that suggest use this directly on .config.default:

CONFIG_IMAGEOPT=y
CONFIG_VERSIONOPT=y
CONFIG_VERSION_DIST="MyOpenWRT"

But sems that this is changed on latest OpenWRT image system build, because after I changed that on .config.default file and execute make defconfig, these changes not appear on final .config file, only show:

# CONFIG_VERSIONOPT is not set

I was searching this config on menu config without success... what I missing???

You are modifying a non-existing file .config.default
There is no reference to that in the build system.

You can use that kind of recipe, but you need to manually copy to be the new .config before using make defconfig to expand it.

1 Like