mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
package/gnuradio: add optional log4cpp dependency
Currently, logger component is enabled if log4cpp is found
Moreover, it should be noted that log4cpp is now mandatory in latest
upstream:
d242896120
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 50e1d12e073d2f042730fe6cf0b1915df5afb8af)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
335165f718
commit
1f04edb23b
@ -56,6 +56,12 @@ config BR2_PACKAGE_GNURADIO_FEC
|
|||||||
help
|
help
|
||||||
FEC signal processing blocks
|
FEC signal processing blocks
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GNURADIO_LOG
|
||||||
|
bool "gr-log support"
|
||||||
|
select BR2_PACKAGE_LOG4CPP
|
||||||
|
help
|
||||||
|
Enable logger component
|
||||||
|
|
||||||
config BR2_PACKAGE_GNURADIO_PYTHON
|
config BR2_PACKAGE_GNURADIO_PYTHON
|
||||||
bool "python support"
|
bool "python support"
|
||||||
depends on BR2_PACKAGE_PYTHON
|
depends on BR2_PACKAGE_PYTHON
|
||||||
|
@ -115,6 +115,13 @@ else
|
|||||||
GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=OFF
|
GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GNURADIO_LOG),y)
|
||||||
|
GNURADIO_DEPENDENCIES += log4cpp
|
||||||
|
GNURADIO_CONF_OPTS += -DENABLE_GR_LOG=ON
|
||||||
|
else
|
||||||
|
GNURADIO_CONF_OPTS += -DENABLE_GR_LOG=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y)
|
ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y)
|
||||||
GNURADIO_DEPENDENCIES += python
|
GNURADIO_DEPENDENCIES += python
|
||||||
GNURADIO_CONF_OPTS += -DENABLE_PYTHON=ON
|
GNURADIO_CONF_OPTS += -DENABLE_PYTHON=ON
|
||||||
|
Loading…
x
Reference in New Issue
Block a user