From 44c39d581254862c63ba0dfaad1ddd99eaec968a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 21 Jul 2016 15:09:55 +0200 Subject: [PATCH] apm821xx: add missing default profiles for subtargets Signed-off-by: Felix Fietkau --- target/linux/apm821xx/image/Makefile | 1 + .../apm821xx/nand/profiles/00-default.mk | 22 +++++++++++++++++++ .../apm821xx/sata/profiles/00-default.mk | 18 +++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 target/linux/apm821xx/nand/profiles/00-default.mk create mode 100644 target/linux/apm821xx/sata/profiles/00-default.mk diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile index 08173c603f..649c501014 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 0000000000..9b3e84feaf --- /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 0000000000..7446a080bd --- /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)) -- 2.30.2