VIM1S static IP in uENV.txt (CONFIG_IP_PNP)

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

Ubuntu

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

Trying to build custom image with CONFIG_IP_PNP enabled.

Please describe your issue below:

I’d like to set static IP address for my vim1s in /boot/uEnv.txt like this
ip=10.0.0.104::10.0.0.138:255.255.255.0:khadasvim1s:eth0:off
(it works on raspberry pi and similar sbc-s)

I’ve figured out that for that to work the kernel needs to be compiled with “CONFIG_IP_PNP” enabled.
Some fiddling around pointed me to fenix script to build new ubuntu image.

But for the love of god I can’t figure out how to compile new image with that option enabled.

I’ve changed that option in
fenix/build/linux/arch/arm64/configs/kvims_defconfig

also in
fenix/packages/linux-mainline/configs/Generic.config

but every time the new created image has the CONFIG_IP_PNP disabled after first run.

I’m kinda newbie to all of this. Could someone point me in the right direction?

Thank you

Nevermind. I guess it was my bad.
Made
make clean

and compiled it again and everything works.