Added Makefile for yocto build
Fixed typo (event -> ievent) when calculating length of buf skip