summaryrefslogtreecommitdiffstats
path: root/conf/machine/include
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2013-05-08 12:11:45 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2013-05-08 12:11:45 +1000
commit825d9852f4cf70faeaf3c77f7421d1275aba916b (patch)
tree2d905b97f1016d271e249b76197ce526c4da398c /conf/machine/include
parent838d1ee2fda4010452f737cb0352e2ac99119132 (diff)
downloadmeta-xilinx-825d9852f4cf70faeaf3c77f7421d1275aba916b.tar.gz
tune-zynq: Refactor tune defintion
* Specify SOC_FAMILY as 'zynq' * Create the tune as 'zynq' which becomes a tune feature * Force the use of 'armv7a-neon' tune configuration Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'conf/machine/include')
-rw-r--r--conf/machine/include/tune-zynq.inc17
1 files changed, 12 insertions, 5 deletions
diff --git a/conf/machine/include/tune-zynq.inc b/conf/machine/include/tune-zynq.inc
index 0a801ed3..22814dfc 100644
--- a/conf/machine/include/tune-zynq.inc
+++ b/conf/machine/include/tune-zynq.inc
@@ -1,17 +1,24 @@
1 1DEFAULTTUNE ?= "zynq"
2MACHINE_FEATURES := "" 2SOC_FAMILY ?= "zynq"
3 3
4require conf/machine/include/tune-cortexa9.inc 4require conf/machine/include/tune-cortexa9.inc
5 5
6TUNEVALID[zynq] = "Zynq"
7AVAILTUNES += "zynq"
8
9TUNE_FEATURES_tune-zynq += "${TUNE_FEATURES_tune-armv7a-neon} zynq"
10ARMPKGARCH = "${ARMPKGARCH_tune-armv7a-neon}"
11PACKAGE_EXTRA_ARCHS_tune-zynq = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} zynq"
12
13# Linux Configuration
6PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" 14PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
7PREFERRED_VERSION_linux-xlnx ?= "3.8%" 15PREFERRED_VERSION_linux-xlnx ?= "3.8%"
8
9KERNEL_IMAGETYPE ?= "uImage" 16KERNEL_IMAGETYPE ?= "uImage"
10 17
18# File System Configuration
11IMAGE_FSTYPES = "cpio ext2 ext2.gz.u-boot ext2.gz" 19IMAGE_FSTYPES = "cpio ext2 ext2.gz.u-boot ext2.gz"
12
13IMAGE_CLASSES += "image_types_uboot" 20IMAGE_CLASSES += "image_types_uboot"
14 21
22# U-Boot Configuration
15PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx" 23PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx"
16
17PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%" 24PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%"