summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/recipes-core
diff options
context:
space:
mode:
authorSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2021-09-28 22:12:04 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2021-09-28 22:12:06 -0700
commit6921a88182ce51763fcf61273972df99dc2faee5 (patch)
tree6505b60113f6192f347991a3a82b8bc6fb02b8d9 /meta-xilinx-standalone-experimental/recipes-core
parent1d2c0f073d3102c3f8ff043d2c3039e6d360118f (diff)
downloadmeta-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/recipes-core')
-rwxr-xr-xmeta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh20
-rw-r--r--meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb2
2 files changed, 11 insertions, 11 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh b/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
index fe37c4df..1f6f1ef3 100755
--- a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
+++ b/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
@@ -104,7 +104,7 @@ SYSTEM_DTFILE = "${CONFIG_DTFILE}"
104# We don't want the kernel to build us a device-tree 104# We don't want the kernel to build us a device-tree
105KERNEL_DEVICETREE_${machine}-generic = "" 105KERNEL_DEVICETREE_${machine}-generic = ""
106# We need u-boot to use the one we passed in 106# We need u-boot to use the one we passed in
107DEVICE_TREE_NAME_pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" 107DEVICE_TREE_NAME:pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
108# Update bootbin to use proper device tree 108# Update bootbin to use proper device tree
109BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" 109BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
110EOF 110EOF
@@ -233,7 +233,7 @@ SYSTEM_DTFILE = "${CONFIG_DTFILE}"
233# We don't want the kernel to build us a device-tree 233# We don't want the kernel to build us a device-tree
234KERNEL_DEVICETREE_${machine}-generic = "" 234KERNEL_DEVICETREE_${machine}-generic = ""
235# We need u-boot to use the one we passed in 235# We need u-boot to use the one we passed in
236DEVICE_TREE_NAME_pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" 236DEVICE_TREE_NAME:pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
237# Update bootbin to use proper device tree 237# Update bootbin to use proper device tree
238BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" 238BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
239EOF 239EOF
@@ -409,7 +409,7 @@ EOF
409microblaze_done=0 409microblaze_done=0
410# Generate microblaze tunings 410# Generate microblaze tunings
411microblaze_done=0 411microblaze_done=0
412process_microblaze() { 412process:microblaze() {
413 if [ ${microblaze_done} = 0 ]; then 413 if [ ${microblaze_done} = 0 ]; then
414 echo -n "Generating microblaze processor tunes..." 414 echo -n "Generating microblaze processor tunes..."
415 # Process microblaze 415 # Process microblaze
@@ -446,7 +446,7 @@ ESW_MACHINE = "microblaze-pmu"
446 446
447require conf/microblaze.conf 447require conf/microblaze.conf
448DEFAULTTUNE = "microblaze" 448DEFAULTTUNE = "microblaze"
449TUNE_FEATURES_tune-microblaze_forcevariable = "\${TUNE_FEATURES_tune-pmu-microblaze}" 449TUNE_FEATURES:tune-microblaze:forcevariable = "\${TUNE_FEATURES_tune-pmu-microblaze}"
450 450
451TARGET_CFLAGS += "-DPSU_PMU=1U" 451TARGET_CFLAGS += "-DPSU_PMU=1U"
452 452
@@ -485,7 +485,7 @@ ESW_MACHINE = "microblaze-plm"
485 485
486require conf/microblaze.conf 486require conf/microblaze.conf
487DEFAULTTUNE = "microblaze" 487DEFAULTTUNE = "microblaze"
488TUNE_FEATURES_tune-microblaze_forcevariable = "\${TUNE_FEATURES_tune-pmc-microblaze}" 488TUNE_FEATURES:tune-microblaze:forcevariable = "\${TUNE_FEATURES_tune-pmc-microblaze}"
489 489
490TARGET_CFLAGS += "-DVERSAL_PLM=1" 490TARGET_CFLAGS += "-DVERSAL_PLM=1"
491 491
@@ -524,7 +524,7 @@ ESW_MACHINE = "microblaze-psm"
524 524
525require conf/microblaze.conf 525require conf/microblaze.conf
526DEFAULTTUNE = "microblaze" 526DEFAULTTUNE = "microblaze"
527TUNE_FEATURES_tune-microblaze_forcevariable = "\${TUNE_FEATURES_tune-psm-microblaze}" 527TUNE_FEATURES:tune-microblaze:forcevariable = "\${TUNE_FEATURES_tune-psm-microblaze}"
528 528
529TARGET_CFLAGS += "-DVERSAL_psm=1" 529TARGET_CFLAGS += "-DVERSAL_psm=1"
530 530
@@ -634,7 +634,7 @@ parse_cpus() {
634 fi 634 fi
635 ;; 635 ;;
636 xlnx,microblaze) 636 xlnx,microblaze)
637 process_microblaze 637 process:microblaze
638 case ${os_hint} in 638 case ${os_hint} in
639 None | baremetal*) 639 None | baremetal*)
640 echo "Warning: Microblaze for Baremetal ${domain} not yet implemented" 640 echo "Warning: Microblaze for Baremetal ${domain} not yet implemented"
@@ -648,17 +648,17 @@ parse_cpus() {
648 esac 648 esac
649 ;; 649 ;;
650 pmu-microblaze) 650 pmu-microblaze)
651 process_microblaze 651 process:microblaze
652 echo "Microblaze ZynqMP pmu" 652 echo "Microblaze ZynqMP pmu"
653 pmu-microblaze 653 pmu-microblaze
654 ;; 654 ;;
655 pmc-microblaze) 655 pmc-microblaze)
656 process_microblaze 656 process:microblaze
657 echo "Microblaze Versal pmc" 657 echo "Microblaze Versal pmc"
658 pmc-microblaze 658 pmc-microblaze
659 ;; 659 ;;
660 psm-microblaze) 660 psm-microblaze)
661 process_microblaze 661 process:microblaze
662 echo "Microblaze Versal psm" 662 echo "Microblaze Versal psm"
663 psm-microblaze 663 psm-microblaze
664 ;; 664 ;;
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb b/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb
index 86d988c6..a2e0d364 100644
--- a/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb
+++ b/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb
@@ -45,7 +45,7 @@ do_populate_sdk[stamp-extra-info] = "${PACKAGE_ARCH}"
45 45
46REAL_MULTIMACH_TARGET_SYS = "none" 46REAL_MULTIMACH_TARGET_SYS = "none"
47 47
48create_sdk_files_append () { 48create_sdk_files:append () {
49 install -m 0644 ${WORKDIR}/README-setup ${SDK_OUTPUT}/${SDKPATH}/. 49 install -m 0644 ${WORKDIR}/README-setup ${SDK_OUTPUT}/${SDKPATH}/.
50 install -m 0755 ${WORKDIR}/dt-processor.sh ${SDK_OUTPUT}/${SDKPATH}/. 50 install -m 0755 ${WORKDIR}/dt-processor.sh ${SDK_OUTPUT}/${SDKPATH}/.
51 51