Skip to content
Snippets Groups Projects
Commit 057e5f6e authored by Adrian Schmutzler's avatar Adrian Schmutzler
Browse files

treewide: provide consistent basic DEVICE_TYPE


While the effective "default" based on frequent use is "router", the
DEVICE_TYPE variable actually provides a "basic" configuration without
selecting any additional packages.

This is currently set up with the identifier "bootloader", which seems
to be not used at all. However, the only targets not using "router" or
"nas" are actually archs38 and arc770, which use their own value
"developerboard" for DEVICE_TYPE which seems to have been invented when
these targets where added. The latter is not implemented in target.mk,
though, and will fall back to the "basic" set of packages then.

So, to clean this up and make it more readable, let's just define a
DEVICE_TYPE "basic" and use it for the aforementioned cases.

Cc: Christian Lamparter <chunkeey@gmail.com>
Cc: Sungbo Eo <mans0n@gorani.run>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
parent 64ebf74c
No related branches found
No related tags found
No related merge requests found
......@@ -14,11 +14,12 @@ DEVICE_TYPE?=router
# Default packages - the really basic set
DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd urandom-seed urngd
# For the basic set
DEFAULT_PACKAGES.basic:=
# For nas targets
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.bootloader:=
ifneq ($(DUMP),)
all: dumpinfo
......
......@@ -13,7 +13,7 @@ SUBTARGETS:=generic
KERNEL_PATCHVER:=4.14
DEVICE_TYPE:=developerboard
DEVICE_TYPE:=basic
define Target/Description
Synopsys DesignWare boards
......
......@@ -14,7 +14,7 @@ SUBTARGETS:=generic
KERNEL_PATCHVER:=5.4
DEVICE_TYPE:=developerboard
DEVICE_TYPE:=basic
define Target/Description
Synopsys DesignWare boards
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment