diff options
| author | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-28 22:12:04 -0700 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-28 22:12:06 -0700 |
| commit | 6921a88182ce51763fcf61273972df99dc2faee5 (patch) | |
| tree | 6505b60113f6192f347991a3a82b8bc6fb02b8d9 /meta-xilinx-standalone-experimental/classes | |
| parent | 1d2c0f073d3102c3f8ff043d2c3039e6d360118f (diff) | |
| download | meta-xilinx-6921a88182ce51763fcf61273972df99dc2faee5.tar.gz | |
Convert to new override syntax
This is the result of automated script (0.9.0) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/classes')
| -rw-r--r-- | meta-xilinx-standalone-experimental/classes/esw.bbclass | 14 | ||||
| -rw-r--r-- | meta-xilinx-standalone-experimental/classes/esw_examples.bbclass | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass index 0d6e78a6..f95dc692 100644 --- a/meta-xilinx-standalone-experimental/classes/esw.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass | |||
| @@ -10,9 +10,9 @@ B = "${WORKDIR}/build" | |||
| 10 | OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" | 10 | OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" |
| 11 | LICFILENAME = "license.txt" | 11 | LICFILENAME = "license.txt" |
| 12 | 12 | ||
| 13 | SPECFILE_PATH_arm = "${S}/scripts/specs/arm/Xilinx.spec" | 13 | SPECFILE_PATH:arm = "${S}/scripts/specs/arm/Xilinx.spec" |
| 14 | SPECFILE_PATH_aarch64 = "${S}/scripts/specs/arm/Xilinx.spec" | 14 | SPECFILE_PATH:aarch64 = "${S}/scripts/specs/arm/Xilinx.spec" |
| 15 | SPECFILE_PATH_microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec" | 15 | SPECFILE_PATH:microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec" |
| 16 | 16 | ||
| 17 | ESW_MACHINE ?= "${MACHINE}" | 17 | ESW_MACHINE ?= "${MACHINE}" |
| 18 | 18 | ||
| @@ -21,7 +21,7 @@ ESW_CFLAGS += "-specs=${SPECFILE_PATH}" | |||
| 21 | inherit ccmake | 21 | inherit ccmake |
| 22 | 22 | ||
| 23 | COMPATIBLE_HOST = ".*-elf" | 23 | COMPATIBLE_HOST = ".*-elf" |
| 24 | COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" | 24 | COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi" |
| 25 | 25 | ||
| 26 | DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 26 | DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" |
| 27 | 27 | ||
| @@ -46,9 +46,9 @@ def get_xlnx_cmake_processor(tune, machine, d): | |||
| 46 | cmake_processor = tune | 46 | cmake_processor = tune |
| 47 | if tune.startswith('microblaze'): | 47 | if tune.startswith('microblaze'): |
| 48 | if (machine == 'microblaze-pmu'): | 48 | if (machine == 'microblaze-pmu'): |
| 49 | cmake_processor = 'pmu_microblaze' | 49 | cmake_processor = 'pmu:microblaze' |
| 50 | elif (machine == 'microblaze-plm'): | 50 | elif (machine == 'microblaze-plm'): |
| 51 | cmake_processor = 'plm_microblaze' | 51 | cmake_processor = 'plm:microblaze' |
| 52 | else: | 52 | else: |
| 53 | cmake_processor = 'microblaze' | 53 | cmake_processor = 'microblaze' |
| 54 | elif (tune in [ 'cortexr5', 'cortexr5f' ]): | 54 | elif (tune in [ 'cortexr5', 'cortexr5f' ]): |
| @@ -85,7 +85,7 @@ do_install() { | |||
| 85 | install -m 0644 ${B}/include/*.h ${D}${includedir} | 85 | install -m 0644 ${B}/include/*.h ${D}${includedir} |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | CFLAGS_append = " ${ESW_CFLAGS}" | 88 | CFLAGS:append = " ${ESW_CFLAGS}" |
| 89 | 89 | ||
| 90 | # We need to find the license file, which vaires depending on the component | 90 | # We need to find the license file, which vaires depending on the component |
| 91 | # recurse a maximum of x times, could be fancier but it gets complicated since | 91 | # recurse a maximum of x times, could be fancier but it gets complicated since |
diff --git a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass index 58946b7c..ea93f715 100644 --- a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass | |||
| @@ -2,7 +2,7 @@ inherit esw deploy python3native | |||
| 2 | 2 | ||
| 3 | DEPENDS += "python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer" | 3 | DEPENDS += "python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer" |
| 4 | 4 | ||
| 5 | do_configure_prepend() { | 5 | do_configure:prepend() { |
| 6 | cd ${S} | 6 | cd ${S} |
| 7 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 7 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
| 8 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 8 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
| @@ -31,4 +31,4 @@ do_deploy() { | |||
| 31 | } | 31 | } |
| 32 | addtask deploy before do_build after do_package | 32 | addtask deploy before do_build after do_package |
| 33 | 33 | ||
| 34 | FILES_${PN} = "${base_libdir}/firmware/*.elf" | 34 | FILES:${PN} = "${base_libdir}/firmware/*.elf" |
