how to obtain/build the vanilla LEDE/OpenWrt firmware compatible with AR300MD as it rejects images built for AR300M16.

As mentioned at the top of this thread, my AR300MD took the testing firmware “lede-gl-ar300m-nand-2.27-testing.tar” with no problems at all. I know it’s not vanilla, but it comes with LEDE… why not use that?