knot: Do not try to build under ARC 10941/head
authorRosen Penev <rosenp@gmail.com>
Sat, 4 Jan 2020 03:08:21 +0000 (19:08 -0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 8 Jan 2020 23:52:07 +0000 (15:52 -0800)
liburcu does not support ARC.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/knot/Makefile

index cf53f74a30276d8f8a24bc78685ff94c7a0568f2..b83991d410369af911d8a27e28f96fa9a12448d6 100644 (file)
@@ -44,12 +44,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
@@ -166,6 +167,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/
@@ -182,6 +184,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