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 be4c5a3af2
commit 103a6627ec
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -34,22 +34,7 @@ DEFAULT_PACKAGES+=busybox procd
endif
# For the basic set
DEFAULT_PACKAGES.basic:=\
ca-certificates \
coreutils \
default-settings \
kmod-ipt-raw \
kmod-nf-nathelper \
kmod-nf-nathelper-extra \
luci \
luci-app-cpufreq \
luci-app-turboacc \
luci-compat \
luci-lib-base \
luci-lib-fs \
luci-lib-ipkg \
luci-proto-relay \
wget-ssl
DEFAULT_PACKAGES.basic:=
# For nas targets
DEFAULT_PACKAGES.nas:=\
block-mount \
@ -67,6 +52,24 @@ DEFAULT_PACKAGES.router:=\
odhcpd-ipv6only \
ppp \
ppp-mod-pppoe
# For easy usage
DEFAULT_PACKAGES.tweak:=\
block-mount \
ca-certificates \
coreutils \
default-settings \
kmod-ipt-raw \
kmod-nf-nathelper \
kmod-nf-nathelper-extra \
luci \
luci-app-cpufreq \
luci-app-turboacc \
luci-compat \
luci-lib-base \
luci-lib-fs \
luci-lib-ipkg \
luci-proto-relay \
wget-ssl
ifneq ($(DUMP),)
all: dumpinfo
@ -99,8 +102,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))