oxnas: add Default profile and reorganize device profiles

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 49040
This commit is contained in:
John Crispin 2016-03-20 14:41:13 +00:00
parent 4fe3fda78a
commit 3cea0747d6
4 changed files with 52 additions and 23 deletions

View File

@ -0,0 +1,18 @@
#
# Copyright (C) 2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define Profile/Default
NAME:=Default Profile
PACKAGES:=\
kmod-usb-core kmod-usb3 \
kmod-ledtrig-usbdev
endef
define Profile/Default/Description
Default package set compatible with most boards.
endef
$(eval $(call Profile,Default))

View File

@ -0,0 +1,15 @@
# Copyright (C) 2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define Profile/STG212
NAME:=MitraStar STG-212
endef
define Profile/STG212/Description
Profile with built-in ox820 STG-212 device-tree
endef
$(eval $(call Profile,STG212))

View File

@ -1,5 +1,4 @@
#
# Copyright (C) 2014 OpenWrt.org
# Copyright (C) 2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -23,26 +22,5 @@ define Profile/POGOPLUG_V3/Description
(board without miniPCIe slot)
endef
define Profile/STG212
NAME:=MitraStar STG-212
endef
define Profile/STG212/Description
Profile with built-in ox820 STG-212 device-tree
endef
define Profile/KD20
NAME:=Shuttle KD20
PACKAGES:= \
kmod-usb3 kmod-usb-storage kmod-i2c-gpio kmod-rtc-pcf8563 \
kmod-gpio-beeper kmod-hwmon-core kmod-hwmon-gpiofan
endef
define Profile/KD20/Description
Profile with built-in ox820 KD20 device-tree
endef
$(eval $(call Profile,POGOPLUG_PRO))
$(eval $(call Profile,POGOPLUG_V3))
$(eval $(call Profile,STG212))
$(eval $(call Profile,KD20))

View File

@ -0,0 +1,18 @@
# Copyright (C) 2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define Profile/KD20
NAME:=Shuttle KD20
PACKAGES:= \
kmod-usb3 kmod-usb-storage kmod-i2c-gpio kmod-rtc-pcf8563 \
kmod-gpio-beeper kmod-hwmon-core kmod-hwmon-gpiofan
endef
define Profile/KD20/Description
Profile with built-in ox820 KD20 device-tree
endef
$(eval $(call Profile,KD20))