Skip to content

Commit

Permalink
build: sort default packages and split by newlines
Browse files Browse the repository at this point in the history
The line of default packages became very long and it is easier to read
one package per line, therefore split it by newlines and sort it
alphabetically.

Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar authored and dangowrt committed Aug 31, 2020
1 parent e79df35 commit cc5bdcd
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions include/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,42 @@ __target_inc=1
DEVICE_TYPE?=router

# Default packages - the really basic set
DEFAULT_PACKAGES:=base-files busybox ca-bundle dropbear fstools libc libgcc logd libustream-wolfssl mtd netifd opkg uci uclient-fetch urandom-seed urngd
DEFAULT_PACKAGES:=\
base-files \
busybox \
ca-bundle \
dropbear \
fstools \
libc \
libgcc \
libustream-wolfssl \
logd \
mtd \
netifd \
opkg \
uci \
uclient-fetch \
urandom-seed \
urngd
# For the basic set
DEFAULT_PACKAGES.basic:=
# For nas targets
DEFAULT_PACKAGES.nas:=block-mount fdisk lsblk mdadm
DEFAULT_PACKAGES.nas:=\
block-mount \
fdisk \
lsblk \
mdadm
# For router targets
DEFAULT_PACKAGES.router:=dnsmasq iptables ip6tables ppp ppp-mod-pppoe firewall odhcpd-ipv6only odhcp6c kmod-ipt-offload
DEFAULT_PACKAGES.router:=\
dnsmasq \
firewall \
ip6tables \
iptables \
kmod-ipt-offload \
odhcp6c \
odhcpd-ipv6only \
ppp \
ppp-mod-pppoe

ifneq ($(DUMP),)
all: dumpinfo
Expand Down

0 comments on commit cc5bdcd

Please sign in to comment.