Finish makefile for esp8266 target, add firmware generation