include $(TOPDIR)/rules.mk
PKG_NAME:=kamailio
-PKG_VERSION:=5.5.0
-PKG_RELEASE:=1
+PKG_VERSION:=5.5.2
+PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE_URL:=https://www.kamailio.org/pub/kamailio/$(PKG_VERSION)/src
PKG_SOURCE:=kamailio-$(PKG_VERSION)_src.tar.gz
-PKG_HASH:=d51cc08d20338fbb41f17d4fd2e4c4b67508c74f44613f0bd0c65269ff3557a3
+PKG_HASH:=998f337d0561b5d814ebb5c59b160e0c856e7c9f3e53bcee0f3285d003d1c05c
PKG_USE_MIPS16:=0
PKG_LICENSE:=GPL-2.0+
# Upstream adds "-funroll-loops" to compiler flags, which increases
# binary size significantly. Remove this flag.
$(SED) 's/[ ]*-funroll-loops//' $(PKG_BUILD_DIR)/src/Makefile.defs
+ # Also remove -march=arm... flags as they can clash with
+ # CONFIG_TARGET_OPTIMIZATION.
+ $(SED) 's/-march=armv[0-7a-z-]*[ ]*//' $(PKG_BUILD_DIR)/src/Makefile.defs
endef
define Build/Configure