How are you?
Is it possible to execute make menuconfig and just exit and save the .config without any prompt, so automatically?
Because if I use make defconfig or make oldconfig, it will override the whole .config, I just need to update the .config I have, which I use with make menuconfig, just save and that's all.
defconfig executes enable all files to compile, i have a .config that are use, there are tons that i will never use.
i only use php, python, node, databases, samba, vpn, wol, themes, openvpn.
but when i do make defconfig it overrides and generates everything, or i am wrong?
i do this right now:
$DIR/scripts/diffconfig.sh > $DIR/configdiff
cp $DIR/configdiff $DIR/.config
make defconfig
make oldconfig
but with this, it seems becomes the same.
is this right?
otherwise with $DIR it would not find $DIR/scripts/diffconfig.sh > $DIR/configdiff so it must be working right?
so is it updating the feeds into the .config now, without make menuconfig?
I this before everything:
$DIR/scripts/feeds update -a
$DIR/scripts/feeds install -a
rm -rf $DIR/package/feeds/packages/node*
$DIR/scripts/feeds update -a -p darkmatter
$DIR/scripts/feeds install luci-theme-darkmatter
# i usually start here, like from nodejs 8.5 to 8.5.1 or 8.6
$DIR/scripts/feeds install -a -p node
# or new redis version like 4.0.1 to 4.0.2 or 4.1 etc..
$DIR/scripts/feeds update -a -p redis
$DIR/scripts/feeds install redis
I don't know why the movement of the source is being done, but if I follow your script correctly you are not starting with the desired .config; i.e. the one you have configured as desired. If the movement is in support of different targets check script ./script/env. And you will notice in my original posting, other thread, I used the ./(DOT) notation; i.e. my pwd is the buildroot.