Building OpenWRT for Arduino Yun Rev 2 from source

Hello,

I want to build OpenWRT for yun rev-2 from scratch.

I downloaded openwrt source from GitHub - openwrt/openwrt: This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins or for reporting issues. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git. All issues should be reported at: https://bugs.openwrt.org

Im using seeeduino YUN rev -2 board with Dragino HE using ATHEROS AR9331 chipset, which integrates MIPS 24Kc processor

After installing i ran make menuconfig, which TARGET do i pick? Should i pick" Atheros ATH79"

which Subtarget should i pick?
which Target profile should i pick (YunCore A770, YiunCore A782, YiunCore XD4200)?

Thanks