apm821xx: add missing default profiles for subtargets
authorFelix Fietkau <nbd@nbd.name>
Thu, 21 Jul 2016 13:09:55 +0000 (15:09 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 22 Jul 2016 07:48:12 +0000 (09:48 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/apm821xx/image/Makefile
target/linux/apm821xx/nand/profiles/00-default.mk [new file with mode: 0644]
target/linux/apm821xx/sata/profiles/00-default.mk [new file with mode: 0644]

index 08173c603fdb0c0fc0e44fac9423ae1c81127ff4..649c50101463dc5b09ba9f297769edbe4411c232 100644 (file)
@@ -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 (file)
index 0000000..9b3e84f
--- /dev/null
@@ -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 (file)
index 0000000..7446a08
--- /dev/null
@@ -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))