Makefile: Improve unisim library generation
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 9 Jun 2020 22:31:49 +0000 (08:31 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 9 Jun 2020 22:31:49 +0000 (08:31 +1000)
commit097d19fd32a434b290e2375e6ebd6dc88a791551
tree72c4446b296710a2ffe82671cf8942cd92abe8fd
parente46c46ab5fdb6a83f8ee700a763b51d449650314
Makefile: Improve unisim library generation

The rewrite of the Makefile to use "ghdl -c" somewhat broke building
the unisim library as ghdl doesn't yet support putting files in
separate libraries from a single command line invocation.

The workaround at the time was to put the entire project in "unisim"
which is ... weird and will break if we try to add another library
such as fmf.

This fixes it by generating the library separately using "ghdl -i"

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Makefile