mirror of
https://github.com/openwrt/packages.git
synced 2026-12-06 13:05:29 +04:00
coreutils: Adjust coreutils dependency in each app to be selective
Adjust the dependency to the virtual coreutils main package in each app to be selective. Otherwise you need to first select the main coreutils before the actuall apps can be selected. That has prevented other applications from depending on just one individual coreutils app, as they have needed to depend also on the empty main coreutils package. Reference to discussion in: https://github.com/openwrt/luci/issues/7605 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
1 parent
2d3f68cc8c
commit
82852a9f15
1 file changed
+2
-2
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=coreutils
|
||||
PKG_VERSION:=9.6
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=@GNU/coreutils
|
||||
@@ -95,7 +95,7 @@ endef
|
||||
define GenPlugin
|
||||
define Package/$(1)
|
||||
$(call Package/coreutils/Default)
|
||||
DEPENDS:=coreutils $(DEPENDS_$(2))
|
||||
DEPENDS:=+coreutils $(DEPENDS_$(2))
|
||||
TITLE:=Utility $(2) from the GNU core utilities
|
||||
ALTERNATIVES:=$(ALTS_$(2))
|
||||
endef
|
||||
|
||||
Reference in new issue
Block a user