move everything from here to src_compile(), you can use -C "${S}/src" instead of *cd*ing to directory, also you can call multiple make targets in one line