I am able to build firmware for all the branches of NodeMCU, https://github.com/nodemcu/nodemcu-firmware only when I clone them to separate local directories.
When I try to only have one folder and use git checkout branch I can only build the master firmware. When I checkout the branches the other files change to match the branch but I cannot build the firmware. Maybe this is just the way it is? I was hoping I could use git checkout master and then make to build the master firmware and then use git checkout dev and then make to build the dev firmware. The files do change to reflect the branch correctly so I'm not sure why it doesn't work.