mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
package/wireshark: add systemd optional dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
7cb7fb8191
commit
aa882c1834
@ -18,8 +18,7 @@ WIRESHARK_MAKE_ENV = \
|
|||||||
WIRESHARK_CONF_OPTS = \
|
WIRESHARK_CONF_OPTS = \
|
||||||
-DENABLE_PCAP=ON \
|
-DENABLE_PCAP=ON \
|
||||||
-DENABLE_SMI=OFF \
|
-DENABLE_SMI=OFF \
|
||||||
-DENABLE_STATIC=OFF \
|
-DENABLE_STATIC=OFF
|
||||||
-DBUILD_sdjournal=OFF
|
|
||||||
|
|
||||||
# wireshark needs the host version of lemon during compilation.
|
# wireshark needs the host version of lemon during compilation.
|
||||||
# This binrary is provided by sqlite-src (which is different from
|
# This binrary is provided by sqlite-src (which is different from
|
||||||
@ -141,6 +140,13 @@ else
|
|||||||
WIRESHARK_CONF_OPTS += -DENABLE_SPANDSP=OFF
|
WIRESHARK_CONF_OPTS += -DENABLE_SPANDSP=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||||
|
WIRESHARK_CONF_OPTS += -DBUILD_sdjournal=ON
|
||||||
|
WIRESHARK_DEPENDENCIES += systemd
|
||||||
|
else
|
||||||
|
WIRESHARK_CONF_OPTS += -DBUILD_sdjournal=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
define WIRESHARK_REMOVE_DOCS
|
define WIRESHARK_REMOVE_DOCS
|
||||||
find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \
|
find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \
|
||||||
-o -name '*.html' -print0 | xargs -0 rm -f
|
-o -name '*.html' -print0 | xargs -0 rm -f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user