base: de-duplicate src/lib/base/platform.cc

By splitting the 'init_capability_slab()' implementation to a separate
compilation unit 'capability_slab.cc', base-hw no longer needs a
customized version of 'lib/base/platform.cc'.

Related to issue #4784
This commit is contained in:
Norman Feske
2023-06-20 17:53:41 +02:00
parent 6e30d00eef
commit 0ab69a2bb8
13 changed files with 90 additions and 125 deletions

View File

@ -6,5 +6,6 @@
include $(BASE_DIR)/lib/mk/base.inc
SRC_CC += platform.cc
SRC_CC += capability_slab.cc
LIBS += syscall-linux