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>
72 lines
1.7 KiB
Makefile
72 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),cortexa8)
|
|
|
|
define Device/olimex_a10-olinuxino-lime
|
|
DEVICE_VENDOR := Olimex
|
|
DEVICE_MODEL := A10-OLinuXino-LIME
|
|
DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
|
|
SUNXI_SOC := sun4i
|
|
endef
|
|
|
|
TARGET_DEVICES += olimex_a10-olinuxino-lime
|
|
|
|
|
|
define Device/olimex_a13-olimex-som
|
|
DEVICE_VENDOR := Olimex
|
|
DEVICE_MODEL := A13-SOM
|
|
DEVICE_PACKAGES:=kmod-rtl8192cu
|
|
SUPPORTED_DEVICES:=olimex,a13-olinuxino
|
|
SUNXI_SOC := sun5i-a13
|
|
SUNXI_DTS := sun5i-a13-olinuxino
|
|
endef
|
|
|
|
TARGET_DEVICES += olimex_a13-olimex-som
|
|
|
|
|
|
define Device/olimex_a13-olinuxino
|
|
DEVICE_VENDOR := Olimex
|
|
DEVICE_MODEL := A13-OLinuXino
|
|
DEVICE_PACKAGES:=kmod-rtl8192cu
|
|
SUNXI_SOC := sun5i
|
|
endef
|
|
|
|
TARGET_DEVICES += olimex_a13-olinuxino
|
|
|
|
|
|
define Device/cubietech_a10-cubieboard
|
|
DEVICE_VENDOR := Cubietech
|
|
DEVICE_MODEL := Cubieboard
|
|
DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
|
|
SUNXI_SOC := sun4i
|
|
endef
|
|
|
|
TARGET_DEVICES += cubietech_a10-cubieboard
|
|
|
|
|
|
define Device/linksprite_a10-pcduino
|
|
DEVICE_VENDOR := LinkSprite
|
|
DEVICE_MODEL := pcDuino
|
|
DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-rtl8192cu
|
|
SUNXI_SOC := sun4i
|
|
endef
|
|
|
|
TARGET_DEVICES += linksprite_a10-pcduino
|
|
|
|
|
|
define Device/marsboard_a10-marsboard
|
|
DEVICE_VENDOR := HAOYU Electronics
|
|
DEVICE_MODEL := MarsBoard A10
|
|
DEVICE_PACKAGES:=mod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi sound-soc-sunxi
|
|
SUNXI_SOC := sun4i
|
|
endef
|
|
|
|
TARGET_DEVICES += marsboard_a10-marsboard
|
|
|
|
endif
|