[OpenWrt-Devel] [PATCH v4 3/4] mvebu: add target 'harddisk'

josua.mayer97 at gmail.com josua.mayer97 at gmail.com
Wed May 4 15:24:27 EDT 2016


From: Josua Mayer <josua.mayer97 at gmail.com>

This target is meant for any mvebu-based boards that can boot from internal
or external storage devices such as mmc, emmc, sata.

The Clearfog board is the first one this profile was applied to.

Signed-off-by: Josua Mayer <josua.mayer97 at gmail.com>
---
 target/linux/mvebu/generic/profiles/solidrun.mk  | 21 ---------------------
 target/linux/mvebu/harddisk/profiles/solidrun.mk | 21 +++++++++++++++++++++
 target/linux/mvebu/harddisk/target.mk            |  6 ++++++
 3 files changed, 27 insertions(+), 21 deletions(-)
 delete mode 100644 target/linux/mvebu/generic/profiles/solidrun.mk
 create mode 100644 target/linux/mvebu/harddisk/profiles/solidrun.mk
 create mode 100644 target/linux/mvebu/harddisk/target.mk

diff --git a/target/linux/mvebu/generic/profiles/solidrun.mk b/target/linux/mvebu/generic/profiles/solidrun.mk
deleted file mode 100644
index 5aa61e2..0000000
--- a/target/linux/mvebu/generic/profiles/solidrun.mk
+++ /dev/null
@@ -1,21 +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/Solidrun-Clearfog-A1
-  NAME:=SolidRun ClearFog A1 board
-  PACKAGES:= \
-	kmod-usb3 kmod-usb2 kmod-usb-storage \
-	kmod-of-i2c kmod-i2c-core kmod-i2c-mv64xxx \
-	kmod-ata-core kmod-ata-marvell-sata \
-	kmod-thermal-armada kmod-rtc-marvell
-endef
-
-define Profile/Solidrun-Clearfog-A1/Description
- Package set compatible with the SolidRun ClearFog A1 board
-endef
-
-$(eval $(call Profile,Solidrun-Clearfog-A1))
diff --git a/target/linux/mvebu/harddisk/profiles/solidrun.mk b/target/linux/mvebu/harddisk/profiles/solidrun.mk
new file mode 100644
index 0000000..5aa61e2
--- /dev/null
+++ b/target/linux/mvebu/harddisk/profiles/solidrun.mk
@@ -0,0 +1,21 @@
+#
+# Copyright (C) 2016 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Solidrun-Clearfog-A1
+  NAME:=SolidRun ClearFog A1 board
+  PACKAGES:= \
+	kmod-usb3 kmod-usb2 kmod-usb-storage \
+	kmod-of-i2c kmod-i2c-core kmod-i2c-mv64xxx \
+	kmod-ata-core kmod-ata-marvell-sata \
+	kmod-thermal-armada kmod-rtc-marvell
+endef
+
+define Profile/Solidrun-Clearfog-A1/Description
+ Package set compatible with the SolidRun ClearFog A1 board
+endef
+
+$(eval $(call Profile,Solidrun-Clearfog-A1))
diff --git a/target/linux/mvebu/harddisk/target.mk b/target/linux/mvebu/harddisk/target.mk
new file mode 100644
index 0000000..03c77e0
--- /dev/null
+++ b/target/linux/mvebu/harddisk/target.mk
@@ -0,0 +1,6 @@
+BOARDNAME:=Internal Hard-Disk
+
+define Target/Description
+	Build firmware images for mvebu based boards that boot directly from internal or external
+	disk storage (e.g : Clearfog)
+endef
-- 
2.6.6
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list