jf: Bring build script up-to-date with official samsung's

Change-Id: I4264133d45c9c25d371baa8e8d8046c7898aff47