libseccomp: workaround a recursive dependency
DEPENDS:=@!arc is causing a recursive dependency because of the optional
selection of libseccomp by util/lxc. The workaround hides the package
in Package/libseccomp/config instead.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from e29483d7e2
)
This commit is contained in:
parent
a1eccf2237
commit
e41a914bf2
1 changed files with 5 additions and 1 deletions
|
@ -26,6 +26,11 @@ PKG_CONFIG_DEPENDS:= \
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
# This is done instead of DEPENDS:=@!arc to avoid a recursive dependency when
|
||||||
|
# the library is conditionally selected by util/lxc.
|
||||||
|
define Package/libseccomp/config
|
||||||
|
depends on !arc
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/libseccomp/Default
|
define Package/libseccomp/Default
|
||||||
SUBMENU:=
|
SUBMENU:=
|
||||||
|
@ -46,7 +51,6 @@ endef
|
||||||
define Package/libseccomp
|
define Package/libseccomp
|
||||||
$(call Package/libseccomp/Default)
|
$(call Package/libseccomp/Default)
|
||||||
TITLE+= (library)
|
TITLE+= (library)
|
||||||
DEPENDS+=
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libseccomp/description
|
define Package/libseccomp/description
|
||||||
|
|
Loading…
Reference in a new issue