I manage all my packages with a diffconfig file. It tells the build system what type of router to build for and what additional packages you want.
Your diffconfig if you are building for one device would start similar to this:
# Use "make defconfig" to expand this to a full .config
# WLAN/WPS support
# CONFIG_PACKAGE_wpad-basic-wolfssl is not set
# CONFIG_PACKAGE_libustream-wolfssl is not set
# Luci (SSL from OpenSSL)
After you have built using the commands in the wiki you can rebuild any time you want to get updates. All the packages and everything are placed in a sysupgrade.bin file your bin folder (for easy loading on your router).
I have openwrt’s git set as “upstream”. You can see what all your repositories are by running:
git remote -v
I added openwrt as “upstream” with the following (blanking on what the default is, this might be repetitive):
git remote add upstream https://git.openwrt.org/openwrt/openwrt.git
To rebuild (when you want to update, the -j5 at the end is assuming a 4 CPU build system - adjust to your number of CPUs, ex: -j4 = 3 CPUs, -j5 = 4 CPUs, etc)
git fetch upstream && git rebase upstream/master && ./scripts/feeds update -a && ./scripts/feeds install -a && cp diffconfig .config && make defconfig