diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2017-01-04 22:19:27 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-01-05 11:09:14 +0100 |
commit | 4eb0fd8283940db6a92bbba47b12a236f6adee62 (patch) | |
tree | 5e4b7613f46b6d931b225a4b9d13739e23f3ecb0 /target/linux/sunxi/profiles | |
parent | 6268d496a4fea91a475dbbea24281622293d122a (diff) | |
download | upstream-4eb0fd8283940db6a92bbba47b12a236f6adee62.tar.gz upstream-4eb0fd8283940db6a92bbba47b12a236f6adee62.tar.bz2 upstream-4eb0fd8283940db6a92bbba47b12a236f6adee62.zip |
sunxi: convert to new image generation method
The new Device/xxx were transformed automatically from old profiles.
Most device names are now taken from basename of the corresponding
kernel device tree file. Device/sun5i-a13-olimex-som is an exception
because it is not explicitly supported in the kernel yet and shares the
same dts file with Device/sun5i-a13-olinuxino
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'target/linux/sunxi/profiles')
-rw-r--r-- | target/linux/sunxi/profiles/00-default.mk | 28 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/01-default.mk | 17 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/a10-olinuxino.mk | 19 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/a13-olimex-som.mk | 18 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/a13-olinuxino.mk | 18 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/a20-olinuxino.mk | 33 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/bananapi.mk | 18 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/bananapro.mk | 19 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/cubieboard.mk | 19 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/cubieboard2.mk | 19 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/cubietruck.mk | 19 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/lamobo-r1.mk | 19 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/mele_m9.mk | 18 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/orangepi_plus.mk | 18 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/pcduino.mk | 18 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/pcduino3.mk | 19 |
16 files changed, 28 insertions, 291 deletions
diff --git a/target/linux/sunxi/profiles/00-default.mk b/target/linux/sunxi/profiles/00-default.mk new file mode 100644 index 0000000000..b7ecfb0831 --- /dev/null +++ b/target/linux/sunxi/profiles/00-default.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 2017 Yousong Zhou +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Default + NAME:=Default Profile (all drivers) + PACKAGES:= \ + kmod-ata-core \ + kmod-ata-sunxi \ + kmod-brcmfmac \ + kmod-rtc-sunxi \ + kmod-rtl8192cu \ + kmod-rtl8xxxu \ + kmod-sun4i-emac \ + rtl8188eu-firmware \ + swconfig \ + uboot-sunxi-all \ + wpad-mini + PRIORITY := 1 +endef + +define Profile/Default/Description + Default profile with package set compatible with most boards. +endef +$(eval $(call Profile,Default)) diff --git a/target/linux/sunxi/profiles/01-default.mk b/target/linux/sunxi/profiles/01-default.mk deleted file mode 100644 index 7d83440220..0000000000 --- a/target/linux/sunxi/profiles/01-default.mk +++ /dev/null @@ -1,17 +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/Default - NAME:=Default package set - PACKAGES += uboot-sunxi-A13-OLinuXino -endef - -define Profile/Default/Description - Default package set compatible with most boards. -endef -$(eval $(call Profile,Default)) - diff --git a/target/linux/sunxi/profiles/a10-olinuxino.mk b/target/linux/sunxi/profiles/a10-olinuxino.mk deleted file mode 100644 index b307373250..0000000000 --- a/target/linux/sunxi/profiles/a10-olinuxino.mk +++ /dev/null @@ -1,19 +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/A10-OLinuXino-Lime - NAME:=A10 OLinuXino LIME - PACKAGES:=\ - uboot-sunxi-A10-OLinuXino-Lime kmod-ata-core kmod-ata-sunxi \ - kmod-sun4i-emac kmod-rtc-sunxi -endef - -define Profile/A10-OLinuXino-Lime/Description - Package set optimized for the Olimex A10 OLinuXino LIME -endef - -$(eval $(call Profile,A10-OLinuXino-Lime)) diff --git a/target/linux/sunxi/profiles/a13-olimex-som.mk b/target/linux/sunxi/profiles/a13-olimex-som.mk deleted file mode 100644 index 8dc7339de4..0000000000 --- a/target/linux/sunxi/profiles/a13-olimex-som.mk +++ /dev/null @@ -1,18 +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/OLIMEX_A13_SOM - NAME:=Olimex A13 SOM - PACKAGES:=\ - uboot-sunxi-OLIMEX_A13_SOM kmod-rtl8192cu -endef - -define Profile/OLIMEX_A13_SOM/Description - Package set optimized for the Olimex A13 SOM -endef - -$(eval $(call Profile,OLIMEX_A13_SOM)) diff --git a/target/linux/sunxi/profiles/a13-olinuxino.mk b/target/linux/sunxi/profiles/a13-olinuxino.mk deleted file mode 100644 index 0757098ce1..0000000000 --- a/target/linux/sunxi/profiles/a13-olinuxino.mk +++ /dev/null @@ -1,18 +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/A13-OLinuXino - NAME:=A13 OLinuXino - PACKAGES:=\ - uboot-sunxi-A13-OLinuXino kmod-rtl8192cu -endef - -define Profile/A13-OLinuXino/Description - Package set optimized for the Olimex A13 OLinuXino -endef - -$(eval $(call Profile,A13-OLinuXino)) diff --git a/target/linux/sunxi/profiles/a20-olinuxino.mk b/target/linux/sunxi/profiles/a20-olinuxino.mk deleted file mode 100644 index 92c9ae56e0..0000000000 --- a/target/linux/sunxi/profiles/a20-olinuxino.mk +++ /dev/null @@ -1,33 +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/A20-OLinuXino-Lime - NAME:=A20 OLinuXino Lime - PACKAGES:=\ - uboot-sunxi-A20-OLinuXino-Lime kmod-ata-core kmod-ata-sunxi \ - kmod-rtc-sunxi -endef - -define Profile/A20-OLinuXino-Lime/Description - Package set optimized for the Olimex A20 OLinuXino Lime -endef - -$(eval $(call Profile,A20-OLinuXino-Lime)) - - -define Profile/A20-OLinuXino_MICRO - NAME:=A20 OLinuXino Micro - PACKAGES:=\ - uboot-sunxi-A20-OLinuXino_MICRO kmod-ata-core kmod-ata-sunxi \ - kmod-sun4i-emac kmod-rtc-sunxi -endef - -define Profile/A20-OLinuXino_MICRO/Description - Package set optimized for the Olimex A20 OLinuXino micro -endef - -$(eval $(call Profile,A20-OLinuXino_MICRO)) diff --git a/target/linux/sunxi/profiles/bananapi.mk b/target/linux/sunxi/profiles/bananapi.mk deleted file mode 100644 index 96b8aeb920..0000000000 --- a/target/linux/sunxi/profiles/bananapi.mk +++ /dev/null @@ -1,18 +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/Bananapi - NAME:=Bananapi - PACKAGES:=\ - uboot-sunxi-Bananapi kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi -endef - -define Profile/Bananapi/Description - Package set optimized for the Bananapi -endef - -$(eval $(call Profile,Bananapi)) diff --git a/target/linux/sunxi/profiles/bananapro.mk b/target/linux/sunxi/profiles/bananapro.mk deleted file mode 100644 index 853b0d4d56..0000000000 --- a/target/linux/sunxi/profiles/bananapro.mk +++ /dev/null @@ -1,19 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Bananapro - NAME:=Bananapro - PACKAGES:=\ - uboot-sunxi-Bananapro kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi \ - kmod-brcmfmac -endef - -define Profile/Bananapro/Description - Package set optimized for the Bananapro -endef - -$(eval $(call Profile,Bananapro)) diff --git a/target/linux/sunxi/profiles/cubieboard.mk b/target/linux/sunxi/profiles/cubieboard.mk deleted file mode 100644 index c95efe6ece..0000000000 --- a/target/linux/sunxi/profiles/cubieboard.mk +++ /dev/null @@ -1,19 +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/Cubieboard - NAME:=Cubieboard - PACKAGES:=\ - uboot-sunxi-Cubieboard kmod-ata-core kmod-ata-sunxi \ - kmod-sun4i-emac kmod-rtc-sunxi -endef - -define Profile/Cubieboard/Description - Package set optimized for the Cubieboard -endef - -$(eval $(call Profile,Cubieboard)) diff --git a/target/linux/sunxi/profiles/cubieboard2.mk b/target/linux/sunxi/profiles/cubieboard2.mk deleted file mode 100644 index cfeb968796..0000000000 --- a/target/linux/sunxi/profiles/cubieboard2.mk +++ /dev/null @@ -1,19 +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/Cubieboard2 - NAME:=Cubieboard2 - PACKAGES:=\ - uboot-sunxi-Cubieboard2 kmod-ata-core kmod-ata-sunxi \ - kmod-sun4i-emac kmod-rtc-sunxi -endef - -define Profile/Cubieboard2/Description - Package set optimized for the Cubieboard2 -endef - -$(eval $(call Profile,Cubieboard2)) diff --git a/target/linux/sunxi/profiles/cubietruck.mk b/target/linux/sunxi/profiles/cubietruck.mk deleted file mode 100644 index 3e28334570..0000000000 --- a/target/linux/sunxi/profiles/cubietruck.mk +++ /dev/null @@ -1,19 +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/Cubietruck - NAME:=Cubietruck - PACKAGES:=\ - uboot-sunxi-Cubietruck kmod-ata-core kmod-ata-sunxi \ - kmod-rtc-sunxi kmod-brcmfmac -endef - -define Profile/Cubietruck/Description - Package set optimized for the Cubietruck -endef - -$(eval $(call Profile,Cubietruck)) diff --git a/target/linux/sunxi/profiles/lamobo-r1.mk b/target/linux/sunxi/profiles/lamobo-r1.mk deleted file mode 100644 index 4bc1185209..0000000000 --- a/target/linux/sunxi/profiles/lamobo-r1.mk +++ /dev/null @@ -1,19 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Lamobo_R1 - NAME:=Lamobo R1 - PACKAGES:=\ - uboot-sunxi-Lamobo_R1 kmod-ata-sunxi kmod-rtl8192cu \ - swconfig wpad-mini -endef - -define Profile/Lamobo_R1/Description - Package set optimized for the Lamobo R1 -endef - -$(eval $(call Profile,Lamobo_R1)) diff --git a/target/linux/sunxi/profiles/mele_m9.mk b/target/linux/sunxi/profiles/mele_m9.mk deleted file mode 100644 index 1313da4ce7..0000000000 --- a/target/linux/sunxi/profiles/mele_m9.mk +++ /dev/null @@ -1,18 +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/Mele_M9 - NAME:=Mele_M9 - PACKAGES:=\ - uboot-sunxi-Mele_M9 kmod-sun4i-emac kmod-rtc-sunxi kmod-rtl8192cu -endef - -define Profile/Mele_M9/Description - Package set optimized for the Mele M9 -endef - -$(eval $(call Profile,Mele_M9)) diff --git a/target/linux/sunxi/profiles/orangepi_plus.mk b/target/linux/sunxi/profiles/orangepi_plus.mk deleted file mode 100644 index 3da9da7fb1..0000000000 --- a/target/linux/sunxi/profiles/orangepi_plus.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/orangepi_plus - NAME:=orangepi_plus - PACKAGES:=\ - kmod-rtc-sunxi uboot-sunxi-orangepi_plus -endef - -define Profile/orangepi_plus/Description - Package set optimized for the OrangePi Plus (H3) -endef - -$(eval $(call Profile,orangepi_plus)) diff --git a/target/linux/sunxi/profiles/pcduino.mk b/target/linux/sunxi/profiles/pcduino.mk deleted file mode 100644 index 3a4202d303..0000000000 --- a/target/linux/sunxi/profiles/pcduino.mk +++ /dev/null @@ -1,18 +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/Linksprite_pcDuino - NAME:=Linksprite_pcDuino - PACKAGES:=\ - uboot-sunxi-Linksprite_pcDuino kmod-sun4i-emac kmod-rtc-sunxi kmod-rtl8192cu -endef - -define Profile/Linksprite_pcDuino/Description - Package set optimized for the Linksprite pcDuino -endef - -$(eval $(call Profile,Linksprite_pcDuino)) diff --git a/target/linux/sunxi/profiles/pcduino3.mk b/target/linux/sunxi/profiles/pcduino3.mk deleted file mode 100644 index 257d40fbf5..0000000000 --- a/target/linux/sunxi/profiles/pcduino3.mk +++ /dev/null @@ -1,19 +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/Linksprite_pcDuino3 - NAME:=pcDuino3 - PACKAGES:=\ - uboot-sunxi-Linksprite_pcDuino3 kmod-sun4i-emac kmod-rtc-sunxi \ - kmod-ata-core kmod-ata-sunxi kmod-rtl8xxxu rtl8188eu-firmware -endef - -define Profile/Linksprite_pcDuino3/Description - Package set optimized for the pcDuino3 -endef - -$(eval $(call Profile,Linksprite_pcDuino3)) |