You would need to edit :
/ltib/dist/lfs-5.1/sqlite/sqlite.spec
modify the version of package.,
Version : 3.6.12
verify the name of new package is ok, i.e.
%{name}-amalgamation-%{version}.tar.gz
put the new package in /opt/freescale/pkgs and it should work OK