knot: Do not try to build under ARC
liburcu does not support ARC. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
83c40700a4
commit
5ec47ca837
1 changed files with 4 additions and 1 deletions
|
@ -44,12 +44,13 @@ endef
|
||||||
define Package/knot-libs
|
define Package/knot-libs
|
||||||
$(call Package/knot-lib/Default)
|
$(call Package/knot-lib/Default)
|
||||||
TITLE+= common DNS and DNSSEC libraries
|
TITLE+= common DNS and DNSSEC libraries
|
||||||
DEPENDS+=+libgnutls +lmdb
|
DEPENDS+=+libgnutls +lmdb @!arc
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/knot-libzscanner
|
define Package/knot-libzscanner
|
||||||
$(call Package/knot-lib/Default)
|
$(call Package/knot-lib/Default)
|
||||||
TITLE+= zone parser library
|
TITLE+= zone parser library
|
||||||
|
DEPENDS+=@!arc
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/knot
|
define Package/knot
|
||||||
|
@ -166,6 +167,7 @@ define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/tests check-compile
|
$(MAKE) -C $(PKG_BUILD_DIR)/tests check-compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_arc),y)
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{a,so*} $(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_DIR) $(1)/usr/lib/pkgconfig
|
||||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig/
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig/
|
||||||
endef
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define Package/knot-libs/install
|
define Package/knot-libs/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
|
Loading…
Reference in a new issue