diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2023-01-13 20:45:56 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-01-16 07:26:08 -0800 |
| commit | baab463a7930d1e52d1c3ee3d106e2c7c9c323aa (patch) | |
| tree | f328e556cc5302d585d430b09922d270183a874b /meta-xilinx-standalone-experimental | |
| parent | d19d9b573f47cac5d3157e76f27fe113ea80975a (diff) | |
| download | meta-xilinx-baab463a7930d1e52d1c3ee3d106e2c7c9c323aa.tar.gz | |
dt-processor.sh: Move warning avoidance to local.conf
meta-virtualization, meta-security and meta-tpm check to see if they are
available, but the MACHINE_FEATURE is not enabled. For baremetal configs
these become nuisance warnings. Instead of disabling them in each
configuration move it to the central local.conf and thus global namespace.
SKIP_META_VIRT_SANITY_CHECK = "1"
SKIP_META_SECURITY_SANITY_CHECK = "1"
SKIP_META_TPM_SANITY_CHECK = "1"
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental')
| -rwxr-xr-x | meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh | 43 |
1 files changed, 7 insertions, 36 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 faaff808..958d3fe8 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 | |||
| @@ -276,10 +276,6 @@ DISTRO = "${yocto_distro}" | |||
| 276 | 276 | ||
| 277 | LIBXIL_CONFIG = "conf/${libxil}" | 277 | LIBXIL_CONFIG = "conf/${libxil}" |
| 278 | require conf/${distro} | 278 | require conf/${distro} |
| 279 | |||
| 280 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
| 281 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
| 282 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
| 283 | EOF | 279 | EOF |
| 284 | } | 280 | } |
| 285 | 281 | ||
| @@ -333,10 +329,6 @@ DISTRO = "xilinx-freertos" | |||
| 333 | 329 | ||
| 334 | LIBXIL_CONFIG = "conf/${libxil}" | 330 | LIBXIL_CONFIG = "conf/${libxil}" |
| 335 | require conf/${distro} | 331 | require conf/${distro} |
| 336 | |||
| 337 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
| 338 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
| 339 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
| 340 | EOF | 332 | EOF |
| 341 | } | 333 | } |
| 342 | 334 | ||
| @@ -467,10 +459,6 @@ DISTRO = "xilinx-standalone-nolto" | |||
| 467 | 459 | ||
| 468 | LIBXIL_CONFIG = "conf/${libxil}" | 460 | LIBXIL_CONFIG = "conf/${libxil}" |
| 469 | require conf/${distro} | 461 | require conf/${distro} |
| 470 | |||
| 471 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
| 472 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
| 473 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
| 474 | EOF | 462 | EOF |
| 475 | } | 463 | } |
| 476 | 464 | ||
| @@ -524,10 +512,6 @@ DISTRO = "xilinx-freertos" | |||
| 524 | 512 | ||
| 525 | LIBXIL_CONFIG = "conf/${libxil}" | 513 | LIBXIL_CONFIG = "conf/${libxil}" |
| 526 | require conf/${distro} | 514 | require conf/${distro} |
| 527 | |||
| 528 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
| 529 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
| 530 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
| 531 | EOF | 515 | EOF |
| 532 | } | 516 | } |
| 533 | 517 | ||
| @@ -610,10 +594,6 @@ DISTRO = "$yocto_distro" | |||
| 610 | 594 | ||
| 611 | LIBXIL_CONFIG = "conf/${libxil}" | 595 | LIBXIL_CONFIG = "conf/${libxil}" |
| 612 | require conf/${distro} | 596 | require conf/${distro} |
| 613 | |||
| 614 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
| 615 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
| 616 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
| 617 | EOF | 597 | EOF |
| 618 | } | 598 | } |
| 619 | 599 | ||
| @@ -667,10 +647,6 @@ DISTRO = "xilinx-freertos" | |||
| 667 | 647 | ||
| 668 | LIBXIL_CONFIG = "conf/${libxil}" | 648 | LIBXIL_CONFIG = "conf/${libxil}" |
| 669 | require conf/${distro} | 649 | require conf/${distro} |
| 670 | |||
| 671 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
| 672 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
| 673 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
| 674 | EOF | 650 | EOF |
| 675 | } | 651 | } |
| 676 | 652 | ||
| @@ -743,10 +719,6 @@ DISTRO = "xilinx-standalone" | |||
| 743 | 719 | ||
| 744 | LIBXIL_CONFIG = "conf/${libxil}" | 720 | LIBXIL_CONFIG = "conf/${libxil}" |
| 745 | require conf/${distro} | 721 | require conf/${distro} |
| 746 | |||
| 747 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
| 748 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
| 749 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
| 750 | EOF | 722 | EOF |
| 751 | } | 723 | } |
| 752 | 724 | ||
| @@ -799,10 +771,6 @@ DISTRO = "xilinx-standalone" | |||
| 799 | 771 | ||
| 800 | LIBXIL_CONFIG = "conf/${libxil}" | 772 | LIBXIL_CONFIG = "conf/${libxil}" |
| 801 | require conf/${distro} | 773 | require conf/${distro} |
| 802 | |||
| 803 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
| 804 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
| 805 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
| 806 | EOF | 774 | EOF |
| 807 | } | 775 | } |
| 808 | 776 | ||
| @@ -855,10 +823,6 @@ DISTRO = "xilinx-standalone" | |||
| 855 | 823 | ||
| 856 | LIBXIL_CONFIG = "conf/${libxil}" | 824 | LIBXIL_CONFIG = "conf/${libxil}" |
| 857 | require conf/${distro} | 825 | require conf/${distro} |
| 858 | |||
| 859 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
| 860 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
| 861 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
| 862 | EOF | 826 | EOF |
| 863 | } | 827 | } |
| 864 | 828 | ||
| @@ -1108,6 +1072,13 @@ parse_cpus() { | |||
| 1108 | gen_local_conf() { | 1072 | gen_local_conf() { |
| 1109 | cat << EOF >> $1 | 1073 | cat << EOF >> $1 |
| 1110 | 1074 | ||
| 1075 | # Avoid errors in some baremetal configs as these layers may be present | ||
| 1076 | # but are not used. Note the following lines are optional and can be | ||
| 1077 | # safetly disabled. | ||
| 1078 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
| 1079 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
| 1080 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
| 1081 | |||
| 1111 | # Each multiconfig will define it's own TMPDIR, this is the new default based | 1082 | # Each multiconfig will define it's own TMPDIR, this is the new default based |
| 1112 | # on BASE_TMPDIR for the Linux build | 1083 | # on BASE_TMPDIR for the Linux build |
| 1113 | TMPDIR = "\${BASE_TMPDIR}/tmp" | 1084 | TMPDIR = "\${BASE_TMPDIR}/tmp" |
