]> rtime.felk.cvut.cz Git - jailhouse.git/commit
inmates: Build library archive and link it implicitly
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 9 May 2015 14:57:08 +0000 (16:57 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 15 May 2015 07:14:00 +0000 (09:14 +0200)
commit371e83312d2163f6e1743ba823c03266a8cd2473
treeb65a16b1339259fff003a2187d16093e8d7ab0f4
parent18803a0ae2377e3e14c476a358c32258e743013e
inmates: Build library archive and link it implicitly

Kbuild already comes with support for building lib.a archives from a set
of objects. Use this to build inmate libraries for x86, here in 64 and
32-bit form, and for ARM. Link against the correct libraries implicitly
so that the demos no longer have to state their dependencies explicitly.

This will also allow to use the inmate libraries from different folders
than demos because the library objects are now only built once.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
.gitignore
inmates/Makefile
inmates/demos/arm/Makefile
inmates/demos/x86/Makefile
inmates/lib/arm/Makefile [new file with mode: 0644]
inmates/lib/arm/Makefile.lib
inmates/lib/x86/Makefile [new file with mode: 0644]
inmates/lib/x86/Makefile.lib