diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-26 10:32:18 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-26 13:19:41 -0700 |
commit | 11c95d31edde0f261975a403272f9f9d69589921 (patch) | |
tree | 38bec69eefb3bfc23ebaee3fff260425b4c31ac3 | |
parent | a53cd38487b2cec2cd3f8fda3963b5ddb4328e9a (diff) | |
download | meta-xilinx-11c95d31edde0f261975a403272f9f9d69589921.tar.gz |
Revert "xlnx-compatible-os.bbclass: Class to allow recipes to list OS compatibility"
This reverts commit 4f3edb6da405ffff957d6f194bc7db7bdd9f1463.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
12 files changed, 0 insertions, 38 deletions
diff --git a/meta-xilinx-standalone/classes/esw.bbclass b/meta-xilinx-standalone/classes/esw.bbclass index 99b36859..31bbec72 100644 --- a/meta-xilinx-standalone/classes/esw.bbclass +++ b/meta-xilinx-standalone/classes/esw.bbclass | |||
@@ -28,9 +28,6 @@ ESW_CFLAGS += "-specs=${SPECFILE_PATH}" | |||
28 | 28 | ||
29 | inherit ccmake | 29 | inherit ccmake |
30 | 30 | ||
31 | COMPATIBLE_OS = "elf" | ||
32 | COMPATIBLE_OS_arm = "eabi" | ||
33 | |||
34 | DTBFILE ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | 31 | DTBFILE ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" |
35 | 32 | ||
36 | def get_xlnx_cmake_machine(fam, d): | 33 | def get_xlnx_cmake_machine(fam, d): |
diff --git a/meta-xilinx-standalone/classes/xlnx-compatible-os.bbclass b/meta-xilinx-standalone/classes/xlnx-compatible-os.bbclass deleted file mode 100644 index 4b06ddd8..00000000 --- a/meta-xilinx-standalone/classes/xlnx-compatible-os.bbclass +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | # We assume everything is Linux compatible, deviations to this | ||
2 | # must define their own compatible OS | ||
3 | COMPATIBLE_OS ?= "linux${LIBCEXTENSION}${ABIEXTENSION}" | ||
4 | |||
5 | python() { | ||
6 | # Only do this check for target recipes | ||
7 | if d.getVar('CLASSOVERRIDE') != "class-target": | ||
8 | return | ||
9 | |||
10 | need_os = d.getVar('COMPATIBLE_OS') | ||
11 | if need_os: | ||
12 | import re | ||
13 | target_os = d.getVar('TARGET_OS') | ||
14 | if not re.match(need_os, target_os): | ||
15 | raise bb.parse.SkipRecipe("incompatible with os %s (not in COMPATIBLE_OS '%s')" % (target_os, need_os)) | ||
16 | } | ||
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc index 0704c4fd..18ce4da6 100644 --- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc +++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc | |||
@@ -24,8 +24,6 @@ INHERIT += "buildhistory" | |||
24 | # Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw | 24 | # Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw |
25 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" | 25 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" |
26 | 26 | ||
27 | INHERIT += "xlnx-compatible-os" | ||
28 | |||
29 | # Clear defaults | 27 | # Clear defaults |
30 | DISTRO_FEATURES_BACKFILL_xilinx-standalone = "" | 28 | DISTRO_FEATURES_BACKFILL_xilinx-standalone = "" |
31 | VIRTUAL-RUNTIME_init_manager_xilinx-standalone = "" | 29 | VIRTUAL-RUNTIME_init_manager_xilinx-standalone = "" |
diff --git a/meta-xilinx-standalone/recipes-core/meta/meta-toolchain.bbappend b/meta-xilinx-standalone/recipes-core/meta/meta-toolchain.bbappend index cd8638ef..0b4812d0 100644 --- a/meta-xilinx-standalone/recipes-core/meta/meta-toolchain.bbappend +++ b/meta-xilinx-standalone/recipes-core/meta/meta-toolchain.bbappend | |||
@@ -1,3 +1 @@ | |||
1 | COMPATIBLE_OS_xilinx-standalone = "${TARGET_OS}" | ||
2 | |||
3 | TOOLCHAIN_TARGET_TASK_xilinx-standalone = "${@multilib_pkg_extend(d, 'packagegroup-newlib-standalone-sdk-target')}" | TOOLCHAIN_TARGET_TASK_xilinx-standalone = "${@multilib_pkg_extend(d, 'packagegroup-newlib-standalone-sdk-target')}" | |
diff --git a/meta-xilinx-standalone/recipes-core/newlib/libgloss_3.1.0.bbappend b/meta-xilinx-standalone/recipes-core/newlib/libgloss_3.1.0.bbappend index aaf4b77f..c5dda818 100644 --- a/meta-xilinx-standalone/recipes-core/newlib/libgloss_3.1.0.bbappend +++ b/meta-xilinx-standalone/recipes-core/newlib/libgloss_3.1.0.bbappend | |||
@@ -1,6 +1,3 @@ | |||
1 | COMPATIBLE_OS_xilinx-standalone = "elf" | ||
2 | COMPATIBLE_OS_arm_xilinx-standalone = "eabi" | ||
3 | |||
4 | # When building multiple, we need to depend on the multilib newlib | 1 | # When building multiple, we need to depend on the multilib newlib |
5 | DEPENDS_append_xilinx-standalone = " ${MLPREFIX}newlib" | 2 | DEPENDS_append_xilinx-standalone = " ${MLPREFIX}newlib" |
6 | 3 | ||
diff --git a/meta-xilinx-standalone/recipes-core/newlib/newlib_3.1.0.bbappend b/meta-xilinx-standalone/recipes-core/newlib/newlib_3.1.0.bbappend index 4e2533d0..d57f97b1 100644 --- a/meta-xilinx-standalone/recipes-core/newlib/newlib_3.1.0.bbappend +++ b/meta-xilinx-standalone/recipes-core/newlib/newlib_3.1.0.bbappend | |||
@@ -1,5 +1,3 @@ | |||
1 | COMPATIBLE_OS_xilinx-standalone = "elf" | ||
2 | COMPATIBLE_OS_arm_xilinx-standalone = "eabi" | ||
3 | 1 | ||
4 | EXTRA_OECONF_append_xilinx-standalone = " \ | 2 | EXTRA_OECONF_append_xilinx-standalone = " \ |
5 | --enable-newlib-io-c99-formats \ | 3 | --enable-newlib-io-c99-formats \ |
diff --git a/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-newlib-standalone-sdk-target.bb b/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-newlib-standalone-sdk-target.bb index 6f06f61a..d943938b 100644 --- a/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-newlib-standalone-sdk-target.bb +++ b/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-newlib-standalone-sdk-target.bb | |||
@@ -1,5 +1,3 @@ | |||
1 | COMPATIBLE_OS_xilinx-standalone = "${TARGET_OS}" | ||
2 | |||
3 | SUMMARY = "Target packages for the standalone SDK" | 1 | SUMMARY = "Target packages for the standalone SDK" |
4 | 2 | ||
5 | PACKAGE_ARCH = "${TUNE_PKGARCH}" | 3 | PACKAGE_ARCH = "${TUNE_PKGARCH}" |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend index d4220640..0d25e066 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | |||
@@ -1,5 +1,3 @@ | |||
1 | COMPATIBLE_OS_xilinx-standalone = "${TARGET_OS}" | ||
2 | |||
3 | # Copy of gcc-xilinx-standalone.inc, but with _class-target added | 1 | # Copy of gcc-xilinx-standalone.inc, but with _class-target added |
4 | LINKER_HASH_STYLE_xilinx-standalone_class-target = "" | 2 | LINKER_HASH_STYLE_xilinx-standalone_class-target = "" |
5 | SYMVERS_CONF_xilinx-standalone_class-target = "" | 3 | SYMVERS_CONF_xilinx-standalone_class-target = "" |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_9.%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_9.%.bbappend index 479e13f9..1a75e000 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_9.%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_9.%.bbappend | |||
@@ -1,5 +1,3 @@ | |||
1 | COMPATIBLE_OS_xilinx-standalone = "${TARGET_OS}" | ||
2 | |||
3 | # Add MicroBlaze Patches (only when using MicroBlaze) | 1 | # Add MicroBlaze Patches (only when using MicroBlaze) |
4 | FILESEXTRAPATHS_append_microblaze_xilinx-standalone := ":${THISDIR}/gcc-9" | 2 | FILESEXTRAPATHS_append_microblaze_xilinx-standalone := ":${THISDIR}/gcc-9" |
5 | SRC_URI_append_microblaze_xilinx-standalone = " \ | 3 | SRC_URI_append_microblaze_xilinx-standalone = " \ |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend index a2062f6f..e6801c2f 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend | |||
@@ -1,5 +1,3 @@ | |||
1 | COMPATIBLE_OS_xilinx-standalone = "${TARGET_OS}" | ||
2 | |||
3 | python do_multilib_install_xilinx-standalone_class-target () { | 1 | python do_multilib_install_xilinx-standalone_class-target () { |
4 | pass | 2 | pass |
5 | } | 3 | } |
diff --git a/meta-xilinx-standalone/recipes-devtools/qemu/qemuwrapper-cross_1.0.bbappend b/meta-xilinx-standalone/recipes-devtools/qemu/qemuwrapper-cross_1.0.bbappend deleted file mode 100644 index 0efa796c..00000000 --- a/meta-xilinx-standalone/recipes-devtools/qemu/qemuwrapper-cross_1.0.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | COMPATIBLE_OS_xilinx-standalone = "${TARGET_OS}" | ||
diff --git a/meta-xilinx-standalone/recipes-kernel/linux/linux-dummy.bbappend b/meta-xilinx-standalone/recipes-kernel/linux/linux-dummy.bbappend deleted file mode 100644 index 0efa796c..00000000 --- a/meta-xilinx-standalone/recipes-kernel/linux/linux-dummy.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | COMPATIBLE_OS_xilinx-standalone = "${TARGET_OS}" | ||