From: John Crispin Date: Tue, 17 May 2016 18:03:22 +0000 (+0200) Subject: imx6: move profile definitions to the image/Makefile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9e41c3f54e3c;p=openwrt%2Fstaging%2Fdangole.git imx6: move profile definitions to the image/Makefile Signed-off-by: John Crispin --- diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 584ac7a060..931076f914 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linux/imx6/image/Makefile @@ -116,7 +116,8 @@ endef DEVICE_VARS += DEVICE_DTS define Device/ventana - PROFILES = Generic VENTANA + PROFILES := Generic VENTANA + DEVICE_TITLE := Gateworks Ventana family DEVICE_DTS:= \ imx6dl-gw51xx \ imx6dl-gw52xx \ @@ -131,16 +132,24 @@ define Device/ventana imx6q-gw5400-a \ imx6q-gw551x \ imx6q-gw552x + DEVICE_PACKAGES := kmod-thermal-imx kmod-sky2 kmod-usb-chipidea-imx kmod-usb-mxs-phy \ + kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \ + kmod-can kmod-can-flexcan kmod-can-raw \ + kmod-rtc-ds1672 kmod-gpio-pca953x kmod-hwmon-gsc kmod-eeprom-at24 \ + kmod-leds-gpio kmod-pps-gpio kmod-gw16083 \ + kobs-ng IMAGES := nand_normal.ubi nand_large.ubi bootfs.tar.gz IMAGE/nand_normal.ubi := ubi-boot-overlay normal 2048 124KiB 128KiB 8124 IMAGE/nand_large.ubi := ubi-boot-overlay large 4096 248KiB 256KiB 8124 IMAGE/bootfs.tar.gz := bootfs.tar.gz - IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2) + IMAGE_NAME := $$(IMAGE_PREFIX)-$$(1)-$$(2) endef define Device/wandboard - PROFILES = Generic IMX6DL_WANDBOARD + PROFILES := Generic IMX6DL_WANDBOARD + DEVICE_TITLE := Wandboard Dual DEVICE_DTS := imx6dl-wandboard + DEVICE_PACKAGES := kmod-thermal-imx kmod-usb-chipidea-imx kmod-usb-mxs-phy endef TARGET_DEVICES += \ diff --git a/target/linux/imx6/profiles/100-generic.mk b/target/linux/imx6/profiles/100-generic.mk index cdb58e4a1e..d977f9ab77 100644 --- a/target/linux/imx6/profiles/100-generic.mk +++ b/target/linux/imx6/profiles/100-generic.mk @@ -6,6 +6,7 @@ # define Profile/Generic + PRIORITY:=1 NAME:=Generic (default) PACKAGES:= \ kmod-thermal-imx kmod-usb-chipidea-imx kmod-usb-mxs-phy diff --git a/target/linux/imx6/profiles/110-wandboard.mk b/target/linux/imx6/profiles/110-wandboard.mk deleted file mode 100644 index 0763355ebc..0000000000 --- a/target/linux/imx6/profiles/110-wandboard.mk +++ /dev/null @@ -1,14 +0,0 @@ -# -# Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/IMX6DL_WANDBOARD - NAME:=Wandboard Dual - PACKAGES:= \ - kmod-thermal-imx kmod-usb-chipidea-imx kmod-usb-mxs-phy -endef - -$(eval $(call Profile,IMX6DL_WANDBOARD)) diff --git a/target/linux/imx6/profiles/120-gateworks.mk b/target/linux/imx6/profiles/120-gateworks.mk deleted file mode 100644 index 87b5821c90..0000000000 --- a/target/linux/imx6/profiles/120-gateworks.mk +++ /dev/null @@ -1,39 +0,0 @@ -# -# Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/VENTANA - NAME:=Gateworks Ventana family - PACKAGES:= \ - kmod-thermal-imx kmod-sky2 kmod-usb-chipidea-imx kmod-usb-mxs-phy \ - kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \ - kmod-can kmod-can-flexcan kmod-can-raw \ - kmod-rtc-ds1672 kmod-gpio-pca953x kmod-hwmon-gsc kmod-eeprom-at24 \ - kmod-leds-gpio kmod-pps-gpio kmod-gw16083 \ - kobs-ng -endef - -define Profile/VENTANA/Description - The Gateworks Ventana family of products is based on the Freescale i.MX6Q SoC - and offers a large variety of peripherals such as: - - * DDR3 - * NAND or SPI flash - * multiple PCIe (with USB for Cellular modems) - * Optional expansion for additional USB/PCI based periperhals - * USB EHCI - * USB OTG - * HDMI Audio/Video in/out - * Analog Video in/out - * Analog Audio in/out - * Gateworks System Controller - * Optional GPS with PPS - * Canbus - * User GPIO - * mSATA -endef - -$(eval $(call Profile,VENTANA))