Subject | Hash | Author | Date (UTC) |
---|---|---|---|
drop statically linked shared lib support | f58e8d8238ce1d777be6535b086b6f06f3360c9e | Sylvain BERTRAND | 2017-07-24 12:50:47 |
new build product types, code minor fixes | 636d294b1c0d057f72200b3531efb7eb94972e08 | Sylvain BERTRAND | 2017-07-23 15:34:53 |
firmware loading removal | 615a1502fa08d385a5ba33673d8b386d32987e18 | Sylvain BERTRAND | 2016-10-19 18:31:42 |
add libudev-only build | a018ed55e2f16ff54f26e03348a306e640bc671e | Sylvain BERTRAND | 2015-06-11 14:12:21 |
forgot to remove old makefile configuration file | 506bf3cdb48adefd6ec78e673c467c0297092b67 | Sylvain BERTRAND | 2015-01-12 11:47:12 |
remove github license file nuisance | 68c3eb4902d6dae89fa667a3be6a116168d9273f | Sylvain BERTRAND | 2015-01-12 11:41:01 |
use of makefile is overkill | b7eb537cc64e410608403d4ed8570faaf5288013 | Sylvain BERTRAND | 2015-01-12 11:35:26 |
Create license.md | 796f97a347f1aff66f252ab56de156b06e0c4d80 | Sylvain BERTRAND | 2013-07-17 19:06:24 |
gentoo ebuilds for eudev integration | 3c13a71ae89dbab11f4b2992e1a6bdeecf7e1e7a | Sylvain BERTRAND | 2013-02-28 00:49:25 |
firmware search paths need slash at the end | ea7eb221830809f13a9a5544b532943937305570 | Sylvain BERTRAND | 2012-09-12 11:32:32 |
enable logging for debug build | d5b2035cc2d364bd65e6b623569433bc0d435a80 | Sylvain BERTRAND | 2012-09-12 01:08:01 |
be more friendly with openrc scripts | 70c3c9f5a17f944373fa2a87021adaa9a507cbc7 | Sylvain BERTRAND | 2012-09-06 16:15:40 |
Initial commit | a7933be9fb44a9c0bb6834bf4f97a48db261c271 | Sylvain BERTRAND | 2012-09-05 09:39:46 |
File | Lines added | Lines deleted |
---|---|---|
make | 0 | 2 |
make.libudev.shared.sh | 4 | 1 |
make.libudev.shared.static.sh | 0 | 37 |
File make changed (mode: 100755) (index e8d8d4b..5dc0e24) | |||
... | ... | set_default $CMDLINE_SET | |
198 | 198 | ||
199 | 199 | libudev_only=no | libudev_only=no |
200 | 200 | disable_static=no | disable_static=no |
201 | disable_static_shared_lib=no | ||
202 | 201 | disable_dynamic=no | disable_dynamic=no |
203 | 202 | ||
204 | 203 | ################################################################################ | ################################################################################ |
... | ... | Help options: | |
218 | 217 | Standard options: | Standard options: |
219 | 218 | --libudev-only build only libudev files | --libudev-only build only libudev files |
220 | 219 | --disable-static disable the build of statically linked shared libs and binaries and lib archives | --disable-static disable the build of statically linked shared libs and binaries and lib archives |
221 | --disable-static-shared-libs disable the build of statically linked shared libs | ||
222 | 220 | --disable-dynamic disable the build of dynamically linked shared libs and binaries | --disable-dynamic disable the build of dynamically linked shared libs and binaries |
223 | 221 | --enable-logging enable logging code paths | --enable-logging enable logging code paths |
224 | 222 | --enable-debug enable debug code paths | --enable-debug enable debug code paths |
File make.libudev.shared.sh changed (mode: 100644) (index 336de90..9bb53f9) | |||
1 | 1 | . $src_path/make.libudev.shared.dynamic.sh | . $src_path/make.libudev.shared.dynamic.sh |
2 | . $src_path/make.libudev.shared.static.sh | ||
2 | |||
3 | # too many libs are unfriendly with statically linked shared library: | ||
4 | # they expect centralized state accounting for many process resources. | ||
5 | # THIS IS BAD DESIGN! but the damage seems too far ahead: drop it. |
File make.libudev.shared.static.sh deleted (index 4c7b05b..0000000) | |||
1 | if test x$disable_static = xno; then | ||
2 | if test x$disable_static_shared_lib = xno; then | ||
3 | ################################################################################ | ||
4 | sep_start;echo 'sslibudev:compile src files' | ||
5 | for sslibudev_src_file in $libudev_src_files | ||
6 | do | ||
7 | # build file name prefix with 'ss', 'S'hared 'S'tatic | ||
8 | sslibudev_o_file_name=$(basename $sslibudev_src_file .c) | ||
9 | sslibudev_o_file=$(dirname $sslibudev_src_file)/ss${sslibudev_o_file_name}.o | ||
10 | |||
11 | echo "SSLIBUDEV_CC $sslibudev_src_file-->$sslibudev_o_file" | ||
12 | |||
13 | $sslibudev_cc -o $sslibudev_o_file \ | ||
14 | -D_GNU_SOURCE \ | ||
15 | $INTERNAL_CPPFLAGS \ | ||
16 | -I. \ | ||
17 | -I$src_path \ | ||
18 | $src_path/src/$sslibudev_src_file | ||
19 | |||
20 | sslibudev_o_files="$sslibudev_o_file $sslibudev_o_files" | ||
21 | done | ||
22 | sep_end | ||
23 | |||
24 | #------------------------------------------------------------------------------- | ||
25 | |||
26 | sep_start;echo 'sslibudev:link the object files to produce the shared statically linked library' | ||
27 | echo "SSLIBUDEV_CCLD slibudev.so.${libudev_api}.0.0" | ||
28 | mkdir -p -- $fake_root$e_libdir | ||
29 | |||
30 | $sslibudev_ccld -o $fake_root$e_libdir/sslibudev.so.${libudev_api}.0.0 \ | ||
31 | $sslibudev_o_files \ | ||
32 | $(pkg-config --static --libs blkid) \ | ||
33 | -lkmod | ||
34 | sep_end | ||
35 | ################################################################################ | ||
36 | fi | ||
37 | fi |