oxnas: reorganize image build code and nuke profiles

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2016-05-15 04:31:25 +02:00
parent 449aba4fe8
commit 70eb03469f
7 changed files with 36 additions and 119 deletions

View File

@@ -7,11 +7,11 @@
define Profile/Default
NAME:=Default Profile
PRIORITY:=1
PACKAGES:=\
kmod-usb-core kmod-usb3 kmod-ledtrig-usbdev \
kmod-usb-storage \
kmod-i2c-gpio kmod-rtc-pcf8563 kmod-rtc-ds1307 \
kmod-gpio-beeper kmod-hwmon-core kmod-hwmon-gpiofan
kmod-i2c-gpio kmod-gpio-beeper kmod-hwmon-core \
kmod-hwmon-gpiofan kmod-rtc-pcf8563 kmod-rtc-ds1307 \
kmod-usb3
endef
define Profile/Default/Description

View File

@@ -1,17 +0,0 @@
# Copyright (C) 2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define Profile/AKITIO
NAME:=Akitio MyCloud mini / Silverstone DC01
PACKAGES:= \
kmod-usb-storage kmod-i2c-gpio kmod-rtc-ds1307
endef
define Profile/AKITIO/Description
Profile for the Akitio MyCloud mini aka. Silverstone DC01
endef
$(eval $(call Profile,AKITIO))

View File

@@ -1,26 +0,0 @@
# Copyright (C) 2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define Profile/POGOPLUG_PRO
NAME:=Cloud Engines Pogoplug Pro
endef
define Profile/POGOPLUG_PRO/Description
Profile with built-in ox820 Pogoplug Pro device-tree
(board with miniPCIe slot)
endef
define Profile/POGOPLUG_V3
NAME:=Cloud Engines Pogoplug V3
endef
define Profile/POGOPLUG_V3/Description
Profile with built-in ox820 Pogoplug V3 device-tree
(board without miniPCIe slot)
endef
$(eval $(call Profile,POGOPLUG_PRO))
$(eval $(call Profile,POGOPLUG_V3))

View File

@@ -1,15 +0,0 @@
# 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,18 +0,0 @@
# 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))