summary refs log tree commit diff
path: root/package
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-07-24 00:28:32 +0000
committerLaurent Bercot <ska@appnovation.com>2022-07-24 00:28:32 +0000
commit8ad0f7f39526ee0d8f52f44f5434dfd518f8897a (patch)
tree41b3da33258b25b56ab85973b91e4e98dd833ae8 /package
parentd9f63961ec01dc02131ad0967734ae1a058b27b8 (diff)
downloadmdevd-8ad0f7f39526ee0d8f52f44f5434dfd518f8897a.tar.gz
mdevd-8ad0f7f39526ee0d8f52f44f5434dfd518f8897a.tar.xz
mdevd-8ad0f7f39526ee0d8f52f44f5434dfd518f8897a.zip
Add "settle" functionality to mdevd-colplug
- Still untested.
- Also prepare for 0.1.6.0.
- Includes a refactor of several functions in mdevd, moved
into an internal libmdevd that is also used by mdevd-coldplug.

Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'package')
-rw-r--r--package/deps.mak18
-rw-r--r--package/info2
2 files changed, 15 insertions, 5 deletions
diff --git a/package/deps.mak b/package/deps.mak
index a6e8248..7820c93 100644
--- a/package/deps.mak
+++ b/package/deps.mak
@@ -2,10 +2,20 @@
 # This file has been generated by tools/gen-deps.sh
 #
 
-src/mdevd/mdevd-coldplug.o src/mdevd/mdevd-coldplug.lo: src/mdevd/mdevd-coldplug.c
-src/mdevd/mdevd.o src/mdevd/mdevd.lo: src/mdevd/mdevd.c src/include/mdevd/config.h
+src/mdevd/mdevd-coldplug.o src/mdevd/mdevd-coldplug.lo: src/mdevd/mdevd-coldplug.c src/mdevd/mdevd-internal.h
+src/mdevd/mdevd.o src/mdevd/mdevd.lo: src/mdevd/mdevd.c src/mdevd/mdevd-internal.h src/include/mdevd/config.h
+src/mdevd/mdevd_netlink_init.o src/mdevd/mdevd_netlink_init.lo: src/mdevd/mdevd_netlink_init.c
+src/mdevd/mdevd_uevent_getvar.o src/mdevd/mdevd_uevent_getvar.lo: src/mdevd/mdevd_uevent_getvar.c src/mdevd/mdevd-internal.h
+src/mdevd/mdevd_uevent_read.o src/mdevd/mdevd_uevent_read.lo: src/mdevd/mdevd_uevent_read.c src/mdevd/mdevd-internal.h
 
+ifeq ($(strip $(STATIC_LIBS_ARE_PIC)),)
+libmdevd.a.xyzzy: src/mdevd/mdevd_netlink_init.o src/mdevd/mdevd_uevent_read.o src/mdevd/mdevd_uevent_getvar.o
+else
+libmdevd.a.xyzzy: src/mdevd/mdevd_netlink_init.lo src/mdevd/mdevd_uevent_read.lo src/mdevd/mdevd_uevent_getvar.lo
+endif
+libmdevd.so.xyzzy: EXTRA_LIBS :=
+libmdevd.so.xyzzy: src/mdevd/mdevd_netlink_init.lo src/mdevd/mdevd_uevent_read.lo src/mdevd/mdevd_uevent_getvar.lo
 mdevd: EXTRA_LIBS := -lskarnet ${MAYBEPTHREAD_LIB}
-mdevd: src/mdevd/mdevd.o ${LIBNSSS}
+mdevd: src/mdevd/mdevd.o libmdevd.a.xyzzy ${LIBNSSS}
 mdevd-coldplug: EXTRA_LIBS := -lskarnet
-mdevd-coldplug: src/mdevd/mdevd-coldplug.o
+mdevd-coldplug: src/mdevd/mdevd-coldplug.o libmdevd.a.xyzzy
diff --git a/package/info b/package/info
index 2c62800..d2a6a5d 100644
--- a/package/info
+++ b/package/info
@@ -1,4 +1,4 @@
 package=mdevd
-version=0.1.5.2
+version=0.1.6.0
 category=admin
 package_macro_name=MDEVD