dump1090: fix soft float ARM build
authorkrant <aleksey.vasilenko@gmail.com>
Mon, 26 Feb 2024 12:57:50 +0000 (14:57 +0200)
committerRosen Penev <rosenp@gmail.com>
Mon, 26 Feb 2024 20:06:11 +0000 (12:06 -0800)
Package CPU features detection is not supporting soft float ARM.
So we disable it altogether.

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
utils/dump1090/Makefile

index bcaaef0d54afcfe82ff1704828a91a5e00e97206..f3c85afd5a7ed395aa99c6b96f648b6c85ff0d6d 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dump1090
 PKG_VERSION:=9.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/flightaware/dump1090/tar.gz/v${PKG_VERSION}?
@@ -58,6 +58,10 @@ MAKE_FLAGS += \
        CFLAGS="$(TARGET_CFLAGS)" \
        UNAME="Linux"
 
+ifeq ($(CONFIG_SOFT_FLOAT),y)
+MAKE_FLAGS += CPUFEATURES=no
+endif
+
 TARGET_LDFLAGS += -Wl,--as-needed
 
 define Package/dump1090/conffiles