kumquat-buildroot/package/rtl_433/rtl_433.mk
Fabrice Fontaine b8f52c1974 package/rtl_433: force Release build
Force Release build to avoid the following build failure which is raised
since the addition of the package in commit
4634e84978:

/tmp/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: cannot find -lasan
/tmp/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: cannot find -lubsan

Fixes:
 - http://autobuild.buildroot.org/results/83274082879f9599bc106e12a253f4b9229ea00b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-08-03 22:32:45 +02:00

35 lines
870 B
Makefile

################################################################################
#
# rtl_433
#
################################################################################
RTL_433_VERSION = 21.05
RTL_433_SITE = $(call github,merbanan,rtl_433,$(RTL_433_VERSION))
RTL_433_LICENSE = GPL-2.0+
RTL_433_LICENSE_FILES = COPYING
# Force Release build to remove ASAN.
RTL_433_CONF_OPTS = \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_DOCUMENTATION=OFF \
-DBUILD_TESTING=OFF \
-DBUILD_TESTING_ANALYZER=OFF \
-DENABLE_SOAPYSDR=OFF
ifeq ($(BR2_PACKAGE_LIBRTLSDR),y)
RTL_433_DEPENDENCIES += librtlsdr
RTL_433_CONF_OPTS += -DENABLE_RTLSDR=ON
else
RTL_433_CONF_OPTS += -DENABLE_RTLSDR=OFF
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
RTL_433_DEPENDENCIES += openssl
RTL_433_CONF_OPTS += -DENABLE_OPENSSL=ON
else
RTL_433_CONF_OPTS += -DENABLE_OPENSSL=OFF
endif
$(eval $(cmake-package))