[source] apm821xx: add missing default profiles for subtargets
LEDE Commits
lede-commits at lists.infradead.org
Fri Jul 22 03:50:19 PDT 2016
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=44c39d581254862c63ba0dfaad1ddd99eaec968a
commit 44c39d581254862c63ba0dfaad1ddd99eaec968a
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Jul 21 15:09:55 2016 +0200
apm821xx: add missing default profiles for subtargets
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
target/linux/apm821xx/image/Makefile | 1 +
target/linux/apm821xx/nand/profiles/00-default.mk | 22 ++++++++++++++++++++++
target/linux/apm821xx/sata/profiles/00-default.mk | 18 ++++++++++++++++++
3 files changed, 41 insertions(+)
diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile
index 08173c6..649c501 100644
--- a/target/linux/apm821xx/image/Makefile
+++ b/target/linux/apm821xx/image/Makefile
@@ -9,6 +9,7 @@ include $(INCLUDE_DIR)/host.mk
DEVICE_VARS += DEVICE_DTS DEVICE_PROFILE IMAGE_SIZE DTB_SIZE
define Device/Default
+ PROFILES := Default
KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts)
DEVICE_PROFILE :=
DEVICE_DTS :=
diff --git a/target/linux/apm821xx/nand/profiles/00-default.mk b/target/linux/apm821xx/nand/profiles/00-default.mk
new file mode 100644
index 0000000..9b3e84f
--- /dev/null
+++ b/target/linux/apm821xx/nand/profiles/00-default.mk
@@ -0,0 +1,22 @@
+#
+# 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
+ PRIORITY:=1
+ PACKAGES := badblocks block-mount e2fsprogs \
+ kmod-ath9k kmod-dm kmod-fs-ext4 kmod-fs-vfat kmod-ledtrig-usbdev \
+ kmod-md-mod kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-15 \
+ kmod-nls-utf8 kmod-usb3 kmod-usb-dwc2 kmod-usb-storage \
+ kmod-spi-gpio partx-utils swconfig wpad-mini
+endef
+
+define Profile/Default/Description
+ Default package set
+endef
+
+$(eval $(call Profile,Default))
diff --git a/target/linux/apm821xx/sata/profiles/00-default.mk b/target/linux/apm821xx/sata/profiles/00-default.mk
new file mode 100644
index 0000000..7446a08
--- /dev/null
+++ b/target/linux/apm821xx/sata/profiles/00-default.mk
@@ -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
+ PRIORITY:=1
+ PACKAGES := kmod-usb-dwc2 kmod-ledtrig-usbdev kmod-usb-storage kmod-fs-vfat wpad-mini
+endef
+
+define Profile/Default/Description
+ Default package set
+endef
+
+$(eval $(call Profile,Default))
More information about the lede-commits
mailing list