Replaced patch with cfg file - the Yocto-recommended way