build: forward dependencies to arch-specific libs 37/29437/2
authorAloys Augustin <aloaugus@cisco.com>
Tue, 13 Oct 2020 13:43:00 +0000 (15:43 +0200)
committerDamjan Marion <dmarion@me.com>
Thu, 15 Oct 2020 19:41:45 +0000 (19:41 +0000)
commit2a65804259e8c139c2d556f1c3e95f435280b4d2
treecc2e61c0fc36adf7ca9f19b9faff0f020fff4758
parent7286943e7efdbbf99abd8bf318547b2402a4966d
build: forward dependencies to arch-specific libs

Without this, if a multiarch source depends on a generated api header
for instance, the build would be racy between the api header generation
and the multiarch object compilation.

Type: improvement
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
Change-Id: I08fcd0e5a1c51398ac1a8f37cf6562064b400d4a
src/cmake/cpu.cmake
src/cmake/library.cmake
src/cmake/plugin.cmake