Makefile: Fix-up new static library to allow linking to work

I made two mistakes in the previous CL:
* All code needs to be compiled with PIC in order to enable linking
* The static library needs to be libmosys.a such that -lmosys will find
  the library.

TEST=FEATURES=test USE=static emerge-reef mosys

Change-Id: Id8b1cd4fa0e7d40b819468700effac0b5f6d6f69
Commit-Ready: Jason Clinton <>
Tested-by: Jason Clinton <>
Reviewed-by: Simon Glass <>
Reviewed-by: C Shapiro <>
2 files changed