You did not mention specific versions. I will assume:
- stable release = v18.06.4
- latest packages = updates on the
openwrt-18.06
release branch beyond v18.06.4
Look for the image builder for your device starting here and its wiki documentation. This solution is easy and fast because it relies on pre-built binary packages.
If you want to change compile-time options, you have to build from source instead.
Also note the progress towards the 19.07 release; the first release candidate has been published 2 days ago.