target.mk: rename default tweaked packages

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2021-05-09 20:23:04 +08:00
parent f577b920d6
commit 5864a10050
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -34,7 +34,27 @@ DEFAULT_PACKAGES+=busybox procd
endif
# For the basic set
DEFAULT_PACKAGES.basic:=\
DEFAULT_PACKAGES.basic:=
# For nas targets
DEFAULT_PACKAGES.nas:=\
block-mount \
fdisk \
lsblk \
mdadm
# For router targets
DEFAULT_PACKAGES.router:=\
dnsmasq-full \
firewall \
ip6tables \
iptables \
kmod-ipt-offload \
odhcp6c \
odhcpd-ipv6only \
ppp \
ppp-mod-pppoe
# For easy usage
DEFAULT_PACKAGES.tweak:=\
block-mount \
ca-certificates \
coreutils \
ddns-scripts_aliyun \
@ -60,23 +80,6 @@ DEFAULT_PACKAGES.basic:=\
luci-lib-ipkg \
luci-proto-relay \
wget-ssl
# For nas targets
DEFAULT_PACKAGES.nas:=\
block-mount \
fdisk \
lsblk \
mdadm
# For router targets
DEFAULT_PACKAGES.router:=\
dnsmasq-full \
firewall \
ip6tables \
iptables \
kmod-ipt-offload \
odhcp6c \
odhcpd-ipv6only \
ppp \
ppp-mod-pppoe
ifneq ($(DUMP),)
all: dumpinfo
@ -109,8 +112,8 @@ else
endif
endif
# Add basic packages
DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.basic)
# Add tweaked packages
DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.tweak)
# Add device specific packages (here below to allow device type set from subtarget)
DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE))