diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-05-08 12:11:45 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-05-08 12:11:45 +1000 |
| commit | 825d9852f4cf70faeaf3c77f7421d1275aba916b (patch) | |
| tree | 2d905b97f1016d271e249b76197ce526c4da398c /conf | |
| parent | 838d1ee2fda4010452f737cb0352e2ac99119132 (diff) | |
| download | meta-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')
| -rw-r--r-- | conf/machine/include/tune-zynq.inc | 17 |
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 | 1 | DEFAULTTUNE ?= "zynq" | |
| 2 | MACHINE_FEATURES := "" | 2 | SOC_FAMILY ?= "zynq" |
| 3 | 3 | ||
| 4 | require conf/machine/include/tune-cortexa9.inc | 4 | require conf/machine/include/tune-cortexa9.inc |
| 5 | 5 | ||
| 6 | TUNEVALID[zynq] = "Zynq" | ||
| 7 | AVAILTUNES += "zynq" | ||
| 8 | |||
| 9 | TUNE_FEATURES_tune-zynq += "${TUNE_FEATURES_tune-armv7a-neon} zynq" | ||
| 10 | ARMPKGARCH = "${ARMPKGARCH_tune-armv7a-neon}" | ||
| 11 | PACKAGE_EXTRA_ARCHS_tune-zynq = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} zynq" | ||
| 12 | |||
| 13 | # Linux Configuration | ||
| 6 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" | 14 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" |
| 7 | PREFERRED_VERSION_linux-xlnx ?= "3.8%" | 15 | PREFERRED_VERSION_linux-xlnx ?= "3.8%" |
| 8 | |||
| 9 | KERNEL_IMAGETYPE ?= "uImage" | 16 | KERNEL_IMAGETYPE ?= "uImage" |
| 10 | 17 | ||
| 18 | # File System Configuration | ||
| 11 | IMAGE_FSTYPES = "cpio ext2 ext2.gz.u-boot ext2.gz" | 19 | IMAGE_FSTYPES = "cpio ext2 ext2.gz.u-boot ext2.gz" |
| 12 | |||
| 13 | IMAGE_CLASSES += "image_types_uboot" | 20 | IMAGE_CLASSES += "image_types_uboot" |
| 14 | 21 | ||
| 22 | # U-Boot Configuration | ||
| 15 | PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx" | 23 | PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx" |
| 16 | |||
| 17 | PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%" | 24 | PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%" |
