Browse Source

imx6: add default profile

Signed-off-by: Luka Perkov <[email protected]>

SVN-Revision: 38282
Luka Perkov 12 years ago
parent
commit
8f1499c448
2 changed files with 20 additions and 2 deletions
  1. 1 2
      target/linux/imx6/Makefile
  2. 19 0
      target/linux/imx6/profiles/100-Generic.mk

+ 1 - 2
target/linux/imx6/Makefile

@@ -20,7 +20,6 @@ include $(INCLUDE_DIR)/target.mk
 
 KERNELNAME:="zImage dtbs"
 
-DEFAULT_PACKAGES += \
-	kmod-thermal-imx kmod-usb-chipidea kmod-usb-mxs-phy uboot-envtools
+DEFAULT_PACKAGES +=
 
 $(eval $(call BuildTarget))

+ 19 - 0
target/linux/imx6/profiles/100-Generic.mk

@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Generic
+  NAME:=Generic (default)
+  PACKAGES:= \
+	kmod-thermal-imx kmod-usb-chipidea kmod-usb-mxs-phy \
+	uboot-envtools
+endef
+
+define Profile/Generic/Description
+ Package set compatible with most Freescale i.MX 6 based boards.
+endef
+
+$(eval $(call Profile,Generic))