knot: Do not try to build under ARC

liburcu does not support ARC.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 5ec47ca837)
This commit is contained in:
Rosen Penev 2020-01-03 19:08:21 -08:00
parent b4febf32c5
commit 78d7c8aef5
No known key found for this signature in database
GPG key ID: 36D31CFA845F0E3B

View file

@ -45,12 +45,13 @@ endef
define Package/knot-libs
$(call Package/knot-lib/Default)
TITLE+= common DNS and DNSSEC libraries
DEPENDS+=+libgnutls +lmdb
DEPENDS+=+libgnutls +lmdb @!arc
endef
define Package/knot-libzscanner
$(call Package/knot-lib/Default)
TITLE+= zone parser library
DEPENDS+=@!arc
endef
define Package/knot
@ -167,6 +168,7 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/tests check-compile
endef
ifneq ($(CONFIG_arc),y)
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{a,so*} $(1)/usr/lib/
@ -183,6 +185,7 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig/
endef
endif
define Package/knot-libs/install
$(INSTALL_DIR) $(1)/usr/lib