write make menuconfig in the source folder, then select "Global Build Settings", then select with a "y":
"select all target specific packages by default"
"select all kernel module packages by default"
"select all userspace packages by default"
This should tag with a "M" all packages for your target/profile, and all them will be compiled.
But in practice you most likely do NOT want ALL packages. There are thousands of them available... various databases, audio/video codecs programming languages etc.
Yes. It is not neccery to build all packages. I'd like to understand how LEDE works. (Thanks for your help.)
Is there any pre-configure I could use the same as the buildbolt does? The kernel modules will be alter for the configuration. I'd like to keep the same as buildbot.
Buildbot builds all packages, but includes just the needed packages for the minimal set for your device.
All others can be downloaded via opkg and installed later.
Buildbot's config for your device is the same minimal set that you get by simply selecting your device in menuconfig and nothing else.
in the nightly build directories there are config files, copy the one for your
architecture to .config and then run make oldconfig
That will give you a good starting point for your system.
if you use the config right away, you probably don't need the make oldconfig,
but it's a good habit to get into because as soon as you update the lede git
tree, your config may not match the system, so you will need to run it after
each update.