From 8f1499c4480068407810d42144a20e4b71ef6786 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Wed, 2 Oct 2013 00:33:49 +0000 Subject: [PATCH] imx6: add default profile Signed-off-by: Luka Perkov SVN-Revision: 38282 --- target/linux/imx6/Makefile | 3 +-- target/linux/imx6/profiles/100-Generic.mk | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 target/linux/imx6/profiles/100-Generic.mk diff --git a/target/linux/imx6/Makefile b/target/linux/imx6/Makefile index b9b2062ef3..3af424e64c 100644 --- a/target/linux/imx6/Makefile +++ b/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)) diff --git a/target/linux/imx6/profiles/100-Generic.mk b/target/linux/imx6/profiles/100-Generic.mk new file mode 100644 index 0000000000..91ca3696ad --- /dev/null +++ b/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))