add Makefile for firmware.