mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
3a4ad758f5
The device part in the SUNXI_DTS variable always corresponds to device node name. This is another redundancy that can be removed by calculating the DTS name from a newly introduced SUNXI_SOC variable and the node name. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
80 lines
1.7 KiB
Makefile
80 lines
1.7 KiB
Makefile
#
|
|
# Copyright (C) 2013-2016 OpenWrt.org
|
|
# Copyright (C) 2016 Yousong Zhou
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
ifeq ($(SUBTARGET),cortexa53)
|
|
|
|
define Device/friendlyarm_nanopi-neo-plus2
|
|
DEVICE_VENDOR := FriendlyARM
|
|
DEVICE_MODEL := NanoPi NEO Plus2
|
|
SUPPORTED_DEVICES:=nanopi-neo-plus2
|
|
SUNXI_DTS_DIR := allwinner/
|
|
SUNXI_SOC := sun50i-h5
|
|
KERNEL_NAME := Image
|
|
KERNEL := kernel-bin
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo-plus2
|
|
|
|
define Device/friendlyarm_nanopi-neo2
|
|
DEVICE_VENDOR := FriendlyARM
|
|
DEVICE_MODEL := NanoPi NEO2
|
|
SUPPORTED_DEVICES:=nanopi-neo2
|
|
SUNXI_DTS_DIR := allwinner/
|
|
SUNXI_SOC := sun50i-h5
|
|
KERNEL_NAME := Image
|
|
KERNEL := kernel-bin
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo2
|
|
|
|
define Device/pine64_pine64-plus
|
|
DEVICE_VENDOR := Pine64
|
|
DEVICE_MODEL := Pine64+
|
|
SUNXI_DTS_DIR := allwinner/
|
|
SUNXI_SOC := sun50i-a64
|
|
KERNEL_NAME := Image
|
|
KERNEL := kernel-bin
|
|
endef
|
|
|
|
TARGET_DEVICES += pine64_pine64-plus
|
|
|
|
define Device/pine64_sopine-baseboard
|
|
DEVICE_VENDOR := Pine64
|
|
DEVICE_MODEL := SoPine
|
|
SUNXI_DTS_DIR := allwinner/
|
|
SUNXI_SOC := sun50i-a64
|
|
KERNEL_NAME := Image
|
|
KERNEL := kernel-bin
|
|
endef
|
|
|
|
TARGET_DEVICES += pine64_sopine-baseboard
|
|
|
|
|
|
define Device/xunlong_orangepi-zero-plus
|
|
DEVICE_VENDOR := Xunlong
|
|
DEVICE_MODEL := Orange Pi Zero Plus
|
|
SUNXI_DTS_DIR := allwinner/
|
|
SUNXI_SOC := sun50i-h5
|
|
KERNEL_NAME := Image
|
|
KERNEL := kernel-bin
|
|
endef
|
|
|
|
TARGET_DEVICES += xunlong_orangepi-zero-plus
|
|
|
|
define Device/xunlong_orangepi-pc2
|
|
DEVICE_VENDOR := Xunlong
|
|
DEVICE_MODEL := Orange Pi PC 2
|
|
SUNXI_DTS_DIR := allwinner/
|
|
SUNXI_SOC := sun50i-h5
|
|
KERNEL_NAME := Image
|
|
KERNEL := kernel-bin
|
|
endef
|
|
|
|
TARGET_DEVICES += xunlong_orangepi-pc2
|
|
|
|
endif
|