diff options
| author | Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> | 2018-10-04 13:46:08 -0700 |
|---|---|---|
| committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-01-01 20:03:46 -0800 |
| commit | 2b6d3099ddff4c854cc63ee53532f59a42d31175 (patch) | |
| tree | 118932874cc565056ea90249b9055954f231cc31 /meta-xilinx-standalone/conf | |
| parent | d4adc242441bdf49e1a63418a56f086c9fa8efc9 (diff) | |
| download | meta-xilinx-2b6d3099ddff4c854cc63ee53532f59a42d31175.tar.gz | |
meta-xilinx-standalone: Create layer, distro and machine to build standalone components
This layer is meant to augment Yocto/OE functionality to provide a
toolchain to build standalone components for Xilinx architectures.
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone/conf')
| -rw-r--r-- | meta-xilinx-standalone/conf/distro/xilinx-standalone.conf | 13 | ||||
| -rw-r--r-- | meta-xilinx-standalone/conf/layer.conf | 14 | ||||
| -rw-r--r-- | meta-xilinx-standalone/conf/machine/zynqmp-pmu.conf | 11 |
3 files changed, 38 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf new file mode 100644 index 00000000..7cd23ccd --- /dev/null +++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | DISTRO = "xilinx-standalone" | ||
| 2 | DISTRO_NAME = "Xilinx Standalone Distro" | ||
| 3 | DISTRO_VERSION = "1.0" | ||
| 4 | TARGET_VENDOR = "-xilinx" | ||
| 5 | |||
| 6 | TCLIBC = "newlib" | ||
| 7 | TCLIBCAPPEND ="" | ||
| 8 | |||
| 9 | # Change SDK name | ||
| 10 | SDK_VERSION = "xilinx-standalone" | ||
| 11 | |||
| 12 | require conf/distro/include/yocto-uninative.inc | ||
| 13 | INHERIT += "uninative" | ||
diff --git a/meta-xilinx-standalone/conf/layer.conf b/meta-xilinx-standalone/conf/layer.conf new file mode 100644 index 00000000..7d9cc598 --- /dev/null +++ b/meta-xilinx-standalone/conf/layer.conf | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | # We have a conf and classes directory, add to BBPATH | ||
| 2 | BBPATH .= ":${LAYERDIR}" | ||
| 3 | |||
| 4 | # We have recipes-* directories, add to BBFILES | ||
| 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
| 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
| 7 | |||
| 8 | BBFILE_COLLECTIONS += "xilinx-standalone" | ||
| 9 | BBFILE_PATTERN_xilinx-standalone = "^${LAYERDIR}/" | ||
| 10 | BBFILE_PRIORITY_xilinx-standalone = "5" | ||
| 11 | |||
| 12 | LAYERDEPENDS_xilinx-standalone = "core xilinx" | ||
| 13 | |||
| 14 | LAYERSERIES_COMPAT_xilinx-standalone = "thud" | ||
diff --git a/meta-xilinx-standalone/conf/machine/zynqmp-pmu.conf b/meta-xilinx-standalone/conf/machine/zynqmp-pmu.conf new file mode 100644 index 00000000..2f692db0 --- /dev/null +++ b/meta-xilinx-standalone/conf/machine/zynqmp-pmu.conf | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | DEFAULTTUNE ?= "microblaze" | ||
| 2 | |||
| 3 | require conf/machine/include/microblaze/arch-microblaze.inc | ||
| 4 | |||
| 5 | # Endianess, multiplier, barrel shift, pattern compare, floating point double or single, are the possibilities | ||
| 6 | AVAILTUNES += "microblaze" | ||
| 7 | TUNE_FEATURES_tune-microblaze = "microblaze v9.2 barrel-shift pattern-compare" | ||
| 8 | PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" | ||
| 9 | SOC_FAMILY = "zynqmp" | ||
| 10 | |||
| 11 | TARGET_LINK_HASH_STYLE_microblaze = "" | ||
