Trimming uclibc in l4
Masti Ramya Jayaram
rmasti at inf.ethz.ch
Tue Sep 16 19:02:23 CEST 2014
Update: turns out it is not very simple to compile just bootstrap against a smaller library because the l4/mk/modes.inc file defaults to the uclibc library for compiling the files which is used for all packages. Any ideas how I can change this only for some packages?
Thanks.
Ramya
________________________________________
From: l4-hackers [l4-hackers-bounces at os.inf.tu-dresden.de] on behalf of Masti Ramya Jayaram [rmasti at inf.ethz.ch]
Sent: 16 September 2014 17:53
To: l4-hackers at os.inf.tu-dresden.de
Subject: Trimming uclibc in l4
Dear all,
I would like to extract the minimal subset of uclibc required by bootstrap, sigma and their dependencies only. My idea is to have these modules use the smaller libc while retain the usual uclibc build for the other packages.
I intend to go about this by copying uclibc (say into uclibc_min) and then modifying the contrib_files_all.lst and contrib_files_x86.lst. Is this the correct way to do this?
Also, I extracted all the package dependencies of bootstrap and sigma from the control files (below)
bootstrap: drivers_uart drivers_of libc l4util cxx_io
drivers-frst:libc
l4util: crtn libc
crtn: l4sys
l4sys: ldscripts
l4util: crtn libc
cxx: l4sys l4util
ulibc: l4sys
sigma0: crtn l4sys l4util libsigma0 cxx_io
libsigma0: l4sys
Is this the correct way to do this as well?
Thanks,
Ramya
_______________________________________________
l4-hackers mailing list
l4-hackers at os.inf.tu-dresden.de
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
More information about the l4-hackers
mailing list