mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
treewide: add explicit default variant part 2
Add 'DEFAULT_VARIANT' to two packages, 'iw' and 'eapol-test',
that were missed in the first pass. Refactor 'iw' and 'ethtool'
package definitions to be consistent with the pattern used in most
other packages.
Fixes: https://github.com/openwrt/openwrt/commit/f4fdb996
Fixes: https://github.com/openwrt/openwrt/commit/7a78dc4a
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21380
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit ded99c2984)
This commit is contained in:
parent
ed2d3b143c
commit
eed0ab3e47
3 changed files with 14 additions and 7 deletions
|
|
@ -544,6 +544,7 @@ define Package/eapol-test
|
|||
$(call Package/eapol-test/Default,$(1))
|
||||
TITLE+= (built-in full)
|
||||
VARIANT:=supplicant-full-internal
|
||||
DEFAULT_VARIANT:=1
|
||||
endef
|
||||
|
||||
define Package/eapol-test-openssl
|
||||
|
|
|
|||
|
|
@ -26,24 +26,25 @@ PKG_BUILD_PARALLEL:=1
|
|||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/ethtool
|
||||
define Package/ethtool/Default
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=Display or change ethernet card settings
|
||||
URL:=http://www.kernel.org/pub/software/network/ethtool/
|
||||
endef
|
||||
|
||||
define Package/ethtool
|
||||
$(call Package/ethtool/Default)
|
||||
VARIANT:=tiny
|
||||
CONFLICTS:=ethtool-full
|
||||
DEFAULT_VARIANT:=1
|
||||
endef
|
||||
|
||||
define Package/ethtool-full
|
||||
$(Package/ethtool)
|
||||
$(call Package/ethtool/Default)
|
||||
TITLE += (full)
|
||||
VARIANT:=full
|
||||
PROVIDES:=ethtool
|
||||
DEPENDS:=+libmnl
|
||||
CONFLICTS:=
|
||||
DEFAULT_VARIANT:=
|
||||
endef
|
||||
|
||||
define Package/ethtool/description
|
||||
|
|
|
|||
|
|
@ -23,17 +23,22 @@ PKG_BUILD_FLAGS:=gc-sections lto
|
|||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/iw
|
||||
define Package/iw/Default
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=cfg80211 interface configuration utility
|
||||
URL:=http://wireless.kernel.org/en/users/Documentation/iw
|
||||
DEPENDS:= +libnl-tiny
|
||||
endef
|
||||
|
||||
define Package/iw
|
||||
$(call Package/iw/Default)
|
||||
VARIANT:=tiny
|
||||
DEFAULT_VARIANT:=1
|
||||
endef
|
||||
|
||||
define Package/iw-full
|
||||
$(Package/iw)
|
||||
$(call Package/iw/Default)
|
||||
TITLE += (full version)
|
||||
VARIANT:=full
|
||||
PROVIDES:=iw
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue