Faulty build after moving to a new laptop

Actually, the best solution is to wipe it, and start over. It's not a good idea to try and move a previously-used OpenWrt folder from one computer to another. Just clone it again on the new computer, and move the config file over as required.

If you do want to move the config file over, it's also better to distill it down to base essentials on the old machine first:
scripts/diffconfig.sh > ~/openwrt_diffconfig.cfg