Description
We need a dedicated target in our Makefile to handle the installation of dynamically built libraries into lindfs.
Currently, make merge-sysroot handles the builds of all libraries, and the library build scripts only produce shared builds if the LIND_DYLINK flag is set. After the builds complete, these libraries are staged to build/sysroot_overlay/lib. We need a streamlined way to move these staged libraries into lindfs automatically when the dynamic link flag is present.
Affected Libraries:
libtirpc
gnulib
openssl
zlib
libcpp
Changes to be made
- Create an install target: Add a separate target in the Makefile responsible for installing libraries to
lindfs.
- Trigger installation from build targets: Update the individual library build targets (e.g.,
MERGE_TIRPC_STAMP for libtirpc). These targets must check if the LIND_DYLINK flag is set, and if so, automatically call the newly created install target for that specific library.
Description
We need a dedicated target in our Makefile to handle the installation of dynamically built libraries into
lindfs.Currently,
make merge-sysroothandles the builds of all libraries, and the library build scripts only produce shared builds if theLIND_DYLINKflag is set. After the builds complete, these libraries are staged tobuild/sysroot_overlay/lib. We need a streamlined way to move these staged libraries intolindfsautomatically when the dynamic link flag is present.Affected Libraries:
libtirpcgnulibopensslzliblibcppChanges to be made
lindfs.MERGE_TIRPC_STAMPforlibtirpc). These targets must check if theLIND_DYLINKflag is set, and if so, automatically call the newly created install target for that specific library.