Look into ./tools/make_fw.sh to learn about the directory structure and dependencies. You need to have OpenWRT ImageBuilder available via the path defined in ./tools/make_fw.sh. Run ./tools/make_fw.sh to build images.