mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
057e5f6ede
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: Adrian Schmutzler <freifunk@adrianschmutzler.de>
25 lines
430 B
Makefile
25 lines
430 B
Makefile
#
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=arc
|
|
BOARD:=arc770
|
|
BOARDNAME:=Synopsys DesignWare ARC 770D
|
|
SUBTARGETS:=generic
|
|
|
|
KERNEL_PATCHVER:=4.14
|
|
|
|
DEVICE_TYPE:=basic
|
|
|
|
define Target/Description
|
|
Synopsys DesignWare boards
|
|
endef
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
$(eval $(call BuildTarget))
|