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 | |
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>
210 files changed, 1024 insertions, 1024 deletions
diff --git a/meta-microblaze/conf/layer.conf b/meta-microblaze/conf/layer.conf index c2f7b4b0..678c5de0 100644 --- a/meta-microblaze/conf/layer.conf +++ b/meta-microblaze/conf/layer.conf | |||
@@ -12,5 +12,5 @@ BBFILE_PRIORITY_xilinx-microblaze = "5" | |||
12 | LAYERDEPENDS_xilinx-microblaze = "core" | 12 | LAYERDEPENDS_xilinx-microblaze = "core" |
13 | 13 | ||
14 | # Until we've moved to a newer version, we need to stick on 9.2 | 14 | # Until we've moved to a newer version, we need to stick on 9.2 |
15 | GDBVERSION_microblaze = "9.2" | 15 | GDBVERSION:microblaze = "9.2" |
16 | LAYERSERIES_COMPAT_xilinx-microblaze = "gatesgarth honister hardknott" | 16 | LAYERSERIES_COMPAT_xilinx-microblaze = "gatesgarth honister hardknott" |
diff --git a/meta-microblaze/recipes-core/newlib/libgloss_4.1.%.bbappend b/meta-microblaze/recipes-core/newlib/libgloss_4.1.%.bbappend index e7f0a9a3..15be1732 100644 --- a/meta-microblaze/recipes-core/newlib/libgloss_4.1.%.bbappend +++ b/meta-microblaze/recipes-core/newlib/libgloss_4.1.%.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | require microblaze-newlib.inc | 1 | require microblaze-newlib.inc |
2 | 2 | ||
3 | do_configure_prepend_microblaze() { | 3 | do_configure:prepend:microblaze() { |
4 | # hack for microblaze, which needs xilinx.ld to literally do any linking (its hard coded in its LINK_SPEC) | 4 | # hack for microblaze, which needs xilinx.ld to literally do any linking (its hard coded in its LINK_SPEC) |
5 | export CC="${CC} -L${S}/libgloss/microblaze" | 5 | export CC="${CC} -L${S}/libgloss/microblaze" |
6 | } | 6 | } |
@@ -8,6 +8,6 @@ do_configure_prepend_microblaze() { | |||
8 | # Libgloss provides various .o files in libdir | 8 | # Libgloss provides various .o files in libdir |
9 | # These must NOT be stripped, but for some reason they are installed +x | 9 | # These must NOT be stripped, but for some reason they are installed +x |
10 | # which triggers them to be stripped. | 10 | # which triggers them to be stripped. |
11 | do_install_append_microblaze() { | 11 | do_install:append:microblaze() { |
12 | chmod 0644 ${D}${libdir}/*.o | 12 | chmod 0644 ${D}${libdir}/*.o |
13 | } | 13 | } |
diff --git a/meta-microblaze/recipes-core/newlib/microblaze-newlib.inc b/meta-microblaze/recipes-core/newlib/microblaze-newlib.inc index 1a4a90ad..c9589bfe 100644 --- a/meta-microblaze/recipes-core/newlib/microblaze-newlib.inc +++ b/meta-microblaze/recipes-core/newlib/microblaze-newlib.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | # Add MicroBlaze Patches | 1 | # Add MicroBlaze Patches |
2 | FILESEXTRAPATHS_append_microblaze := ":${THISDIR}/files" | 2 | FILESEXTRAPATHS:append:microblaze := ":${THISDIR}/files" |
3 | SRC_URI_append_microblaze = " \ | 3 | SRC_URI:append:microblaze = " \ |
4 | file://0001-Patch-microblaze-Add-config-microblaze.mt-for-target.patch \ | 4 | file://0001-Patch-microblaze-Add-config-microblaze.mt-for-target.patch \ |
5 | file://0002-Patch-microblaze-Modified-_exceptional_handler.patch \ | 5 | file://0002-Patch-microblaze-Modified-_exceptional_handler.patch \ |
6 | file://0003-LOCAL-Add-missing-declarations-for-xil_printf-to-std.patch \ | 6 | file://0003-LOCAL-Add-missing-declarations-for-xil_printf-to-std.patch \ |
diff --git a/meta-microblaze/recipes-core/newlib/newlib_4.1.%.bbappend b/meta-microblaze/recipes-core/newlib/newlib_4.1.%.bbappend index d459bf19..d30e61ec 100644 --- a/meta-microblaze/recipes-core/newlib/newlib_4.1.%.bbappend +++ b/meta-microblaze/recipes-core/newlib/newlib_4.1.%.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | require microblaze-newlib.inc | 1 | require microblaze-newlib.inc |
2 | 2 | ||
3 | do_configure_prepend_microblaze() { | 3 | do_configure:prepend:microblaze() { |
4 | # hack for microblaze, which needs xilinx.ld to literally do any linking (its hard coded in its LINK_SPEC) | 4 | # hack for microblaze, which needs xilinx.ld to literally do any linking (its hard coded in its LINK_SPEC) |
5 | export CC="${CC} -L${S}/libgloss/microblaze" | 5 | export CC="${CC} -L${S}/libgloss/microblaze" |
6 | } | 6 | } |
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend b/meta-microblaze/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend index e439cae7..3d57ddbf 100644 --- a/meta-microblaze/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend +++ b/meta-microblaze/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | MICROBLAZEPATCHES = "" | 1 | MICROBLAZEPATCHES = "" |
2 | MICROBLAZEPATCHES_microblaze = "binutils-microblaze.inc" | 2 | MICROBLAZEPATCHES:microblaze = "binutils-microblaze.inc" |
3 | 3 | ||
4 | require ${MICROBLAZEPATCHES} | 4 | require ${MICROBLAZEPATCHES} |
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils-cross_%.bbappend b/meta-microblaze/recipes-devtools/binutils/binutils-cross_%.bbappend index e439cae7..3d57ddbf 100644 --- a/meta-microblaze/recipes-devtools/binutils/binutils-cross_%.bbappend +++ b/meta-microblaze/recipes-devtools/binutils/binutils-cross_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | MICROBLAZEPATCHES = "" | 1 | MICROBLAZEPATCHES = "" |
2 | MICROBLAZEPATCHES_microblaze = "binutils-microblaze.inc" | 2 | MICROBLAZEPATCHES:microblaze = "binutils-microblaze.inc" |
3 | 3 | ||
4 | require ${MICROBLAZEPATCHES} | 4 | require ${MICROBLAZEPATCHES} |
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc b/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc index 96ffb289..44f4cc79 100644 --- a/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc +++ b/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | FILESEXTRAPATHS_append := ":${THISDIR}/binutils" | 1 | FILESEXTRAPATHS:append := ":${THISDIR}/binutils" |
2 | 2 | ||
3 | SRC_URI_append = " \ | 3 | SRC_URI:append = " \ |
4 | file://0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch \ | 4 | file://0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch \ |
5 | file://0002-Add-mlittle-endian-and-mbig-endian-flags.patch \ | 5 | file://0002-Add-mlittle-endian-and-mbig-endian-flags.patch \ |
6 | file://0003-Disable-the-warning-message-for-eh_frame_hdr.patch \ | 6 | file://0003-Disable-the-warning-message-for-eh_frame_hdr.patch \ |
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils_%.bbappend b/meta-microblaze/recipes-devtools/binutils/binutils_%.bbappend index e439cae7..3d57ddbf 100644 --- a/meta-microblaze/recipes-devtools/binutils/binutils_%.bbappend +++ b/meta-microblaze/recipes-devtools/binutils/binutils_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | MICROBLAZEPATCHES = "" | 1 | MICROBLAZEPATCHES = "" |
2 | MICROBLAZEPATCHES_microblaze = "binutils-microblaze.inc" | 2 | MICROBLAZEPATCHES:microblaze = "binutils-microblaze.inc" |
3 | 3 | ||
4 | require ${MICROBLAZEPATCHES} | 4 | require ${MICROBLAZEPATCHES} |
diff --git a/meta-microblaze/recipes-devtools/gcc/gcc-source_11.%.bbappend b/meta-microblaze/recipes-devtools/gcc/gcc-source_11.%.bbappend index a0805425..c0ad2e66 100644 --- a/meta-microblaze/recipes-devtools/gcc/gcc-source_11.%.bbappend +++ b/meta-microblaze/recipes-devtools/gcc/gcc-source_11.%.bbappend | |||
@@ -1,7 +1,7 @@ | |||
1 | # Add MicroBlaze Patches (only when using MicroBlaze) | 1 | # Add MicroBlaze Patches (only when using MicroBlaze) |
2 | FILESEXTRAPATHS_append_microblaze := ":${THISDIR}/gcc-10" | 2 | FILESEXTRAPATHS:append:microblaze := ":${THISDIR}/gcc-10" |
3 | 3 | ||
4 | SRC_URI_append_microblaze = " \ | 4 | SRC_URI:append:microblaze = " \ |
5 | file://0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch \ | 5 | file://0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch \ |
6 | file://0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch \ | 6 | file://0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch \ |
7 | file://0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch \ | 7 | file://0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch \ |
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb-common.inc b/meta-microblaze/recipes-devtools/gdb/gdb-common.inc index 08f615ad..72ede01e 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb-common.inc +++ b/meta-microblaze/recipes-devtools/gdb/gdb-common.inc | |||
@@ -4,10 +4,10 @@ SECTION = "devel" | |||
4 | DEPENDS = "expat zlib ncurses virtual/libiconv ${LTTNGUST} bison-native" | 4 | DEPENDS = "expat zlib ncurses virtual/libiconv ${LTTNGUST} bison-native" |
5 | 5 | ||
6 | LTTNGUST = "lttng-ust" | 6 | LTTNGUST = "lttng-ust" |
7 | LTTNGUST_arc = "" | 7 | LTTNGUST:arc = "" |
8 | LTTNGUST_aarch64 = "" | 8 | LTTNGUST:aarch64 = "" |
9 | LTTNGUST_mipsarch = "" | 9 | LTTNGUST:mipsarch = "" |
10 | LTTNGUST_sh4 = "" | 10 | LTTNGUST:sh4 = "" |
11 | 11 | ||
12 | inherit autotools texinfo | 12 | inherit autotools texinfo |
13 | 13 | ||
@@ -49,14 +49,14 @@ do_configure () { | |||
49 | 49 | ||
50 | # we don't want gdb to provide bfd/iberty/opcodes, which instead will override the | 50 | # we don't want gdb to provide bfd/iberty/opcodes, which instead will override the |
51 | # right bits installed by binutils. Same for bfd.info -- also from binutils. | 51 | # right bits installed by binutils. Same for bfd.info -- also from binutils. |
52 | do_install_append() { | 52 | do_install:append() { |
53 | rm -rf ${D}${libdir} | 53 | rm -rf ${D}${libdir} |
54 | rm -rf ${D}${includedir} | 54 | rm -rf ${D}${includedir} |
55 | rm -rf ${D}${datadir}/locale | 55 | rm -rf ${D}${datadir}/locale |
56 | rm -f ${D}${infodir}/bfd.info | 56 | rm -f ${D}${infodir}/bfd.info |
57 | } | 57 | } |
58 | 58 | ||
59 | RRECOMMENDS_gdb_append_linux = " glibc-thread-db " | 59 | RRECOMMENDS:gdb:append_linux = " glibc-thread-db " |
60 | RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db " | 60 | RRECOMMENDS:gdb:append:linux-gnueabi = " glibc-thread-db " |
61 | RRECOMMENDS_gdbserver_append_linux = " glibc-thread-db " | 61 | RRECOMMENDS:gdbserver:append_linux = " glibc-thread-db " |
62 | RRECOMMENDS_gdbserver_append_linux-gnueabi = " glibc-thread-db " | 62 | RRECOMMENDS:gdbserver:append:linux-gnueabi = " glibc-thread-db " |
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian.inc index c9daf25a..92bff6fc 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian.inc +++ b/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian.inc | |||
@@ -20,7 +20,7 @@ PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nati | |||
20 | 20 | ||
21 | SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" | 21 | SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" |
22 | 22 | ||
23 | do_configure_prepend() { | 23 | do_configure:prepend() { |
24 | cat > ${WORKDIR}/python << EOF | 24 | cat > ${WORKDIR}/python << EOF |
25 | #! /bin/sh | 25 | #! /bin/sh |
26 | case "\$2" in | 26 | case "\$2" in |
@@ -36,7 +36,7 @@ EOF | |||
36 | 36 | ||
37 | # we don't want gdb to provide bfd/iberty/opcodes, which instead will override the | 37 | # we don't want gdb to provide bfd/iberty/opcodes, which instead will override the |
38 | # right bits installed by binutils. | 38 | # right bits installed by binutils. |
39 | do_install_append() { | 39 | do_install:append() { |
40 | rm -rf ${D}${exec_prefix}/lib | 40 | rm -rf ${D}${exec_prefix}/lib |
41 | cross_canadian_bindirlinks | 41 | cross_canadian_bindirlinks |
42 | } | 42 | } |
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend b/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend index ceb7b02b..33fbe158 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend +++ b/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | MICROBLAZEPATCHES = "" | 1 | MICROBLAZEPATCHES = "" |
2 | MICROBLAZEPATCHES_microblaze = "gdb-microblaze.inc" | 2 | MICROBLAZEPATCHES:microblaze = "gdb-microblaze.inc" |
3 | 3 | ||
4 | require ${MICROBLAZEPATCHES} | 4 | require ${MICROBLAZEPATCHES} |
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb-cross.inc b/meta-microblaze/recipes-devtools/gdb/gdb-cross.inc index ebe329f6..56b8726f 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb-cross.inc +++ b/meta-microblaze/recipes-devtools/gdb/gdb-cross.inc | |||
@@ -9,7 +9,7 @@ PACKAGECONFIG ??= "python readline" | |||
9 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native" | 9 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native" |
10 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native" | 10 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native" |
11 | 11 | ||
12 | do_compile_prepend() { | 12 | do_compile:prepend() { |
13 | export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}" | 13 | export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}" |
14 | export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}" | 14 | export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}" |
15 | } | 15 | } |
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb-cross_%.bbappend b/meta-microblaze/recipes-devtools/gdb/gdb-cross_%.bbappend index ceb7b02b..33fbe158 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb-cross_%.bbappend +++ b/meta-microblaze/recipes-devtools/gdb/gdb-cross_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | MICROBLAZEPATCHES = "" | 1 | MICROBLAZEPATCHES = "" |
2 | MICROBLAZEPATCHES_microblaze = "gdb-microblaze.inc" | 2 | MICROBLAZEPATCHES:microblaze = "gdb-microblaze.inc" |
3 | 3 | ||
4 | require ${MICROBLAZEPATCHES} | 4 | require ${MICROBLAZEPATCHES} |
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb-microblaze.inc b/meta-microblaze/recipes-devtools/gdb/gdb-microblaze.inc index 006b135d..b202b114 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb-microblaze.inc +++ b/meta-microblaze/recipes-devtools/gdb/gdb-microblaze.inc | |||
@@ -1,10 +1,10 @@ | |||
1 | # MicroBlaze does not support LTTng UST | 1 | # MicroBlaze does not support LTTng UST |
2 | LTTNGUST_microblaze = "" | 2 | LTTNGUST:microblaze = "" |
3 | 3 | ||
4 | # Add MicroBlaze patches | 4 | # Add MicroBlaze patches |
5 | FILESEXTRAPATHS_append := ":${THISDIR}/gdb" | 5 | FILESEXTRAPATHS:append := ":${THISDIR}/gdb" |
6 | 6 | ||
7 | SRC_URI_append_microblaze = " \ | 7 | SRC_URI:append:microblaze = " \ |
8 | file://0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch \ | 8 | file://0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch \ |
9 | file://0003-Disable-the-warning-message-for-eh_frame_hdr.patch \ | 9 | file://0003-Disable-the-warning-message-for-eh_frame_hdr.patch \ |
10 | file://0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch \ | 10 | file://0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch \ |
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb.inc b/meta-microblaze/recipes-devtools/gdb/gdb.inc index 249e24dc..49870fbd 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb.inc +++ b/meta-microblaze/recipes-devtools/gdb/gdb.inc | |||
@@ -2,13 +2,13 @@ require gdb-common.inc | |||
2 | 2 | ||
3 | inherit gettext | 3 | inherit gettext |
4 | 4 | ||
5 | #LDFLAGS_append = " -s" | 5 | #LDFLAGS:append = " -s" |
6 | #export CFLAGS_append=" -L${STAGING_LIBDIR}" | 6 | #export CFLAGS:append=" -L${STAGING_LIBDIR}" |
7 | 7 | ||
8 | # cross-canadian must not see this | 8 | # cross-canadian must not see this |
9 | PACKAGES =+ "gdbserver" | 9 | PACKAGES =+ "gdbserver" |
10 | FILES_gdbserver = "${bindir}/gdbserver" | 10 | FILES:gdbserver = "${bindir}/gdbserver" |
11 | 11 | ||
12 | ALLOW_EMPTY_gdbserver_riscv64 = "1" | 12 | ALLOW_EMPTY:gdbserver:riscv64 = "1" |
13 | ALLOW_EMPTY_gdbserver_riscv32 = "1" | 13 | ALLOW_EMPTY:gdbserver:riscv32 = "1" |
14 | 14 | ||
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb_%.bbappend b/meta-microblaze/recipes-devtools/gdb/gdb_%.bbappend index ceb7b02b..33fbe158 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb_%.bbappend +++ b/meta-microblaze/recipes-devtools/gdb/gdb_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | MICROBLAZEPATCHES = "" | 1 | MICROBLAZEPATCHES = "" |
2 | MICROBLAZEPATCHES_microblaze = "gdb-microblaze.inc" | 2 | MICROBLAZEPATCHES:microblaze = "gdb-microblaze.inc" |
3 | 3 | ||
4 | require ${MICROBLAZEPATCHES} | 4 | require ${MICROBLAZEPATCHES} |
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb_9.2.bb b/meta-microblaze/recipes-devtools/gdb/gdb_9.2.bb index d70757a1..e73e3a2c 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb_9.2.bb +++ b/meta-microblaze/recipes-devtools/gdb/gdb_9.2.bb | |||
@@ -3,7 +3,7 @@ require gdb-${PV}.inc | |||
3 | 3 | ||
4 | inherit python3-dir | 4 | inherit python3-dir |
5 | 5 | ||
6 | EXTRA_OEMAKE_append_libc-musl = "\ | 6 | EXTRA_OEMAKE:append:libc-musl = "\ |
7 | gt_cv_func_gnugettext1_libc=yes \ | 7 | gt_cv_func_gnugettext1_libc=yes \ |
8 | gt_cv_func_gnugettext2_libc=yes \ | 8 | gt_cv_func_gnugettext2_libc=yes \ |
9 | gl_cv_func_working_strerror=yes \ | 9 | gl_cv_func_working_strerror=yes \ |
@@ -11,7 +11,7 @@ EXTRA_OEMAKE_append_libc-musl = "\ | |||
11 | gl_cv_func_gettimeofday_clobber=no \ | 11 | gl_cv_func_gettimeofday_clobber=no \ |
12 | " | 12 | " |
13 | 13 | ||
14 | do_configure_prepend() { | 14 | do_configure:prepend() { |
15 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then | 15 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then |
16 | cat > ${WORKDIR}/python << EOF | 16 | cat > ${WORKDIR}/python << EOF |
17 | #!/bin/sh | 17 | #!/bin/sh |
diff --git a/meta-xilinx-bsp/classes/image-types-xilinx-qemu.bbclass b/meta-xilinx-bsp/classes/image-types-xilinx-qemu.bbclass index 9b2682cf..63318087 100644 --- a/meta-xilinx-bsp/classes/image-types-xilinx-qemu.bbclass +++ b/meta-xilinx-bsp/classes/image-types-xilinx-qemu.bbclass | |||
@@ -5,6 +5,6 @@ | |||
5 | # block device to match that of valid SD card sizes (which are multiples of | 5 | # block device to match that of valid SD card sizes (which are multiples of |
6 | # 512K). | 6 | # 512K). |
7 | 7 | ||
8 | CONVERSIONTYPES_append = " qemu-sd" | 8 | CONVERSIONTYPES:append = " qemu-sd" |
9 | CONVERSION_CMD_qemu-sd = "cp ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.qemu-sd; truncate -s %256M ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.qemu-sd" | 9 | CONVERSION_CMD:qemu-sd = "cp ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.qemu-sd; truncate -s %256M ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.qemu-sd" |
10 | CONVERSION_DEPENDS_qemu-sd = "coreutils-native" | 10 | CONVERSION_DEPENDS_qemu-sd = "coreutils-native" |
diff --git a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass index 0d996273..110ee254 100644 --- a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass +++ b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass | |||
@@ -21,7 +21,7 @@ do_prep_simpleimage () { | |||
21 | done | 21 | done |
22 | } | 22 | } |
23 | 23 | ||
24 | do_deploy_append () { | 24 | do_deploy:append () { |
25 | for type in ${KERNEL_IMAGETYPES} ; do | 25 | for type in ${KERNEL_IMAGETYPES} ; do |
26 | if [ -z "${type##*simpleImage*}" ] && [ ${ARCH} = "microblaze" ]; then | 26 | if [ -z "${type##*simpleImage*}" ] && [ ${ARCH} = "microblaze" ]; then |
27 | base_name=${type}-${KERNEL_IMAGE_NAME} | 27 | base_name=${type}-${KERNEL_IMAGE_NAME} |
diff --git a/meta-xilinx-bsp/classes/qemuboot-xilinx.bbclass b/meta-xilinx-bsp/classes/qemuboot-xilinx.bbclass index 1c3f2bb6..48dfa6e2 100644 --- a/meta-xilinx-bsp/classes/qemuboot-xilinx.bbclass +++ b/meta-xilinx-bsp/classes/qemuboot-xilinx.bbclass | |||
@@ -6,9 +6,9 @@ OVERRIDES .= ":qemuboot-xilinx" | |||
6 | # Allow QB_MACHINE to be overridden by a BSP config | 6 | # Allow QB_MACHINE to be overridden by a BSP config |
7 | QB_MACHINE ?= "${QB_MACHINE_XILINX}" | 7 | QB_MACHINE ?= "${QB_MACHINE_XILINX}" |
8 | QB_RNG="" | 8 | QB_RNG="" |
9 | QB_MACHINE_XILINX_aarch64 = "-machine arm-generic-fdt" | 9 | QB_MACHINE_XILINX:aarch64 = "-machine arm-generic-fdt" |
10 | QB_MACHINE_XILINX_arm = "-M arm-generic-fdt-7series" | 10 | QB_MACHINE_XILINX:arm = "-M arm-generic-fdt-7series" |
11 | QB_MACHINE_XILINX_microblaze = "-M microblaze-fdt-plnx" | 11 | QB_MACHINE_XILINX:microblaze = "-M microblaze-fdt-plnx" |
12 | 12 | ||
13 | # defaults | 13 | # defaults |
14 | QB_DEFAULT_KERNEL ?= "none" | 14 | QB_DEFAULT_KERNEL ?= "none" |
@@ -16,7 +16,7 @@ QB_DEFAULT_KERNEL ?= "none" | |||
16 | inherit qemuboot | 16 | inherit qemuboot |
17 | 17 | ||
18 | # rewrite the qemuboot with the custom sysroot bindir | 18 | # rewrite the qemuboot with the custom sysroot bindir |
19 | python do_write_qemuboot_conf_append() { | 19 | python do_write_qemuboot_conf:append() { |
20 | val = os.path.join(d.getVar('BASE_WORKDIR'), d.getVar('BUILD_SYS'), 'qemu-xilinx-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/') | 20 | val = os.path.join(d.getVar('BASE_WORKDIR'), d.getVar('BUILD_SYS'), 'qemu-xilinx-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/') |
21 | cf.set('config_bsp', 'STAGING_BINDIR_NATIVE', '%s' % val) | 21 | cf.set('config_bsp', 'STAGING_BINDIR_NATIVE', '%s' % val) |
22 | 22 | ||
diff --git a/meta-xilinx-bsp/classes/xilinx-platform-init.bbclass b/meta-xilinx-bsp/classes/xilinx-platform-init.bbclass index 5d099500..99f7863a 100644 --- a/meta-xilinx-bsp/classes/xilinx-platform-init.bbclass +++ b/meta-xilinx-bsp/classes/xilinx-platform-init.bbclass | |||
@@ -9,6 +9,6 @@ PLATFORM_INIT_STAGE_DIR = "${STAGING_DIR_HOST}${PLATFORM_INIT_DIR}" | |||
9 | 9 | ||
10 | # Target files use for platform init | 10 | # Target files use for platform init |
11 | PLATFORM_INIT_FILES ?= "" | 11 | PLATFORM_INIT_FILES ?= "" |
12 | PLATFORM_INIT_FILES_zynq = "ps7_init_gpl.c ps7_init_gpl.h" | 12 | PLATFORM_INIT_FILES:zynq = "ps7_init_gpl.c ps7_init_gpl.h" |
13 | PLATFORM_INIT_FILES_zynqmp = "psu_init_gpl.c psu_init_gpl.h" | 13 | PLATFORM_INIT_FILES:zynqmp = "psu_init_gpl.c psu_init_gpl.h" |
14 | 14 | ||
diff --git a/meta-xilinx-bsp/classes/xilinx-testimage.bbclass b/meta-xilinx-bsp/classes/xilinx-testimage.bbclass index 0126d8ba..99519637 100644 --- a/meta-xilinx-bsp/classes/xilinx-testimage.bbclass +++ b/meta-xilinx-bsp/classes/xilinx-testimage.bbclass | |||
@@ -2,7 +2,7 @@ inherit testimage | |||
2 | 2 | ||
3 | HOSTTOOLS += 'ip ping ps scp ssh stty' | 3 | HOSTTOOLS += 'ip ping ps scp ssh stty' |
4 | 4 | ||
5 | python do_testimage_prepend () { | 5 | python do_testimage:prepend () { |
6 | from oeqa.core.target.qemu import supported_fstypes | 6 | from oeqa.core.target.qemu import supported_fstypes |
7 | supported_fstypes.append('wic.qemu-sd') | 7 | supported_fstypes.append('wic.qemu-sd') |
8 | } | 8 | } |
diff --git a/meta-xilinx-bsp/conf/local.conf.sample b/meta-xilinx-bsp/conf/local.conf.sample index ab73c4ed..caaa2083 100644 --- a/meta-xilinx-bsp/conf/local.conf.sample +++ b/meta-xilinx-bsp/conf/local.conf.sample | |||
@@ -63,7 +63,7 @@ MACHINE ??= "qemuzynq" | |||
63 | # | 63 | # |
64 | #TMPDIR = "${TOPDIR}/tmp" | 64 | #TMPDIR = "${TOPDIR}/tmp" |
65 | # | 65 | # |
66 | #TMPDIR_versal = "${TOPDIR}/tmp-versal" | 66 | #TMPDIR:versal = "${TOPDIR}/tmp-versal" |
67 | 67 | ||
68 | # | 68 | # |
69 | # Default policy config | 69 | # Default policy config |
@@ -210,11 +210,11 @@ XILINX_VER_MAIN = "2021.2" | |||
210 | 210 | ||
211 | # INHERIT += "externalsrc" | 211 | # INHERIT += "externalsrc" |
212 | # PREFERRED_PROVIDER_virtual/kernel = "linux-xlnx-dev" | 212 | # PREFERRED_PROVIDER_virtual/kernel = "linux-xlnx-dev" |
213 | # EXTERNALSRC_pn-linux-xlnx-dev = "${BASE}/sources/linux" | 213 | # EXTERNALSRC:pn-linux-xlnx-dev = "${BASE}/sources/linux" |
214 | # RM_WORK_EXCLUDE += "linux-xlnx-dev" | 214 | # RM_WORK_EXCLUDE += "linux-xlnx-dev" |
215 | 215 | ||
216 | # PREFERRED_PROVIDER_virtual/bootloader = "u-boot-xlnx-dev" | 216 | # PREFERRED_PROVIDER_virtual/bootloader = "u-boot-xlnx-dev" |
217 | # EXTERNALSRC_pn-u-boot-xlnx-dev = "${BASE}/sources/u-boot" | 217 | # EXTERNALSRC:pn-u-boot-xlnx-dev = "${BASE}/sources/u-boot" |
218 | # RM_WORK_EXCLUDE += "u-boot-xlnx-dev" | 218 | # RM_WORK_EXCLUDE += "u-boot-xlnx-dev" |
219 | 219 | ||
220 | #Add below lines to use runqemu for ZU+ machines | 220 | #Add below lines to use runqemu for ZU+ machines |
diff --git a/meta-xilinx-bsp/conf/machine/include/baremetal-tc.conf b/meta-xilinx-bsp/conf/machine/include/baremetal-tc.conf index a53ceac2..c9f5c614 100644 --- a/meta-xilinx-bsp/conf/machine/include/baremetal-tc.conf +++ b/meta-xilinx-bsp/conf/machine/include/baremetal-tc.conf | |||
@@ -4,4 +4,4 @@ | |||
4 | # Project SDK workflows, so wrap baremetal toolchain items in a custom | 4 | # Project SDK workflows, so wrap baremetal toolchain items in a custom |
5 | # override: | 5 | # override: |
6 | 6 | ||
7 | MACHINEOVERRIDES_append = ":baremetal-multilib-tc" | 7 | MACHINEOVERRIDES:append = ":baremetal-multilib-tc" |
diff --git a/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc b/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc index 97c850cd..d0ed510c 100644 --- a/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc +++ b/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | # Ultra96 items that need to be configured from zynqmp-generic | 1 | # Ultra96 items that need to be configured from zynqmp-generic |
2 | PACKAGE_ARCH_pn-linux-xlnx_ultra96 = "${BOARDVARIANT_ARCH}" | 2 | PACKAGE_ARCH:pn-linux-xlnx_ultra96 = "${BOARDVARIANT_ARCH}" |
3 | KERNEL_DEVICETREE_ultra96 = "xilinx/zynqmp-zcu100-revC.dtb" | 3 | KERNEL_DEVICETREE_ultra96 = "xilinx/zynqmp-zcu100-revC.dtb" |
4 | 4 | ||
5 | # Enable bluetooth and wifi module | 5 | # Enable bluetooth and wifi module |
6 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_ultra96 = " linux-firmware-wl18xx linux-firmware-ti-bt-wl180x" | 6 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS:append_ultra96 = " linux-firmware-wl18xx linux-firmware-ti-bt-wl180x" |
7 | 7 | ||
diff --git a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc index 1b17ebce..bcb0e006 100644 --- a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc +++ b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc | |||
@@ -15,11 +15,11 @@ PREFERRED_PROVIDER_virtual/boot-bin ??= "${PREFERRED_PROVIDER_virtual/bootloader | |||
15 | do_image_wic[depends] += "${@' '.join('%s:do_deploy' % r for r in (d.getVar('WIC_DEPENDS') or "").split())}" | 15 | do_image_wic[depends] += "${@' '.join('%s:do_deploy' % r for r in (d.getVar('WIC_DEPENDS') or "").split())}" |
16 | 16 | ||
17 | UBOOT_SUFFIX ?= "img" | 17 | UBOOT_SUFFIX ?= "img" |
18 | UBOOT_SUFFIX_microblaze ?= "bin" | 18 | UBOOT_SUFFIX:microblaze ?= "bin" |
19 | 19 | ||
20 | UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" | 20 | UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" |
21 | UBOOT_ELF ?= "u-boot" | 21 | UBOOT_ELF ?= "u-boot" |
22 | UBOOT_ELF_aarch64 ?= "u-boot.elf" | 22 | UBOOT_ELF:aarch64 ?= "u-boot.elf" |
23 | 23 | ||
24 | #Hardware accelaration | 24 | #Hardware accelaration |
25 | PREFERRED_PROVIDER_virtual/libgles1_mali400 = "libmali-xlnx" | 25 | PREFERRED_PROVIDER_virtual/libgles1_mali400 = "libmali-xlnx" |
@@ -29,12 +29,12 @@ PREFERRED_PROVIDER_virtual/libgl_mali400 = "mesa-gl" | |||
29 | PREFERRED_PROVIDER_virtual/mesa_mali400 = "mesa-gl" | 29 | PREFERRED_PROVIDER_virtual/mesa_mali400 = "mesa-gl" |
30 | 30 | ||
31 | # microblaze does not get on with pie for reasons not looked into as yet | 31 | # microblaze does not get on with pie for reasons not looked into as yet |
32 | GCCPIE_microblaze = "" | 32 | GCCPIE:microblaze = "" |
33 | GLIBCPIE_microblaze = "" | 33 | GLIBCPIE:microblaze = "" |
34 | SECURITY_CFLAGS_microblaze = "" | 34 | SECURITY_CFLAGS:microblaze = "" |
35 | SECURITY_LDFLAGS_microblaze = "" | 35 | SECURITY_LDFLAGS:microblaze = "" |
36 | # Microblaze does not support gnu hash style | 36 | # Microblaze does not support gnu hash style |
37 | LINKER_HASH_STYLE_microblaze = "sysv" | 37 | LINKER_HASH_STYLE:microblaze = "sysv" |
38 | 38 | ||
39 | XSERVER ?= " \ | 39 | XSERVER ?= " \ |
40 | xserver-xorg \ | 40 | xserver-xorg \ |
diff --git a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc index b804112b..d6cfd376 100644 --- a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc +++ b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc | |||
@@ -41,13 +41,13 @@ def qemu_target_binary(d): | |||
41 | ta = "aarch64" | 41 | ta = "aarch64" |
42 | return "qemu-system-%s" % ta | 42 | return "qemu-system-%s" % ta |
43 | 43 | ||
44 | def qemu_zynqmp_unhalt(d, multiarch): | 44 | def qemu:zynqmp_unhalt(d, multiarch): |
45 | if multiarch: | 45 | if multiarch: |
46 | return "-global xlnx,zynqmp-boot.cpu-num=0 -global xlnx,zynqmp-boot.use-pmufw=true" | 46 | return "-global xlnx,zynqmp-boot.cpu-num=0 -global xlnx,zynqmp-boot.use-pmufw=true" |
47 | return "-device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4" | 47 | return "-device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4" |
48 | 48 | ||
49 | # For qemuboot, default setup across all machines in meta-xilinx | 49 | # For qemuboot, default setup across all machines in meta-xilinx |
50 | QB_SYSTEM_NAME_aarch64 ?= "${@qemu_target_binary(d)}-multiarch" | 50 | QB_SYSTEM_NAME:aarch64 ?= "${@qemu_target_binary(d)}-multiarch" |
51 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" | 51 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" |
52 | QB_DEFAULT_FSTYPE ?= "cpio" | 52 | QB_DEFAULT_FSTYPE ?= "cpio" |
53 | QB_DTB ?= "${@qemu_default_dtb(d)}" | 53 | QB_DTB ?= "${@qemu_default_dtb(d)}" |
diff --git a/meta-xilinx-bsp/conf/machine/include/soc-zynq.inc b/meta-xilinx-bsp/conf/machine/include/soc-zynq.inc index 4459f3c4..88d48a92 100644 --- a/meta-xilinx-bsp/conf/machine/include/soc-zynq.inc +++ b/meta-xilinx-bsp/conf/machine/include/soc-zynq.inc | |||
@@ -16,7 +16,7 @@ KERNEL_IMAGETYPES += "zImage" | |||
16 | 16 | ||
17 | # Set default load address. | 17 | # Set default load address. |
18 | # Override with KERNEL_EXTRA_ARGS_<board> += "..." in machine file if required | 18 | # Override with KERNEL_EXTRA_ARGS_<board> += "..." in machine file if required |
19 | KERNEL_EXTRA_ARGS_zynq += "UIMAGE_LOADADDR=0x8000" | 19 | KERNEL_EXTRA_ARGS:zynq += "UIMAGE_LOADADDR=0x8000" |
20 | 20 | ||
21 | # WIC Specific dependencies | 21 | # WIC Specific dependencies |
22 | WIC_DEPENDS ?= "virtual/kernel virtual/bootloader virtual/boot-bin" | 22 | WIC_DEPENDS ?= "virtual/kernel virtual/bootloader virtual/boot-bin" |
diff --git a/meta-xilinx-bsp/conf/machine/include/soc-zynqmp.inc b/meta-xilinx-bsp/conf/machine/include/soc-zynqmp.inc index 395cf7f4..e32fd617 100644 --- a/meta-xilinx-bsp/conf/machine/include/soc-zynqmp.inc +++ b/meta-xilinx-bsp/conf/machine/include/soc-zynqmp.inc | |||
@@ -12,8 +12,8 @@ SOC_VARIANT ?= "eg" | |||
12 | require xilinx-soc-family.inc | 12 | require xilinx-soc-family.inc |
13 | 13 | ||
14 | GRAPHICSOVERRIDES = "" | 14 | GRAPHICSOVERRIDES = "" |
15 | GRAPHICSOVERRIDES_zynqmp-eg = "mali400:" | 15 | GRAPHICSOVERRIDES:zynqmp-eg = "mali400:" |
16 | GRAPHICSOVERRIDES_zynqmp-ev = "mali400:vcu:" | 16 | GRAPHICSOVERRIDES:zynqmp-ev = "mali400:vcu:" |
17 | 17 | ||
18 | MACHINEOVERRIDES =. "${GRAPHICSOVERRIDES}" | 18 | MACHINEOVERRIDES =. "${GRAPHICSOVERRIDES}" |
19 | 19 | ||
@@ -23,13 +23,13 @@ require soc-tune-include.inc | |||
23 | KERNEL_IMAGETYPE ?= "Image" | 23 | KERNEL_IMAGETYPE ?= "Image" |
24 | 24 | ||
25 | # Support multilib on zynqmp | 25 | # Support multilib on zynqmp |
26 | DEFAULTTUNE_virtclass-multilib-lib32 ?= "armv7vethf-neon-vfpv4" | 26 | DEFAULTTUNE:virtclass-multilib-lib32 ?= "armv7vethf-neon-vfpv4" |
27 | 27 | ||
28 | WIC_DEPENDS ?= "virtual/kernel virtual/bootloader virtual/boot-bin virtual/arm-trusted-firmware" | 28 | WIC_DEPENDS ?= "virtual/kernel virtual/bootloader virtual/boot-bin virtual/arm-trusted-firmware" |
29 | 29 | ||
30 | UBOOT_SUFFIX ?= "bin" | 30 | UBOOT_SUFFIX ?= "bin" |
31 | 31 | ||
32 | XSERVER_EXT_zynqmp ?= "xf86-video-armsoc" | 32 | XSERVER_EXT:zynqmp ?= "xf86-video-armsoc" |
33 | 33 | ||
34 | # Default PMU ROM | 34 | # Default PMU ROM |
35 | PMU_ROM ?= "${DEPLOY_DIR_IMAGE}/pmu-rom.elf" | 35 | PMU_ROM ?= "${DEPLOY_DIR_IMAGE}/pmu-rom.elf" |
diff --git a/meta-xilinx-bsp/conf/machine/include/tune-cortexrm.inc b/meta-xilinx-bsp/conf/machine/include/tune-cortexrm.inc index 66edbdbd..e415209b 100644 --- a/meta-xilinx-bsp/conf/machine/include/tune-cortexrm.inc +++ b/meta-xilinx-bsp/conf/machine/include/tune-cortexrm.inc | |||
@@ -9,13 +9,13 @@ TUNEVALID[cortexr5] = "Enable Cortex-r5 specific processor optimizations" | |||
9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -mcpu=cortex-r5', '', d)}" | 9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -mcpu=cortex-r5', '', d)}" |
10 | 10 | ||
11 | AVAILTUNES += "cortexr5" | 11 | AVAILTUNES += "cortexr5" |
12 | ARMPKGARCH_tune-cortexr5 = "cortexr5" | 12 | ARMPKGARCH:tune-cortexr5 = "cortexr5" |
13 | 13 | ||
14 | TUNE_FEATURES_tune-cortexr5 = "armrm cortexr5" | 14 | TUNE_FEATURES:tune-cortexr5 = "armrm cortexr5" |
15 | PACKAGE_EXTRA_ARCHS_tune-cortexr5 = "${TUNE_PKGARCH}" | 15 | PACKAGE_EXTRA_ARCHS:tune-cortexr5 = "${TUNE_PKGARCH}" |
16 | 16 | ||
17 | AVAILTUNES += "cortexr5f" | 17 | AVAILTUNES += "cortexr5f" |
18 | ARMPKGARCH_tune-cortexr5f = "cortexr5f" | 18 | ARMPKGARCH:tune-cortexr5f = "cortexr5f" |
19 | 19 | ||
20 | TUNE_FEATURES_tune-cortexr5f = "armrm cortexr5 vfpv3d16 callconvention-hard" | 20 | TUNE_FEATURES:tune-cortexr5f = "armrm cortexr5 vfpv3d16 callconvention-hard" |
21 | PACKAGE_EXTRA_ARCHS_tune-cortexr5f = "${TUNE_PKGARCH}" | 21 | PACKAGE_EXTRA_ARCHS:tune-cortexr5f = "${TUNE_PKGARCH}" |
diff --git a/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc b/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc index 5eaeca7b..18b04742 100644 --- a/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc +++ b/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc | |||
@@ -8,5 +8,5 @@ MACHINEOVERRIDES .= "${@['', ':${BOARD}-${BOARD_VARIANT}']['${BOARD_VARIANT}' != | |||
8 | BOARD_ARCH ?= "${@['${BOARD}', '${MACHINE_ARCH}'][d.getVar('BOARD')=='']}" | 8 | BOARD_ARCH ?= "${@['${BOARD}', '${MACHINE_ARCH}'][d.getVar('BOARD')=='']}" |
9 | BOARDVARIANT_ARCH ?= "${@['${BOARD}-${BOARD_VARIANT}','${BOARD_ARCH}'][d.getVar('BOARD_VARIANT')=='']}" | 9 | BOARDVARIANT_ARCH ?= "${@['${BOARD}-${BOARD_VARIANT}','${BOARD_ARCH}'][d.getVar('BOARD_VARIANT')=='']}" |
10 | 10 | ||
11 | PACKAGE_EXTRA_ARCHS_append = "${@['', ' ${BOARD_ARCH}'][d.getVar('BOARDVARIANT_ARCH') != d.getVar('MACHINE_ARCH')]}" | 11 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' ${BOARD_ARCH}'][d.getVar('BOARDVARIANT_ARCH') != d.getVar('MACHINE_ARCH')]}" |
12 | PACKAGE_EXTRA_ARCHS_append = "${@['', ' ${BOARDVARIANT_ARCH}'][d.getVar('BOARDVARIANT_ARCH') != d.getVar('BOARD_ARCH')]}" | 12 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' ${BOARDVARIANT_ARCH}'][d.getVar('BOARDVARIANT_ARCH') != d.getVar('BOARD_ARCH')]}" |
diff --git a/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc.orig b/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc.orig index 9613a154..a7e139a0 100644 --- a/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc.orig +++ b/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc.orig | |||
@@ -8,5 +8,5 @@ MACHINEOVERRIDES =. "${@['', '${BOARD}-${BOARD_VARIANT}:']['${BOARD_VARIANT}' != | |||
8 | BOARD_ARCH ?= "${BOARD}" | 8 | BOARD_ARCH ?= "${BOARD}" |
9 | BOARDVARIANT_ARCH ?= "${@['${BOARD}-${BOARD_VARIANT}','${BOARD}'][d.getVar('BOARD_VARIANT')=='']}" | 9 | BOARDVARIANT_ARCH ?= "${@['${BOARD}-${BOARD_VARIANT}','${BOARD}'][d.getVar('BOARD_VARIANT')=='']}" |
10 | 10 | ||
11 | PACKAGE_EXTRA_ARCHS_append = " ${BOARD_ARCH}" | 11 | PACKAGE_EXTRA_ARCHS:append = " ${BOARD_ARCH}" |
12 | PACKAGE_EXTRA_ARCHS_append = "${@['', ' ${BOARDVARIANT_ARCH}'][d.getVar('BOARDVARIANT_ARCH') != d.getVar('BOARD_ARCH')]}" | 12 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' ${BOARDVARIANT_ARCH}'][d.getVar('BOARDVARIANT_ARCH') != d.getVar('BOARD_ARCH')]}" |
diff --git a/meta-xilinx-bsp/conf/machine/include/xilinx-soc-family.inc b/meta-xilinx-bsp/conf/machine/include/xilinx-soc-family.inc index 0eddb16b..dd54f5c6 100644 --- a/meta-xilinx-bsp/conf/machine/include/xilinx-soc-family.inc +++ b/meta-xilinx-bsp/conf/machine/include/xilinx-soc-family.inc | |||
@@ -6,5 +6,5 @@ require conf/machine/include/soc-family.inc | |||
6 | SOC_FAMILY_ARCH ?= "${SOC_FAMILY}" | 6 | SOC_FAMILY_ARCH ?= "${SOC_FAMILY}" |
7 | SOC_VARIANT_ARCH ?= "${@['${SOC_FAMILY}-${SOC_VARIANT}','${SOC_FAMILY}'][d.getVar('SOC_VARIANT')=='']}" | 7 | SOC_VARIANT_ARCH ?= "${@['${SOC_FAMILY}-${SOC_VARIANT}','${SOC_FAMILY}'][d.getVar('SOC_VARIANT')=='']}" |
8 | 8 | ||
9 | PACKAGE_EXTRA_ARCHS_append = " ${SOC_FAMILY_ARCH}" | 9 | PACKAGE_EXTRA_ARCHS:append = " ${SOC_FAMILY_ARCH}" |
10 | PACKAGE_EXTRA_ARCHS_append = "${@['', ' ${SOC_VARIANT_ARCH}'][d.getVar('SOC_VARIANT_ARCH') != d.getVar('SOC_FAMILY_ARCH')]}" | 10 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' ${SOC_VARIANT_ARCH}'][d.getVar('SOC_VARIANT_ARCH') != d.getVar('SOC_FAMILY_ARCH')]}" |
diff --git a/meta-xilinx-bsp/conf/machine/kc705-microblazeel.conf b/meta-xilinx-bsp/conf/machine/kc705-microblazeel.conf index a34651b7..d8169aab 100644 --- a/meta-xilinx-bsp/conf/machine/kc705-microblazeel.conf +++ b/meta-xilinx-bsp/conf/machine/kc705-microblazeel.conf | |||
@@ -6,7 +6,7 @@ | |||
6 | require conf/machine/include/tune-microblaze.inc | 6 | require conf/machine/include/tune-microblaze.inc |
7 | require conf/machine/include/machine-xilinx-default.inc | 7 | require conf/machine/include/machine-xilinx-default.inc |
8 | 8 | ||
9 | TUNE_FEATURES_tune-microblaze += "v11.0 barrel-shift reorder pattern-compare multiply-high divide-hard" | 9 | TUNE_FEATURES:tune-microblaze += "v11.0 barrel-shift reorder pattern-compare multiply-high divide-hard" |
10 | 10 | ||
11 | MACHINE_FEATURES = "" | 11 | MACHINE_FEATURES = "" |
12 | 12 | ||
diff --git a/meta-xilinx-bsp/conf/machine/microblazeel-v11.0-bs-cmp-mh-div-generic.conf b/meta-xilinx-bsp/conf/machine/microblazeel-v11.0-bs-cmp-mh-div-generic.conf index 2ef9bde5..45190205 100644 --- a/meta-xilinx-bsp/conf/machine/microblazeel-v11.0-bs-cmp-mh-div-generic.conf +++ b/meta-xilinx-bsp/conf/machine/microblazeel-v11.0-bs-cmp-mh-div-generic.conf | |||
@@ -6,7 +6,7 @@ require conf/machine/include/tune-microblaze.inc | |||
6 | require conf/machine/include/machine-xilinx-default.inc | 6 | require conf/machine/include/machine-xilinx-default.inc |
7 | require conf/machine/include/xilinx-board.inc | 7 | require conf/machine/include/xilinx-board.inc |
8 | 8 | ||
9 | TUNE_FEATURES_tune-microblaze += "v11.0 barrel-shift pattern-compare reorder divide-hard multiply-high" | 9 | TUNE_FEATURES:tune-microblaze += "v11.0 barrel-shift pattern-compare reorder divide-hard multiply-high" |
10 | 10 | ||
11 | MACHINE_FEATURES = "" | 11 | MACHINE_FEATURES = "" |
12 | 12 | ||
diff --git a/meta-xilinx-bsp/conf/machine/microblazeel-v11.0-bs-cmp-ml-generic.conf b/meta-xilinx-bsp/conf/machine/microblazeel-v11.0-bs-cmp-ml-generic.conf index d97df6a3..09546ef6 100644 --- a/meta-xilinx-bsp/conf/machine/microblazeel-v11.0-bs-cmp-ml-generic.conf +++ b/meta-xilinx-bsp/conf/machine/microblazeel-v11.0-bs-cmp-ml-generic.conf | |||
@@ -5,7 +5,7 @@ | |||
5 | require conf/machine/include/tune-microblaze.inc | 5 | require conf/machine/include/tune-microblaze.inc |
6 | require conf/machine/include/machine-xilinx-default.inc | 6 | require conf/machine/include/machine-xilinx-default.inc |
7 | 7 | ||
8 | TUNE_FEATURES_tune-microblaze += "v11.0 barrel-shift reorder pattern-compare multiply-low" | 8 | TUNE_FEATURES:tune-microblaze += "v11.0 barrel-shift reorder pattern-compare multiply-low" |
9 | 9 | ||
10 | MACHINE_FEATURES = "" | 10 | MACHINE_FEATURES = "" |
11 | 11 | ||
diff --git a/meta-xilinx-bsp/conf/machine/microzed-zynq7.conf b/meta-xilinx-bsp/conf/machine/microzed-zynq7.conf index eac1b3dc..3f9d598a 100644 --- a/meta-xilinx-bsp/conf/machine/microzed-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/microzed-zynq7.conf | |||
@@ -9,7 +9,7 @@ MACHINE_FEATURES = "ext2 vfat usbhost" | |||
9 | 9 | ||
10 | # u-boot configuration | 10 | # u-boot configuration |
11 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" | 11 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
12 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 12 | UBOOT_MACHINE ?= "xilinx:zynq_virt_defconfig" |
13 | SPL_BINARY ?= "spl/boot.bin" | 13 | SPL_BINARY ?= "spl/boot.bin" |
14 | UBOOT_ELF = "u-boot" | 14 | UBOOT_ELF = "u-boot" |
15 | 15 | ||
diff --git a/meta-xilinx-bsp/conf/machine/ml605-qemu-microblazeel.conf b/meta-xilinx-bsp/conf/machine/ml605-qemu-microblazeel.conf index 3e5d623f..25918b9d 100644 --- a/meta-xilinx-bsp/conf/machine/ml605-qemu-microblazeel.conf +++ b/meta-xilinx-bsp/conf/machine/ml605-qemu-microblazeel.conf | |||
@@ -6,7 +6,7 @@ require conf/machine/include/tune-microblaze.inc | |||
6 | require conf/machine/include/machine-xilinx-default.inc | 6 | require conf/machine/include/machine-xilinx-default.inc |
7 | require conf/machine/include/machine-xilinx-qemu.inc | 7 | require conf/machine/include/machine-xilinx-qemu.inc |
8 | 8 | ||
9 | TUNE_FEATURES_tune-microblaze += "v8.50 barrel-shift reorder pattern-compare divide-hard multiply-high fpu-hard" | 9 | TUNE_FEATURES:tune-microblaze += "v8.50 barrel-shift reorder pattern-compare divide-hard multiply-high fpu-hard" |
10 | 10 | ||
11 | MACHINE_FEATURES = "" | 11 | MACHINE_FEATURES = "" |
12 | 12 | ||
@@ -16,8 +16,8 @@ SERIAL_CONSOLES ?= "115200;ttyS0" | |||
16 | KERNEL_IMAGETYPE ?= "linux.bin.ub" | 16 | KERNEL_IMAGETYPE ?= "linux.bin.ub" |
17 | 17 | ||
18 | # Use the networking setup from qemuarm | 18 | # Use the networking setup from qemuarm |
19 | MACHINEOVERRIDES_prepend_pn-init-ifupdown = "qemuall:" | 19 | MACHINEOVERRIDES:prepend:pn-init-ifupdown = "qemuall:" |
20 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" | 20 | FILESOVERRIDES:append:pn-init-ifupdown = ":qemuarm" |
21 | 21 | ||
22 | # This machine is a targeting a QEMU model, runqemu setup: | 22 | # This machine is a targeting a QEMU model, runqemu setup: |
23 | QB_MEM = "-m 256" | 23 | QB_MEM = "-m 256" |
diff --git a/meta-xilinx-bsp/conf/machine/picozed-zynq7.conf b/meta-xilinx-bsp/conf/machine/picozed-zynq7.conf index db9c20bd..ec7a0fe3 100644 --- a/meta-xilinx-bsp/conf/machine/picozed-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/picozed-zynq7.conf | |||
@@ -13,7 +13,7 @@ MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" | |||
13 | 13 | ||
14 | # u-boot configuration | 14 | # u-boot configuration |
15 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" | 15 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
16 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 16 | UBOOT_MACHINE ?= "xilinx:zynq_virt_defconfig" |
17 | SPL_BINARY ?= "spl/boot.bin" | 17 | SPL_BINARY ?= "spl/boot.bin" |
18 | UBOOT_ELF = "u-boot" | 18 | UBOOT_ELF = "u-boot" |
19 | 19 | ||
diff --git a/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf b/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf index 8bccfde2..5f25600f 100644 --- a/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf | |||
@@ -15,8 +15,8 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | |||
15 | HDF_MACHINE = "zc702-zynq7" | 15 | HDF_MACHINE = "zc702-zynq7" |
16 | 16 | ||
17 | # Use the networking setup from qemuarm | 17 | # Use the networking setup from qemuarm |
18 | MACHINEOVERRIDES_prepend_pn-init-ifupdown = "qemuall:" | 18 | MACHINEOVERRIDES:prepend:pn-init-ifupdown = "qemuall:" |
19 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" | 19 | FILESOVERRIDES:append:pn-init-ifupdown = ":qemuarm" |
20 | 20 | ||
21 | QB_MEM = "-m 1024" | 21 | QB_MEM = "-m 1024" |
22 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" | 22 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" |
diff --git a/meta-xilinx-bsp/conf/machine/s3adsp1800-qemu-microblazeeb.conf b/meta-xilinx-bsp/conf/machine/s3adsp1800-qemu-microblazeeb.conf index 1ce63291..88a1c433 100644 --- a/meta-xilinx-bsp/conf/machine/s3adsp1800-qemu-microblazeeb.conf +++ b/meta-xilinx-bsp/conf/machine/s3adsp1800-qemu-microblazeeb.conf | |||
@@ -6,7 +6,7 @@ require conf/machine/include/tune-microblaze.inc | |||
6 | require conf/machine/include/machine-xilinx-default.inc | 6 | require conf/machine/include/machine-xilinx-default.inc |
7 | require conf/machine/include/machine-xilinx-qemu.inc | 7 | require conf/machine/include/machine-xilinx-qemu.inc |
8 | 8 | ||
9 | TUNE_FEATURES_tune-microblaze += "v8.00 bigendian barrel-shift pattern-compare multiply-low" | 9 | TUNE_FEATURES:tune-microblaze += "v8.00 bigendian barrel-shift pattern-compare multiply-low" |
10 | 10 | ||
11 | MACHINE_FEATURES = "" | 11 | MACHINE_FEATURES = "" |
12 | 12 | ||
diff --git a/meta-xilinx-bsp/conf/machine/v350-versal.conf b/meta-xilinx-bsp/conf/machine/v350-versal.conf index 6741e2f3..f637f1ed 100644 --- a/meta-xilinx-bsp/conf/machine/v350-versal.conf +++ b/meta-xilinx-bsp/conf/machine/v350-versal.conf | |||
@@ -7,7 +7,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
7 | 7 | ||
8 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 8 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
9 | 9 | ||
10 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 10 | UBOOT_MACHINE ?= "xilinx:versal_virt_defconfig" |
11 | 11 | ||
12 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 12 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
13 | 13 | ||
diff --git a/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf b/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf index 9ee2d4a4..a7817c10 100644 --- a/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf | |||
@@ -10,7 +10,7 @@ SOC_VARIANT = "ai-core" | |||
10 | 10 | ||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
12 | 12 | ||
13 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 13 | UBOOT_MACHINE ?= "xilinx:versal_virt_defconfig" |
14 | 14 | ||
15 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 15 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
16 | 16 | ||
@@ -44,13 +44,13 @@ QB_KERNEL_CMDLINE_APPEND ?= "" | |||
44 | QB_NET = "none" | 44 | QB_NET = "none" |
45 | 45 | ||
46 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 46 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" |
47 | QB_OPT_APPEND_append_qemuboot-xilinx = " -boot mode=5" | 47 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" |
48 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 48 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
49 | 49 | ||
50 | # Use booti 80000 6000000 4000000 to launch | 50 | # Use booti 80000 6000000 4000000 to launch |
51 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" | 51 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" |
52 | 52 | ||
53 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ | 53 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ |
54 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ | 54 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ |
55 | -display none \ | 55 | -display none \ |
56 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ | 56 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ |
@@ -68,5 +68,5 @@ QB_PLM_OPT = " \ | |||
68 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ | 68 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ |
69 | -display none \ | 69 | -display none \ |
70 | " | 70 | " |
71 | QB_OPT_APPEND_append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" | 71 | QB_OPT_APPEND:append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" |
72 | 72 | ||
diff --git a/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf b/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf index 1bda4cd1..5c02d023 100644 --- a/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf | |||
@@ -8,7 +8,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
8 | 8 | ||
9 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 9 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
10 | 10 | ||
11 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 11 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
12 | SPL_BINARY ?= "spl/boot.bin" | 12 | SPL_BINARY ?= "spl/boot.bin" |
13 | 13 | ||
14 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 14 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
diff --git a/meta-xilinx-bsp/conf/machine/vck190-versal.conf b/meta-xilinx-bsp/conf/machine/vck190-versal.conf index 28a07eb4..abf73a61 100644 --- a/meta-xilinx-bsp/conf/machine/vck190-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vck190-versal.conf | |||
@@ -10,7 +10,7 @@ SOC_VARIANT = "ai-core" | |||
10 | 10 | ||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
12 | 12 | ||
13 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 13 | UBOOT_MACHINE ?= "xilinx:versal_virt_defconfig" |
14 | 14 | ||
15 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 15 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
16 | 16 | ||
@@ -45,13 +45,13 @@ QB_KERNEL_CMDLINE_APPEND ?= "" | |||
45 | QB_NET = "none" | 45 | QB_NET = "none" |
46 | 46 | ||
47 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 47 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" |
48 | QB_OPT_APPEND_append_qemuboot-xilinx = " -boot mode=5" | 48 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" |
49 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 49 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
50 | 50 | ||
51 | # Use booti 80000 6000000 4000000 to launch | 51 | # Use booti 80000 6000000 4000000 to launch |
52 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" | 52 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" |
53 | 53 | ||
54 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ | 54 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ |
55 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ | 55 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ |
56 | -display none \ | 56 | -display none \ |
57 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ | 57 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ |
@@ -70,4 +70,4 @@ QB_PLM_OPT = " \ | |||
70 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ | 70 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ |
71 | -display none \ | 71 | -display none \ |
72 | " | 72 | " |
73 | QB_OPT_APPEND_append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" | 73 | QB_OPT_APPEND:append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" |
diff --git a/meta-xilinx-bsp/conf/machine/vck5000-versal.conf b/meta-xilinx-bsp/conf/machine/vck5000-versal.conf index 97fb9cc7..a2407d8b 100644 --- a/meta-xilinx-bsp/conf/machine/vck5000-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vck5000-versal.conf | |||
@@ -7,7 +7,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
7 | 7 | ||
8 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 8 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
9 | 9 | ||
10 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 10 | UBOOT_MACHINE ?= "xilinx:versal_virt_defconfig" |
11 | 11 | ||
12 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 12 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
13 | 13 | ||
diff --git a/meta-xilinx-bsp/conf/machine/versal-generic.conf b/meta-xilinx-bsp/conf/machine/versal-generic.conf index add3da23..af7a042e 100644 --- a/meta-xilinx-bsp/conf/machine/versal-generic.conf +++ b/meta-xilinx-bsp/conf/machine/versal-generic.conf | |||
@@ -11,7 +11,7 @@ MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost" | |||
11 | 11 | ||
12 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" | 12 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" |
13 | 13 | ||
14 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 14 | UBOOT_MACHINE ?= "xilinx:versal_virt_defconfig" |
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 16 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
17 | 17 | ||
@@ -51,7 +51,7 @@ QB_KERNEL_CMDLINE_APPEND ?= "" | |||
51 | QB_NET = "none" | 51 | QB_NET = "none" |
52 | 52 | ||
53 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 53 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" |
54 | QB_OPT_APPEND_append_qemuboot-xilinx = " -boot mode=5" | 54 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" |
55 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 55 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
56 | 56 | ||
57 | # Use booti 80000 6000000 4000000 to launch | 57 | # Use booti 80000 6000000 4000000 to launch |
@@ -64,7 +64,7 @@ QEMU_HW_DTB_PMC ?="${QEMU_HW_DTB_PATH}/board-versal-pmc-vc-p-a2197-00.dtb" | |||
64 | QEMU_HW_DTB_PS_vp1202-versal = "${QEMU_HW_DTB_PATH}/board-versal-vp1202-ps-virt.dtb" | 64 | QEMU_HW_DTB_PS_vp1202-versal = "${QEMU_HW_DTB_PATH}/board-versal-vp1202-ps-virt.dtb" |
65 | QEMU_HW_DTB_PMC_vp1202-versal = "${QEMU_HW_DTB_PATH}/board-versal-vp1202-pmc-virt.dtb" | 65 | QEMU_HW_DTB_PMC_vp1202-versal = "${QEMU_HW_DTB_PATH}/board-versal-vp1202-pmc-virt.dtb" |
66 | 66 | ||
67 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ | 67 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ |
68 | -hw-dtb ${QEMU_HW_DTB_PS} \ | 68 | -hw-dtb ${QEMU_HW_DTB_PS} \ |
69 | -display none \ | 69 | -display none \ |
70 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ | 70 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ |
@@ -83,4 +83,4 @@ QB_PLM_OPT = " \ | |||
83 | -hw-dtb ${QEMU_HW_DTB_PMC} \ | 83 | -hw-dtb ${QEMU_HW_DTB_PMC} \ |
84 | -display none \ | 84 | -display none \ |
85 | " | 85 | " |
86 | QB_OPT_APPEND_append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" | 86 | QB_OPT_APPEND:append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" |
diff --git a/meta-xilinx-bsp/conf/machine/vmk180-versal.conf b/meta-xilinx-bsp/conf/machine/vmk180-versal.conf index e9044ba7..794506e7 100644 --- a/meta-xilinx-bsp/conf/machine/vmk180-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vmk180-versal.conf | |||
@@ -8,7 +8,7 @@ require conf/machine/include/machine-xilinx-qemu.inc | |||
8 | 8 | ||
9 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 9 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
10 | 10 | ||
11 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 11 | UBOOT_MACHINE ?= "xilinx:versal_virt_defconfig" |
12 | 12 | ||
13 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 13 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
14 | 14 | ||
@@ -42,13 +42,13 @@ QB_KERNEL_CMDLINE_APPEND ?= "" | |||
42 | QB_NET = "none" | 42 | QB_NET = "none" |
43 | 43 | ||
44 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 44 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" |
45 | QB_OPT_APPEND_append_qemuboot-xilinx = " -boot mode=5" | 45 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" |
46 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 46 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
47 | 47 | ||
48 | # Use booti 80000 6000000 4000000 to launch | 48 | # Use booti 80000 6000000 4000000 to launch |
49 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" | 49 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" |
50 | 50 | ||
51 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ | 51 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ |
52 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ | 52 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ |
53 | -display none \ | 53 | -display none \ |
54 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ | 54 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ |
@@ -67,4 +67,4 @@ QB_PLM_OPT = " \ | |||
67 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ | 67 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ |
68 | -display none \ | 68 | -display none \ |
69 | " | 69 | " |
70 | QB_OPT_APPEND_append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" | 70 | QB_OPT_APPEND:append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" |
diff --git a/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf index d91d2ba3..e10008a7 100644 --- a/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf | |||
@@ -10,7 +10,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
10 | 10 | ||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
12 | 12 | ||
13 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 13 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
14 | SPL_BINARY ?= "spl/boot.bin" | 14 | SPL_BINARY ?= "spl/boot.bin" |
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
diff --git a/meta-xilinx-bsp/conf/machine/zc702-zynq7.conf b/meta-xilinx-bsp/conf/machine/zc702-zynq7.conf index 82d47cb4..fb709b78 100644 --- a/meta-xilinx-bsp/conf/machine/zc702-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/zc702-zynq7.conf | |||
@@ -16,7 +16,7 @@ require conf/machine/include/machine-xilinx-qemu.inc | |||
16 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 16 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
17 | 17 | ||
18 | # u-boot configuration | 18 | # u-boot configuration |
19 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 19 | UBOOT_MACHINE ?= "xilinx:zynq_virt_defconfig" |
20 | SPL_BINARY ?= "spl/boot.bin" | 20 | SPL_BINARY ?= "spl/boot.bin" |
21 | 21 | ||
22 | EXTRA_IMAGEDEPENDS += " \ | 22 | EXTRA_IMAGEDEPENDS += " \ |
diff --git a/meta-xilinx-bsp/conf/machine/zc706-zynq7.conf b/meta-xilinx-bsp/conf/machine/zc706-zynq7.conf index b5268689..369d5d75 100644 --- a/meta-xilinx-bsp/conf/machine/zc706-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/zc706-zynq7.conf | |||
@@ -16,7 +16,7 @@ require conf/machine/include/machine-xilinx-qemu.inc | |||
16 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost usbgadget" | 16 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost usbgadget" |
17 | 17 | ||
18 | # u-boot configuration | 18 | # u-boot configuration |
19 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 19 | UBOOT_MACHINE ?= "xilinx:zynq_virt_defconfig" |
20 | SPL_BINARY ?= "spl/boot.bin" | 20 | SPL_BINARY ?= "spl/boot.bin" |
21 | 21 | ||
22 | EXTRA_IMAGEDEPENDS += " \ | 22 | EXTRA_IMAGEDEPENDS += " \ |
diff --git a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf index 46dc420c..2b0ba1a9 100644 --- a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf | |||
@@ -8,7 +8,7 @@ require conf/machine/include/machine-xilinx-qemu.inc | |||
8 | 8 | ||
9 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 9 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
10 | 10 | ||
11 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 11 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
12 | SPL_BINARY ?= "spl/boot.bin" | 12 | SPL_BINARY ?= "spl/boot.bin" |
13 | 13 | ||
14 | # Default SD image build onfiguration, use qemu-sd to pad | 14 | # Default SD image build onfiguration, use qemu-sd to pad |
@@ -42,7 +42,7 @@ QB_OPT_APPEND ?= "-nographic -serial mon:stdio -serial null" | |||
42 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" | 42 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" |
43 | 43 | ||
44 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 44 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
45 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ | 45 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ |
46 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/zcu102-arm.dtb \ | 46 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/zcu102-arm.dtb \ |
47 | ${@qemu_zynqmp_unhalt(d, True)} \ | 47 | ${@qemu_zynqmp_unhalt(d, True)} \ |
48 | -device loader,file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware.elf,cpu-num=0 \ | 48 | -device loader,file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware.elf,cpu-num=0 \ |
@@ -52,7 +52,7 @@ QB_OPT_APPEND_append_qemuboot-xilinx = " \ | |||
52 | 52 | ||
53 | # Attach the rootfs disk image to the second SD interface of QEMU (which is SD0) | 53 | # Attach the rootfs disk image to the second SD interface of QEMU (which is SD0) |
54 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 54 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" |
55 | QB_OPT_APPEND_append_qemuboot-xilinx = " -boot mode=5" | 55 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" |
56 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 56 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
57 | 57 | ||
58 | QB_PMU_OPT = " \ | 58 | QB_PMU_OPT = " \ |
@@ -64,6 +64,6 @@ QB_PMU_OPT = " \ | |||
64 | -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 \ | 64 | -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 \ |
65 | -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4 \ | 65 | -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4 \ |
66 | " | 66 | " |
67 | QB_OPT_APPEND_append_qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'" | 67 | QB_OPT_APPEND:append_qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'" |
68 | 68 | ||
69 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" | 69 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" |
diff --git a/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf index e6fa0b3f..6f72250f 100644 --- a/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf | |||
@@ -10,7 +10,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
10 | 10 | ||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
12 | 12 | ||
13 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 13 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
14 | SPL_BINARY ?= "spl/boot.bin" | 14 | SPL_BINARY ?= "spl/boot.bin" |
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
diff --git a/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf index 25bfd3a8..180562f0 100644 --- a/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf | |||
@@ -9,7 +9,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
9 | 9 | ||
10 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 10 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
11 | 11 | ||
12 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 12 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
13 | SPL_BINARY ?= "spl/boot.bin" | 13 | SPL_BINARY ?= "spl/boot.bin" |
14 | 14 | ||
15 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 15 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
diff --git a/meta-xilinx-bsp/conf/machine/zcu111-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu111-zynqmp.conf index cbe0a627..6ea024f8 100644 --- a/meta-xilinx-bsp/conf/machine/zcu111-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu111-zynqmp.conf | |||
@@ -10,7 +10,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
10 | 10 | ||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
12 | 12 | ||
13 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 13 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
14 | SPL_BINARY ?= "spl/boot.bin" | 14 | SPL_BINARY ?= "spl/boot.bin" |
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
diff --git a/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf index 672411ea..4c730d3f 100644 --- a/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf | |||
@@ -10,7 +10,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
10 | 10 | ||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
12 | 12 | ||
13 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 13 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
14 | SPL_BINARY ?= "spl/boot.bin" | 14 | SPL_BINARY ?= "spl/boot.bin" |
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
diff --git a/meta-xilinx-bsp/conf/machine/zcu1285-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu1285-zynqmp.conf index c23c8ca5..98a580ed 100644 --- a/meta-xilinx-bsp/conf/machine/zcu1285-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu1285-zynqmp.conf | |||
@@ -10,7 +10,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
10 | 10 | ||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
12 | 12 | ||
13 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 13 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
14 | SPL_BINARY ?= "spl/boot.bin" | 14 | SPL_BINARY ?= "spl/boot.bin" |
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
diff --git a/meta-xilinx-bsp/conf/machine/zcu208-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu208-zynqmp.conf index 92096220..54a27a9d 100644 --- a/meta-xilinx-bsp/conf/machine/zcu208-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu208-zynqmp.conf | |||
@@ -10,7 +10,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
10 | 10 | ||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
12 | 12 | ||
13 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 13 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
14 | SPL_BINARY ?= "spl/boot.bin" | 14 | SPL_BINARY ?= "spl/boot.bin" |
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
diff --git a/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf index 3ebb9897..2e8e5071 100644 --- a/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf | |||
@@ -10,7 +10,7 @@ require conf/machine/include/machine-xilinx-default.inc | |||
10 | 10 | ||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | 11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
12 | 12 | ||
13 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 13 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
14 | SPL_BINARY ?= "spl/boot.bin" | 14 | SPL_BINARY ?= "spl/boot.bin" |
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
diff --git a/meta-xilinx-bsp/conf/machine/zedboard-zynq7.conf b/meta-xilinx-bsp/conf/machine/zedboard-zynq7.conf index a824de2c..09309045 100644 --- a/meta-xilinx-bsp/conf/machine/zedboard-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/zedboard-zynq7.conf | |||
@@ -12,7 +12,7 @@ require conf/machine/include/soc-zynq.inc | |||
12 | require conf/machine/include/machine-xilinx-default.inc | 12 | require conf/machine/include/machine-xilinx-default.inc |
13 | 13 | ||
14 | # u-boot configuration | 14 | # u-boot configuration |
15 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 15 | UBOOT_MACHINE ?= "xilinx:zynq_virt_defconfig" |
16 | SPL_BINARY ?= "spl/boot.bin" | 16 | SPL_BINARY ?= "spl/boot.bin" |
17 | 17 | ||
18 | EXTRA_IMAGEDEPENDS += " \ | 18 | EXTRA_IMAGEDEPENDS += " \ |
diff --git a/meta-xilinx-bsp/conf/machine/zybo-linux-bd-zynq7.conf b/meta-xilinx-bsp/conf/machine/zybo-linux-bd-zynq7.conf index 137796c6..7d6482bd 100644 --- a/meta-xilinx-bsp/conf/machine/zybo-linux-bd-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/zybo-linux-bd-zynq7.conf | |||
@@ -15,7 +15,7 @@ SERIAL_CONSOLES ?= "115200;ttyPS0" | |||
15 | 15 | ||
16 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | 16 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
17 | 17 | ||
18 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 18 | UBOOT_MACHINE ?= "xilinx:zynq_virt_defconfig" |
19 | SPL_BINARY ?= "spl/boot.bin" | 19 | SPL_BINARY ?= "spl/boot.bin" |
20 | FORCE_PLATFORM_INIT = "1" | 20 | FORCE_PLATFORM_INIT = "1" |
21 | UBOOT_ELF = "u-boot" | 21 | UBOOT_ELF = "u-boot" |
diff --git a/meta-xilinx-bsp/conf/machine/zybo-zynq7.conf b/meta-xilinx-bsp/conf/machine/zybo-zynq7.conf index c09cf519..39ae6050 100644 --- a/meta-xilinx-bsp/conf/machine/zybo-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/zybo-zynq7.conf | |||
@@ -13,7 +13,7 @@ MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" | |||
13 | 13 | ||
14 | # u-boot configuration | 14 | # u-boot configuration |
15 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" | 15 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
16 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 16 | UBOOT_MACHINE ?= "xilinx:zynq_virt_defconfig" |
17 | SPL_BINARY ?= "spl/boot.bin" | 17 | SPL_BINARY ?= "spl/boot.bin" |
18 | UBOOT_ELF = "u-boot" | 18 | UBOOT_ELF = "u-boot" |
19 | 19 | ||
diff --git a/meta-xilinx-bsp/conf/machine/zynq-generic.conf b/meta-xilinx-bsp/conf/machine/zynq-generic.conf index 8a8d8f24..d6bb5a9c 100644 --- a/meta-xilinx-bsp/conf/machine/zynq-generic.conf +++ b/meta-xilinx-bsp/conf/machine/zynq-generic.conf | |||
@@ -11,7 +11,7 @@ MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost usbgadget" | |||
11 | 11 | ||
12 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" | 12 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" |
13 | 13 | ||
14 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 14 | UBOOT_MACHINE ?= "xilinx:zynq_virt_defconfig" |
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
17 | 17 | ||
diff --git a/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf b/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf index 0ff25ac0..3a1f1638 100644 --- a/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf | |||
@@ -18,7 +18,7 @@ MACHINE_FEATURES += " usbgadget wifi bluetooth" | |||
18 | 18 | ||
19 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" | 19 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" |
20 | 20 | ||
21 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 21 | UBOOT_MACHINE ?= "xilinx:zynqmp_virt_defconfig" |
22 | SPL_BINARY ?= "spl/boot.bin" | 22 | SPL_BINARY ?= "spl/boot.bin" |
23 | 23 | ||
24 | # Default SD image build onfiguration, use qemu-sd to pad | 24 | # Default SD image build onfiguration, use qemu-sd to pad |
@@ -56,7 +56,7 @@ QB_OPT_APPEND ?= "-nographic -serial mon:stdio -serial null" | |||
56 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" | 56 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" |
57 | 57 | ||
58 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 58 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
59 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ | 59 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ |
60 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/zcu102-arm.dtb \ | 60 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/zcu102-arm.dtb \ |
61 | ${@qemu_zynqmp_unhalt(d, True)} \ | 61 | ${@qemu_zynqmp_unhalt(d, True)} \ |
62 | -device loader,file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware.elf,cpu-num=0 \ | 62 | -device loader,file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware.elf,cpu-num=0 \ |
@@ -66,7 +66,7 @@ QB_OPT_APPEND_append_qemuboot-xilinx = " \ | |||
66 | 66 | ||
67 | # Attach the rootfs disk image to the second SD interface of QEMU (which is SD0) | 67 | # Attach the rootfs disk image to the second SD interface of QEMU (which is SD0) |
68 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 68 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" |
69 | QB_OPT_APPEND_append_qemuboot-xilinx = " -boot mode=5" | 69 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" |
70 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 70 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
71 | 71 | ||
72 | QB_PMU_OPT = " \ | 72 | QB_PMU_OPT = " \ |
@@ -78,7 +78,7 @@ QB_PMU_OPT = " \ | |||
78 | -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 \ | 78 | -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 \ |
79 | -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4 \ | 79 | -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4 \ |
80 | " | 80 | " |
81 | QB_OPT_APPEND_append_qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'" | 81 | QB_OPT_APPEND:append_qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'" |
82 | 82 | ||
83 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" | 83 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" |
84 | 84 | ||
diff --git a/meta-xilinx-bsp/dynamic-layers/openembedded-layer/recipes-core/opencl-headers/opencl-headers_%.bbappend b/meta-xilinx-bsp/dynamic-layers/openembedded-layer/recipes-core/opencl-headers/opencl-headers_%.bbappend index afe3e9cd..b90c754d 100644 --- a/meta-xilinx-bsp/dynamic-layers/openembedded-layer/recipes-core/opencl-headers/opencl-headers_%.bbappend +++ b/meta-xilinx-bsp/dynamic-layers/openembedded-layer/recipes-core/opencl-headers/opencl-headers_%.bbappend | |||
@@ -1 +1 @@ | |||
ALLOW_EMPTY_${PN} = "1" | ALLOW_EMPTY:${PN} = "1" | ||
diff --git a/meta-xilinx-bsp/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc_%.bbappend b/meta-xilinx-bsp/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc_%.bbappend index 955398a3..f7b52f58 100644 --- a/meta-xilinx-bsp/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc_%.bbappend +++ b/meta-xilinx-bsp/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc_%.bbappend | |||
@@ -1,5 +1,5 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/xf86-video-armsoc:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/xf86-video-armsoc:" |
2 | 2 | ||
3 | SRC_URI_append = " file://0001-src-drmmode_xilinx-Add-the-dumb-gem-support-for-Xili.patch \ | 3 | SRC_URI:append = " file://0001-src-drmmode_xilinx-Add-the-dumb-gem-support-for-Xili.patch \ |
4 | file://0001-armsoc_driver.c-Bypass-the-exa-layer-to-free-the-roo.patch \ | 4 | file://0001-armsoc_driver.c-Bypass-the-exa-layer-to-free-the-roo.patch \ |
5 | " | 5 | " |
diff --git a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc index 5060887b..9e24bdd0 100644 --- a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc +++ b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc | |||
@@ -33,11 +33,11 @@ BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | |||
33 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | 33 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" |
34 | 34 | ||
35 | COMPATIBLE_MACHINE ?= "^$" | 35 | COMPATIBLE_MACHINE ?= "^$" |
36 | COMPATIBLE_MACHINE_zynqmp = ".*" | 36 | COMPATIBLE_MACHINE:zynqmp = ".*" |
37 | COMPATIBLE_MACHINE_versal = ".*" | 37 | COMPATIBLE_MACHINE:versal = ".*" |
38 | 38 | ||
39 | PLATFORM_zynqmp = "zynqmp" | 39 | PLATFORM:zynqmp = "zynqmp" |
40 | PLATFORM_versal = "versal" | 40 | PLATFORM:versal = "versal" |
41 | 41 | ||
42 | # requires CROSS_COMPILE set by hand as there is no configure script | 42 | # requires CROSS_COMPILE set by hand as there is no configure script |
43 | export CROSS_COMPILE="${TARGET_PREFIX}" | 43 | export CROSS_COMPILE="${TARGET_PREFIX}" |
@@ -49,27 +49,27 @@ AS[unexport] = "1" | |||
49 | LD[unexport] = "1" | 49 | LD[unexport] = "1" |
50 | 50 | ||
51 | ATF_CONSOLE ?= "" | 51 | ATF_CONSOLE ?= "" |
52 | ATF_CONSOLE_zynqmp = "cadence" | 52 | ATF_CONSOLE:zynqmp = "cadence" |
53 | ATF_CONSOLE_versal ?= "pl011" | 53 | ATF_CONSOLE:versal ?= "pl011" |
54 | 54 | ||
55 | DEBUG_ATF ?= "" | 55 | DEBUG_ATF ?= "" |
56 | DEBUG_ATF_versal ?= "1" | 56 | DEBUG_ATF:versal ?= "1" |
57 | 57 | ||
58 | EXTRA_OEMAKE_zynqmp_append = "${@' ZYNQMP_CONSOLE=${ATF_CONSOLE}' if d.getVar('ATF_CONSOLE', True) != '' else ''}" | 58 | EXTRA_OEMAKE:zynqmp:append = "${@' ZYNQMP_CONSOLE=${ATF_CONSOLE}' if d.getVar('ATF_CONSOLE', True) != '' else ''}" |
59 | EXTRA_OEMAKE_append_versal = "${@' VERSAL_CONSOLE=${ATF_CONSOLE}' if d.getVar('ATF_CONSOLE', True) != '' else ''}" | 59 | EXTRA_OEMAKE:append:versal = "${@' VERSAL_CONSOLE=${ATF_CONSOLE}' if d.getVar('ATF_CONSOLE', True) != '' else ''}" |
60 | EXTRA_OEMAKE_append = " ${@bb.utils.contains('DEBUG_ATF', '1', ' DEBUG=${DEBUG_ATF}', '', d)}" | 60 | EXTRA_OEMAKE:append = " ${@bb.utils.contains('DEBUG_ATF', '1', ' DEBUG=${DEBUG_ATF}', '', d)}" |
61 | 61 | ||
62 | OUTPUT_DIR = "${@bb.utils.contains('DEBUG_ATF', '1', '${B}/${PLATFORM}/debug', '${B}/${PLATFORM}/release', d)}" | 62 | OUTPUT_DIR = "${@bb.utils.contains('DEBUG_ATF', '1', '${B}/${PLATFORM}/debug', '${B}/${PLATFORM}/release', d)}" |
63 | 63 | ||
64 | ATF_MEM_BASE ?= "" | 64 | ATF_MEM_BASE ?= "" |
65 | ATF_MEM_SIZE ?= "" | 65 | ATF_MEM_SIZE ?= "" |
66 | 66 | ||
67 | EXTRA_OEMAKE_zynqmp_append = "${@' ZYNQMP_ATF_MEM_BASE=${ATF_MEM_BASE}' if d.getVar('ATF_MEM_BASE', True) != '' else ''}" | 67 | EXTRA_OEMAKE:zynqmp:append = "${@' ZYNQMP_ATF_MEM_BASE=${ATF_MEM_BASE}' if d.getVar('ATF_MEM_BASE', True) != '' else ''}" |
68 | EXTRA_OEMAKE_zynqmp_append = "${@' ZYNQMP_ATF_MEM_SIZE=${ATF_MEM_SIZE}' if d.getVar('ATF_MEM_SIZE', True) != '' else ''}" | 68 | EXTRA_OEMAKE:zynqmp:append = "${@' ZYNQMP_ATF_MEM_SIZE=${ATF_MEM_SIZE}' if d.getVar('ATF_MEM_SIZE', True) != '' else ''}" |
69 | 69 | ||
70 | EXTRA_OEMAKE_append_versal = "${@' VERSAL_ATF_MEM_BASE=${ATF_MEM_BASE}' if d.getVar('ATF_MEM_BASE', True) != '' else ''}" | 70 | EXTRA_OEMAKE:append:versal = "${@' VERSAL_ATF_MEM_BASE=${ATF_MEM_BASE}' if d.getVar('ATF_MEM_BASE', True) != '' else ''}" |
71 | EXTRA_OEMAKE_append_versal = "${@' VERSAL_ATF_MEM_SIZE=${ATF_MEM_SIZE}' if d.getVar('ATF_MEM_SIZE', True) != '' else ''}" | 71 | EXTRA_OEMAKE:append:versal = "${@' VERSAL_ATF_MEM_SIZE=${ATF_MEM_SIZE}' if d.getVar('ATF_MEM_SIZE', True) != '' else ''}" |
72 | EXTRA_OEMAKE_append_vc-p-a2197-00-versal =" VERSAL_PLATFORM=silicon" | 72 | EXTRA_OEMAKE:append_vc-p-a2197-00-versal =" VERSAL_PLATFORM=silicon" |
73 | 73 | ||
74 | do_configure() { | 74 | do_configure() { |
75 | oe_runmake clean -C ${S} BUILD_BASE=${B} PLAT=${PLATFORM} | 75 | oe_runmake clean -C ${S} BUILD_BASE=${B} PLAT=${PLATFORM} |
@@ -100,4 +100,4 @@ do_deploy() { | |||
100 | ln -sf ${ATF_BASE_NAME}.ub ${DEPLOYDIR}/atf-uboot.ub | 100 | ln -sf ${ATF_BASE_NAME}.ub ${DEPLOYDIR}/atf-uboot.ub |
101 | } | 101 | } |
102 | addtask deploy before do_build after do_compile | 102 | addtask deploy before do_build after do_compile |
103 | FILES_${PN} += "/boot/${PN}.elf" | 103 | FILES:${PN} += "/boot/${PN}.elf" |
diff --git a/meta-xilinx-bsp/recipes-bsp/base-pdi/base-pdi_1.0.bb b/meta-xilinx-bsp/recipes-bsp/base-pdi/base-pdi_1.0.bb index ba24ba1f..4e940642 100644 --- a/meta-xilinx-bsp/recipes-bsp/base-pdi/base-pdi_1.0.bb +++ b/meta-xilinx-bsp/recipes-bsp/base-pdi/base-pdi_1.0.bb | |||
@@ -5,7 +5,7 @@ LICENSE = "CLOSED" | |||
5 | PROVIDES = "virtual/base-pdi" | 5 | PROVIDES = "virtual/base-pdi" |
6 | 6 | ||
7 | COMPATIBLE_MACHINE = "^$" | 7 | COMPATIBLE_MACHINE = "^$" |
8 | COMPATIBLE_MACHINE_versal = "versal" | 8 | COMPATIBLE_MACHINE:versal = "versal" |
9 | 9 | ||
10 | PACKAGE_ARCH ?= "${MACHINE_ARCH}" | 10 | PACKAGE_ARCH ?= "${MACHINE_ARCH}" |
11 | 11 | ||
@@ -32,4 +32,4 @@ do_install() { | |||
32 | } | 32 | } |
33 | SYSROOT_DIRS += "/boot" | 33 | SYSROOT_DIRS += "/boot" |
34 | 34 | ||
35 | FILES_${PN} += "/boot/*" | 35 | FILES:${PN} += "/boot/*" |
diff --git a/meta-xilinx-bsp/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb b/meta-xilinx-bsp/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb index 6bb3a9f5..c46ae2fe 100644 --- a/meta-xilinx-bsp/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb +++ b/meta-xilinx-bsp/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb | |||
@@ -58,7 +58,7 @@ def create_bif(config, attrflags, attrimage, ids, common_attr, biffd, d): | |||
58 | 58 | ||
59 | return | 59 | return |
60 | 60 | ||
61 | def create_versal_bif(config, attrflags, attrimage, ids, common_attr, biffd, d): | 61 | def create:versal_bif(config, attrflags, attrimage, ids, common_attr, biffd, d): |
62 | import re, os | 62 | import re, os |
63 | id_dict = {} | 63 | id_dict = {} |
64 | for cfg in config: | 64 | for cfg in config: |
@@ -104,7 +104,7 @@ python do_configure() { | |||
104 | fp = d.getVar("BIF_FILE_PATH") | 104 | fp = d.getVar("BIF_FILE_PATH") |
105 | if fp == (d.getVar('B') + '/bootgen.bif'): | 105 | if fp == (d.getVar('B') + '/bootgen.bif'): |
106 | arch = d.getVar("SOC_FAMILY") | 106 | arch = d.getVar("SOC_FAMILY") |
107 | biffunc = {'versal':create_versal_bif, 'zynq':create_bif, 'zynqmp':create_bif} | 107 | biffunc = {'versal':create:versal_bif, 'zynq':create_bif, 'zynqmp':create_bif} |
108 | biffd = open(fp, 'w') | 108 | biffd = open(fp, 'w') |
109 | biffd.write("the_ROM_image:\n") | 109 | biffd.write("the_ROM_image:\n") |
110 | biffd.write("{\n") | 110 | biffd.write("{\n") |
@@ -159,13 +159,13 @@ do_deploy() { | |||
159 | ln -sf ${BOOTBIN_BASE_NAME}.bin ${DEPLOYDIR}/boot.bin | 159 | ln -sf ${BOOTBIN_BASE_NAME}.bin ${DEPLOYDIR}/boot.bin |
160 | } | 160 | } |
161 | 161 | ||
162 | do_deploy_append_versal () { | 162 | do_deploy:append:versal () { |
163 | 163 | ||
164 | install -m 0644 ${B}/BOOT_bh.bin ${DEPLOYDIR}/${BOOTBIN_BASE_NAME}_bh.bin | 164 | install -m 0644 ${B}/BOOT_bh.bin ${DEPLOYDIR}/${BOOTBIN_BASE_NAME}_bh.bin |
165 | ln -sf ${BOOTBIN_BASE_NAME}_bh.bin ${DEPLOYDIR}/BOOT-${MACHINE}_bh.bin | 165 | ln -sf ${BOOTBIN_BASE_NAME}_bh.bin ${DEPLOYDIR}/BOOT-${MACHINE}_bh.bin |
166 | } | 166 | } |
167 | 167 | ||
168 | FILES_${PN} += "/boot/BOOT.bin" | 168 | FILES:${PN} += "/boot/BOOT.bin" |
169 | SYSROOT_DIRS += "/boot" | 169 | SYSROOT_DIRS += "/boot" |
170 | 170 | ||
171 | addtask do_deploy before do_build after do_compile | 171 | addtask do_deploy before do_build after do_compile |
diff --git a/meta-xilinx-bsp/recipes-bsp/bootbin/xilinx-mcs_1.0.bb b/meta-xilinx-bsp/recipes-bsp/bootbin/xilinx-mcs_1.0.bb index 4e3b11db..a729c07b 100644 --- a/meta-xilinx-bsp/recipes-bsp/bootbin/xilinx-mcs_1.0.bb +++ b/meta-xilinx-bsp/recipes-bsp/bootbin/xilinx-mcs_1.0.bb | |||
@@ -10,7 +10,7 @@ DEPENDS = "bitstream-microblaze" | |||
10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
11 | 11 | ||
12 | COMPATIBLE_MACHINE ?= "^$" | 12 | COMPATIBLE_MACHINE ?= "^$" |
13 | COMPATIBLE_MACHINE_microblaze = ".*" | 13 | COMPATIBLE_MACHINE:microblaze = ".*" |
14 | 14 | ||
15 | inherit deploy image-artifact-names | 15 | inherit deploy image-artifact-names |
16 | 16 | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb b/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb index 4c4c8ade..c49a84ef 100644 --- a/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb +++ b/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1" | |||
7 | S = "${WORKDIR}/git" | 7 | S = "${WORKDIR}/git" |
8 | 8 | ||
9 | DEPENDS += "openssl" | 9 | DEPENDS += "openssl" |
10 | RDEPENDS_${PN} += "openssl" | 10 | RDEPENDS:${PN} += "openssl" |
11 | 11 | ||
12 | REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" | 12 | REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" |
13 | BRANCH ?= "xlnx_rel_v2021.2" | 13 | BRANCH ?= "xlnx_rel_v2021.2" |
@@ -17,7 +17,7 @@ BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != ' | |||
17 | SRC_URI = "${REPO};${BRANCHARG}" | 17 | SRC_URI = "${REPO};${BRANCHARG}" |
18 | 18 | ||
19 | EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' | 19 | EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' |
20 | CXXFLAGS_append = " -std=c++0x" | 20 | CXXFLAGS:append = " -std=c++0x" |
21 | 21 | ||
22 | TARGET_CC_ARCH += "${LDFLAGS}" | 22 | TARGET_CC_ARCH += "${LDFLAGS}" |
23 | 23 | ||
@@ -26,6 +26,6 @@ do_install() { | |||
26 | install -Dm 0755 ${S}/bootgen ${D}${bindir} | 26 | install -Dm 0755 ${S}/bootgen ${D}${bindir} |
27 | } | 27 | } |
28 | 28 | ||
29 | FILES_${PN} = "${bindir}/bootgen" | 29 | FILES:${PN} = "${bindir}/bootgen" |
30 | 30 | ||
31 | BBCLASSEXTEND = "native nativesdk" | 31 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-xilinx-bsp/recipes-bsp/cdo/extract-cdo_1.0.bb b/meta-xilinx-bsp/recipes-bsp/cdo/extract-cdo_1.0.bb index dedb3559..37c284ad 100644 --- a/meta-xilinx-bsp/recipes-bsp/cdo/extract-cdo_1.0.bb +++ b/meta-xilinx-bsp/recipes-bsp/cdo/extract-cdo_1.0.bb | |||
@@ -11,7 +11,7 @@ DEPENDS += "bootgen-native" | |||
11 | do_compile[depends] += "virtual/boot-bin:do_deploy" | 11 | do_compile[depends] += "virtual/boot-bin:do_deploy" |
12 | 12 | ||
13 | COMPATIBLE_MACHINE = "^$" | 13 | COMPATIBLE_MACHINE = "^$" |
14 | COMPATIBLE_MACHINE_versal = "versal" | 14 | COMPATIBLE_MACHINE:versal = "versal" |
15 | 15 | ||
16 | PACKAGE_ARCH ?= "${MACHINE_ARCH}" | 16 | PACKAGE_ARCH ?= "${MACHINE_ARCH}" |
17 | 17 | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb index 962154ad..be1e7f30 100644 --- a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb +++ b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb | |||
@@ -17,8 +17,8 @@ inherit devicetree image-artifact-names | |||
17 | 17 | ||
18 | DT_FILES_PATH = "${@os.path.dirname(d.getVar('SYSTEM_DTFILE')) if d.getVar('SYSTEM_DTFILE') else d.getVar('S')}" | 18 | DT_FILES_PATH = "${@os.path.dirname(d.getVar('SYSTEM_DTFILE')) if d.getVar('SYSTEM_DTFILE') else d.getVar('S')}" |
19 | 19 | ||
20 | COMPATIBLE_MACHINE_zynqmp = ".*" | 20 | COMPATIBLE_MACHINE:zynqmp = ".*" |
21 | COMPATIBLE_MACHINE_versal = ".*" | 21 | COMPATIBLE_MACHINE:versal = ".*" |
22 | 22 | ||
23 | # Device-trees are inherently board specific | 23 | # Device-trees are inherently board specific |
24 | BOARD_ARCH ??= "${MACHINE_ARCH}" | 24 | BOARD_ARCH ??= "${MACHINE_ARCH}" |
@@ -29,24 +29,24 @@ DEPENDS += "python3-dtc-native" | |||
29 | PROVIDES = "virtual/dtb" | 29 | PROVIDES = "virtual/dtb" |
30 | 30 | ||
31 | # common zynq include | 31 | # common zynq include |
32 | SRC_URI_append_zynq = " file://zynq-7000-qspi-dummy.dtsi" | 32 | SRC_URI:append:zynq = " file://zynq-7000-qspi-dummy.dtsi" |
33 | 33 | ||
34 | # device tree sources for the various machines | 34 | # device tree sources for the various machines |
35 | COMPATIBLE_MACHINE_picozed-zynq7 = ".*" | 35 | COMPATIBLE_MACHINE_picozed-zynq7 = ".*" |
36 | SRC_URI_append_picozed-zynq7 = " file://picozed-zynq7.dts" | 36 | SRC_URI:append_picozed-zynq7 = " file://picozed-zynq7.dts" |
37 | 37 | ||
38 | COMPATIBLE_MACHINE_qemu-zynq7 = ".*" | 38 | COMPATIBLE_MACHINE_qemu-zynq7 = ".*" |
39 | SRC_URI_append_qemu-zynq7 = " file://qemu-zynq7.dts" | 39 | SRC_URI:append_qemu-zynq7 = " file://qemu-zynq7.dts" |
40 | 40 | ||
41 | COMPATIBLE_MACHINE_zybo-linux-bd-zynq7 = ".*" | 41 | COMPATIBLE_MACHINE_zybo-linux-bd-zynq7 = ".*" |
42 | SRC_URI_append_zybo-linux-bd-zynq7 = " \ | 42 | SRC_URI:append_zybo-linux-bd-zynq7 = " \ |
43 | file://zybo-linux-bd-zynq7.dts \ | 43 | file://zybo-linux-bd-zynq7.dts \ |
44 | file://pcw.dtsi \ | 44 | file://pcw.dtsi \ |
45 | file://pl.dtsi \ | 45 | file://pl.dtsi \ |
46 | " | 46 | " |
47 | 47 | ||
48 | COMPATIBLE_MACHINE_kc705-microblazeel = ".*" | 48 | COMPATIBLE_MACHINE_kc705-microblazeel = ".*" |
49 | SRC_URI_append_kc705-microblazeel = " \ | 49 | SRC_URI:append_kc705-microblazeel = " \ |
50 | file://kc705-microblazeel.dts \ | 50 | file://kc705-microblazeel.dts \ |
51 | file://pl.dtsi \ | 51 | file://pl.dtsi \ |
52 | file://system-conf.dtsi \ | 52 | file://system-conf.dtsi \ |
@@ -55,7 +55,7 @@ SRC_URI_append_kc705-microblazeel = " \ | |||
55 | DTB_FILE_NAME = "${@os.path.basename(d.getVar('SYSTEM_DTFILE')).replace('.dts', '.dtb') if d.getVar('SYSTEM_DTFILE') else ''}" | 55 | DTB_FILE_NAME = "${@os.path.basename(d.getVar('SYSTEM_DTFILE')).replace('.dts', '.dtb') if d.getVar('SYSTEM_DTFILE') else ''}" |
56 | DTB_BASE_NAME ?= "${MACHINE}-system${IMAGE_VERSION_SUFFIX}" | 56 | DTB_BASE_NAME ?= "${MACHINE}-system${IMAGE_VERSION_SUFFIX}" |
57 | 57 | ||
58 | devicetree_do_deploy_append() { | 58 | devicetree_do_deploy:append() { |
59 | if [ -n "${DTB_FILE_NAME}" ]; then | 59 | if [ -n "${DTB_FILE_NAME}" ]; then |
60 | if [ -e "${DEPLOYDIR}/devicetree/${DTB_FILE_NAME}" ]; then | 60 | if [ -e "${DEPLOYDIR}/devicetree/${DTB_FILE_NAME}" ]; then |
61 | # We need the output to be system.dtb for WIC setup to match XSCT flow | 61 | # We need the output to be system.dtb for WIC setup to match XSCT flow |
diff --git a/meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl.bb b/meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl.bb index 4954b03d..2fa71309 100644 --- a/meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl.bb +++ b/meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl.bb | |||
@@ -7,8 +7,8 @@ PROVIDES = "virtual/fsbl" | |||
7 | INHERIT_DEFAULT_DEPENDS = "1" | 7 | INHERIT_DEFAULT_DEPENDS = "1" |
8 | 8 | ||
9 | COMPATIBLE_MACHINE = "^$" | 9 | COMPATIBLE_MACHINE = "^$" |
10 | COMPATIBLE_MACHINE_zynq = "zynq" | 10 | COMPATIBLE_MACHINE:zynq = "zynq" |
11 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" | 11 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
12 | 12 | ||
13 | # Specify a default in case boardvariant isn't available | 13 | # Specify a default in case boardvariant isn't available |
14 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | 14 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" |
@@ -53,8 +53,8 @@ do_deploy() { | |||
53 | 53 | ||
54 | addtask deploy before do_build after do_install | 54 | addtask deploy before do_build after do_install |
55 | 55 | ||
56 | INSANE_SKIP_${PN} = "arch" | 56 | INSANE_SKIP:${PN} = "arch" |
57 | INSANE_SKIP_${PN}-dbg = "arch" | 57 | INSANE_SKIP:${PN}-dbg = "arch" |
58 | 58 | ||
59 | SYSROOT_DIRS += "/boot" | 59 | SYSROOT_DIRS += "/boot" |
60 | FILES_${PN} = "/boot/${PN}.elf" | 60 | FILES:${PN} = "/boot/${PN}.elf" |
diff --git a/meta-xilinx-bsp/recipes-bsp/embeddedsw/plmfw.bb b/meta-xilinx-bsp/recipes-bsp/embeddedsw/plmfw.bb index 0dd93b09..70d234c9 100644 --- a/meta-xilinx-bsp/recipes-bsp/embeddedsw/plmfw.bb +++ b/meta-xilinx-bsp/recipes-bsp/embeddedsw/plmfw.bb | |||
@@ -8,7 +8,7 @@ PROVIDES = "virtual/plm" | |||
8 | INHERIT_DEFAULT_DEPENDS = "1" | 8 | INHERIT_DEFAULT_DEPENDS = "1" |
9 | 9 | ||
10 | COMPATIBLE_MACHINE = "^$" | 10 | COMPATIBLE_MACHINE = "^$" |
11 | COMPATIBLE_MACHINE_versal = "versal" | 11 | COMPATIBLE_MACHINE:versal = "versal" |
12 | 12 | ||
13 | # Specify a default in case boardvariant isn't available | 13 | # Specify a default in case boardvariant isn't available |
14 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | 14 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" |
@@ -54,8 +54,8 @@ do_deploy() { | |||
54 | 54 | ||
55 | addtask deploy before do_build after do_install | 55 | addtask deploy before do_build after do_install |
56 | 56 | ||
57 | INSANE_SKIP_${PN} = "arch" | 57 | INSANE_SKIP:${PN} = "arch" |
58 | INSANE_SKIP_${PN}-dbg = "arch" | 58 | INSANE_SKIP:${PN}-dbg = "arch" |
59 | 59 | ||
60 | SYSROOT_DIRS += "/boot" | 60 | SYSROOT_DIRS += "/boot" |
61 | FILES_${PN} = "/boot/${PN}.elf" | 61 | FILES:${PN} = "/boot/${PN}.elf" |
diff --git a/meta-xilinx-bsp/recipes-bsp/embeddedsw/pmufw.bb b/meta-xilinx-bsp/recipes-bsp/embeddedsw/pmufw.bb index 13498737..7371127c 100644 --- a/meta-xilinx-bsp/recipes-bsp/embeddedsw/pmufw.bb +++ b/meta-xilinx-bsp/recipes-bsp/embeddedsw/pmufw.bb | |||
@@ -7,7 +7,7 @@ PROVIDES = "virtual/pmu-firmware" | |||
7 | INHERIT_DEFAULT_DEPENDS = "1" | 7 | INHERIT_DEFAULT_DEPENDS = "1" |
8 | 8 | ||
9 | COMPATIBLE_MACHINE = "^$" | 9 | COMPATIBLE_MACHINE = "^$" |
10 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" | 10 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
11 | 11 | ||
12 | # Specify a default in case boardvariant isn't available | 12 | # Specify a default in case boardvariant isn't available |
13 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | 13 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" |
@@ -52,8 +52,8 @@ do_deploy() { | |||
52 | 52 | ||
53 | addtask deploy before do_build after do_install | 53 | addtask deploy before do_build after do_install |
54 | 54 | ||
55 | INSANE_SKIP_${PN} = "arch" | 55 | INSANE_SKIP:${PN} = "arch" |
56 | INSANE_SKIP_${PN}-dbg = "arch" | 56 | INSANE_SKIP:${PN}-dbg = "arch" |
57 | 57 | ||
58 | SYSROOT_DIRS += "/boot" | 58 | SYSROOT_DIRS += "/boot" |
59 | FILES_${PN} = "/boot/${PN}.elf" | 59 | FILES:${PN} = "/boot/${PN}.elf" |
diff --git a/meta-xilinx-bsp/recipes-bsp/embeddedsw/psmfw.bb b/meta-xilinx-bsp/recipes-bsp/embeddedsw/psmfw.bb index 267d6c8a..5a885b3b 100644 --- a/meta-xilinx-bsp/recipes-bsp/embeddedsw/psmfw.bb +++ b/meta-xilinx-bsp/recipes-bsp/embeddedsw/psmfw.bb | |||
@@ -8,7 +8,7 @@ PROVIDES = "virtual/psm-firmware" | |||
8 | INHERIT_DEFAULT_DEPENDS = "1" | 8 | INHERIT_DEFAULT_DEPENDS = "1" |
9 | 9 | ||
10 | COMPATIBLE_MACHINE = "^$" | 10 | COMPATIBLE_MACHINE = "^$" |
11 | COMPATIBLE_MACHINE_versal = "versal" | 11 | COMPATIBLE_MACHINE:versal = "versal" |
12 | 12 | ||
13 | # Specify a default in case boardvariant isn't available | 13 | # Specify a default in case boardvariant isn't available |
14 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | 14 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" |
@@ -54,8 +54,8 @@ do_deploy() { | |||
54 | 54 | ||
55 | addtask deploy before do_build after do_install | 55 | addtask deploy before do_build after do_install |
56 | 56 | ||
57 | INSANE_SKIP_${PN} = "arch" | 57 | INSANE_SKIP:${PN} = "arch" |
58 | INSANE_SKIP_${PN}-dbg = "arch" | 58 | INSANE_SKIP:${PN}-dbg = "arch" |
59 | 59 | ||
60 | SYSROOT_DIRS += "/boot" | 60 | SYSROOT_DIRS += "/boot" |
61 | FILES_${PN} = "/boot/${PN}.elf" | 61 | FILES:${PN} = "/boot/${PN}.elf" |
diff --git a/meta-xilinx-bsp/recipes-bsp/platform-init/platform-init.bb b/meta-xilinx-bsp/recipes-bsp/platform-init/platform-init.bb index 32509b07..cac8bbfc 100644 --- a/meta-xilinx-bsp/recipes-bsp/platform-init/platform-init.bb +++ b/meta-xilinx-bsp/recipes-bsp/platform-init/platform-init.bb | |||
@@ -34,5 +34,5 @@ do_install() { | |||
34 | done | 34 | done |
35 | } | 35 | } |
36 | 36 | ||
37 | FILES_${PN} += "${PLATFORM_INIT_DIR}/*" | 37 | FILES:${PN} += "${PLATFORM_INIT_DIR}/*" |
38 | 38 | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/reference-design/kc705-bitstream_2021.2.bb b/meta-xilinx-bsp/recipes-bsp/reference-design/kc705-bitstream_2021.2.bb index 6a2ca7cc..e512777c 100644 --- a/meta-xilinx-bsp/recipes-bsp/reference-design/kc705-bitstream_2021.2.bb +++ b/meta-xilinx-bsp/recipes-bsp/reference-design/kc705-bitstream_2021.2.bb | |||
@@ -21,7 +21,7 @@ SRC_URI[sha256sum] = "a909a91a37a9925ee2f972ccb10f986a26ff9785c1a71a483545a19278 | |||
21 | 21 | ||
22 | PROVIDES = "virtual/bitstream" | 22 | PROVIDES = "virtual/bitstream" |
23 | 23 | ||
24 | FILES_${PN} += "/boot/download.bit" | 24 | FILES:${PN} += "/boot/download.bit" |
25 | 25 | ||
26 | INHIBIT_DEFAULT_DEPS = "1" | 26 | INHIBIT_DEFAULT_DEPS = "1" |
27 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 27 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc index 97c449bd..a68c597f 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc | |||
@@ -3,10 +3,10 @@ inherit xilinx-platform-init | |||
3 | FORCE_PLATFORM_INIT[doc] = "This variable is used to force the overriding of all platform init files in u-boot source." | 3 | FORCE_PLATFORM_INIT[doc] = "This variable is used to force the overriding of all platform init files in u-boot source." |
4 | 4 | ||
5 | PLATFORM_BOARD_DIR ?= "" | 5 | PLATFORM_BOARD_DIR ?= "" |
6 | PLATFORM_BOARD_DIR_zynq = "board/xilinx/zynq" | 6 | PLATFORM_BOARD_DIR:zynq = "board/xilinx/zynq" |
7 | PLATFORM_BOARD_DIR_zynqmp = "board/xilinx/zynqmp" | 7 | PLATFORM_BOARD_DIR:zynqmp = "board/xilinx/zynqmp" |
8 | 8 | ||
9 | do_zynq_platform_init() { | 9 | do:zynq_platform_init() { |
10 | for f in ${PLATFORM_INIT_FILES}; do | 10 | for f in ${PLATFORM_INIT_FILES}; do |
11 | if [ -d "${S}/${PLATFORM_BOARD_DIR}/custom_hw_platform" ]; then | 11 | if [ -d "${S}/${PLATFORM_BOARD_DIR}/custom_hw_platform" ]; then |
12 | cp ${PLATFORM_INIT_STAGE_DIR}/$f ${S}/${PLATFORM_BOARD_DIR}/custom_hw_platform/ | 12 | cp ${PLATFORM_INIT_STAGE_DIR}/$f ${S}/${PLATFORM_BOARD_DIR}/custom_hw_platform/ |
@@ -48,7 +48,7 @@ python () { | |||
48 | # force the dependency on a recipe that provides the platform init files | 48 | # force the dependency on a recipe that provides the platform init files |
49 | d.appendVar("DEPENDS", " virtual/xilinx-platform-init") | 49 | d.appendVar("DEPENDS", " virtual/xilinx-platform-init") |
50 | # setup task to modify platform init after unpack and prepare_recipe_sysroot, and before configure | 50 | # setup task to modify platform init after unpack and prepare_recipe_sysroot, and before configure |
51 | bb.build.addtask("do_zynq_platform_init", "do_configure", "do_unpack do_prepare_recipe_sysroot", d) | 51 | bb.build.addtask("do:zynq_platform_init", "do_configure", "do_unpack do_prepare_recipe_sysroot", d) |
52 | 52 | ||
53 | if "boot.bin" not in d.getVar("SPL_BINARY"): | 53 | if "boot.bin" not in d.getVar("SPL_BINARY"): |
54 | # not deploying the boot.bin, just building SPL | 54 | # not deploying the boot.bin, just building SPL |
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc index 794141ec..893b8f6c 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc | |||
@@ -15,7 +15,7 @@ SRC_URI = "${UBOOTURI};${UBRANCHARG}" | |||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | B = "${WORKDIR}/build" | 16 | B = "${WORKDIR}/build" |
17 | 17 | ||
18 | FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:" | 18 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" |
19 | 19 | ||
20 | SYSROOT_DIRS += "/boot" | 20 | SYSROOT_DIRS += "/boot" |
21 | 21 | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2021.2.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2021.2.bb index c7051bc4..512ae8e9 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2021.2.bb +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2021.2.bb | |||
@@ -12,8 +12,8 @@ LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b | |||
12 | 12 | ||
13 | # u-boot-xlnx has support for these | 13 | # u-boot-xlnx has support for these |
14 | HAS_PLATFORM_INIT ?= " \ | 14 | HAS_PLATFORM_INIT ?= " \ |
15 | xilinx_zynqmp_virt_config \ | 15 | xilinx:zynqmp_virt_config \ |
16 | xilinx_zynq_virt_defconfig \ | 16 | xilinx:zynq_virt_defconfig \ |
17 | xilinx_versal_vc_p_a2197_revA_x_prc_01_revA \ | 17 | xilinx:versal_vc_p_a2197_revA_x_prc_01_revA \ |
18 | " | 18 | " |
19 | 19 | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb index e340bf65..ebcf2551 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb | |||
@@ -9,23 +9,23 @@ inherit deploy nopackages image-wic-utils | |||
9 | INHIBIT_DEFAULT_DEPS = "1" | 9 | INHIBIT_DEFAULT_DEPS = "1" |
10 | 10 | ||
11 | COMPATIBLE_MACHINE ?= "^$" | 11 | COMPATIBLE_MACHINE ?= "^$" |
12 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" | 12 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
13 | COMPATIBLE_MACHINE_zynq = "zynq" | 13 | COMPATIBLE_MACHINE:zynq = "zynq" |
14 | COMPATIBLE_MACHINE_versal = "versal" | 14 | COMPATIBLE_MACHINE:versal = "versal" |
15 | COMPATIBLE_MACHINE_microblaze = "microblaze" | 15 | COMPATIBLE_MACHINE:microblaze = "microblaze" |
16 | 16 | ||
17 | KERNELDT = "${@os.path.basename(d.getVar('KERNEL_DEVICETREE').split(' ')[0]) if d.getVar('KERNEL_DEVICETREE') else ''}" | 17 | KERNELDT = "${@os.path.basename(d.getVar('KERNEL_DEVICETREE').split(' ')[0]) if d.getVar('KERNEL_DEVICETREE') else ''}" |
18 | DEVICE_TREE_NAME ?= "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/dtb', 'device-tree', 'system.dtb', d.getVar('KERNELDT'), d)}" | 18 | DEVICE_TREE_NAME ?= "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/dtb', 'device-tree', 'system.dtb', d.getVar('KERNELDT'), d)}" |
19 | #Need to copy a rootfs.cpio.gz.u-boot as uramdisk.image.gz into boot partition | 19 | #Need to copy a rootfs.cpio.gz.u-boot as uramdisk.image.gz into boot partition |
20 | RAMDISK_IMAGE ?= "" | 20 | RAMDISK_IMAGE ?= "" |
21 | RAMDISK_IMAGE_zynq ?= "uramdisk.image.gz" | 21 | RAMDISK_IMAGE:zynq ?= "uramdisk.image.gz" |
22 | 22 | ||
23 | PXERAMDISK_IMAGE ?= "${@'ramdisk.cpio.gz.u-boot' if d.getVar('INITRAMFS_IMAGE') and d.getVar('INITRAMFS_IMAGE').find('initramfs') > 0 else '${RAMDISK_IMAGE}'}" | 23 | PXERAMDISK_IMAGE ?= "${@'ramdisk.cpio.gz.u-boot' if d.getVar('INITRAMFS_IMAGE') and d.getVar('INITRAMFS_IMAGE').find('initramfs') > 0 else '${RAMDISK_IMAGE}'}" |
24 | 24 | ||
25 | KERNEL_BOOTCMD_zynqmp ?= "booti" | 25 | KERNEL_BOOTCMD:zynqmp ?= "booti" |
26 | KERNEL_BOOTCMD_zynq ?= "bootm" | 26 | KERNEL_BOOTCMD:zynq ?= "bootm" |
27 | KERNEL_BOOTCMD_versal ?= "booti" | 27 | KERNEL_BOOTCMD:versal ?= "booti" |
28 | KERNEL_BOOTCMD_microblaze ?= "bootm" | 28 | KERNEL_BOOTCMD:microblaze ?= "bootm" |
29 | 29 | ||
30 | BOOTMODE ?= "sd" | 30 | BOOTMODE ?= "sd" |
31 | BOOTFILE_EXT ?= ".${SOC_FAMILY}" | 31 | BOOTFILE_EXT ?= ".${SOC_FAMILY}" |
@@ -34,7 +34,7 @@ BOOTFILE_EXT ?= ".${SOC_FAMILY}" | |||
34 | SKIP_APPEND_BASEADDR ?= "0" | 34 | SKIP_APPEND_BASEADDR ?= "0" |
35 | 35 | ||
36 | DDR_BASEADDR ?= "0x0" | 36 | DDR_BASEADDR ?= "0x0" |
37 | DDR_BASEADDR_microblaze ?= "0x80000000" | 37 | DDR_BASEADDR:microblaze ?= "0x80000000" |
38 | PRE_BOOTENV ?= "" | 38 | PRE_BOOTENV ?= "" |
39 | 39 | ||
40 | SRC_URI = " \ | 40 | SRC_URI = " \ |
@@ -54,14 +54,14 @@ PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | |||
54 | # On zynqmp-dr, we know we're different so if BOARD is not defined, fall back | 54 | # On zynqmp-dr, we know we're different so if BOARD is not defined, fall back |
55 | # to the SOC_VARIANT_ARCH instead | 55 | # to the SOC_VARIANT_ARCH instead |
56 | SOC_VARIANT_ARCH ??= "${MACHINE_ARCH}" | 56 | SOC_VARIANT_ARCH ??= "${MACHINE_ARCH}" |
57 | PACKAGE_ARCH_zynqmp-dr = "${@['${BOARDVARIANT_ARCH}', '${SOC_VARIANT_ARCH}'][d.getVar('BOARDVARIANT_ARCH')==d.getVar('MACHINE_ARCH')]}" | 57 | PACKAGE_ARCH:zynqmp-dr = "${@['${BOARDVARIANT_ARCH}', '${SOC_VARIANT_ARCH}'][d.getVar('BOARDVARIANT_ARCH')==d.getVar('MACHINE_ARCH')]}" |
58 | 58 | ||
59 | inherit image-artifact-names | 59 | inherit image-artifact-names |
60 | UENV_TEXTFILE ?= "uEnv.txt" | 60 | UENV_TEXTFILE ?= "uEnv.txt" |
61 | UENV_MMC_OFFSET_zynqmp ?= "0x200000" | 61 | UENV_MMC_OFFSET:zynqmp ?= "0x200000" |
62 | UENV_MMC_OFFSET_zynq ?= "0x2080000" | 62 | UENV_MMC_OFFSET:zynq ?= "0x2080000" |
63 | UENV_MMC_OFFSET_versal ?= "0x200000" | 63 | UENV_MMC_OFFSET:versal ?= "0x200000" |
64 | UENV_MMC_OFFSET_microblaze ?= "0x0" | 64 | UENV_MMC_OFFSET:microblaze ?= "0x0" |
65 | 65 | ||
66 | UENV_MMC_LOAD_ADDRESS ?= "${@append_baseaddr(d,d.getVar('UENV_MMC_OFFSET'))}" | 66 | UENV_MMC_LOAD_ADDRESS ?= "${@append_baseaddr(d,d.getVar('UENV_MMC_OFFSET'))}" |
67 | 67 | ||
@@ -71,26 +71,26 @@ UBOOTPXE_CONFIG_NAME = "${UBOOTPXE_CONFIG}${IMAGE_VERSION_SUFFIX}" | |||
71 | 71 | ||
72 | DEVICETREE_ADDRESS ?= "${@append_baseaddr(d,d.getVar('DEVICETREE_OFFSET'))}" | 72 | DEVICETREE_ADDRESS ?= "${@append_baseaddr(d,d.getVar('DEVICETREE_OFFSET'))}" |
73 | 73 | ||
74 | DEVICETREE_OFFSET_microblaze ?= "0x1e00000" | 74 | DEVICETREE_OFFSET:microblaze ?= "0x1e00000" |
75 | DEVICETREE_OFFSET_zynqmp ?= "0x100000" | 75 | DEVICETREE_OFFSET:zynqmp ?= "0x100000" |
76 | DEVICETREE_OFFSET_zynq ?= "0x2000000" | 76 | DEVICETREE_OFFSET:zynq ?= "0x2000000" |
77 | DEVICETREE_OFFSET_versal ?= "0x1000" | 77 | DEVICETREE_OFFSET:versal ?= "0x1000" |
78 | 78 | ||
79 | KERNEL_LOAD_ADDRESS ?= "${@append_baseaddr(d,d.getVar('KERNEL_OFFSET'))}" | 79 | KERNEL_LOAD_ADDRESS ?= "${@append_baseaddr(d,d.getVar('KERNEL_OFFSET'))}" |
80 | 80 | ||
81 | KERNEL_OFFSET_microblaze ?= "0x0" | 81 | KERNEL_OFFSET:microblaze ?= "0x0" |
82 | KERNEL_OFFSET_zynqmp ?= "0x200000" | 82 | KERNEL_OFFSET:zynqmp ?= "0x200000" |
83 | KERNEL_OFFSET_zynq ?= "0x2080000" | 83 | KERNEL_OFFSET:zynq ?= "0x2080000" |
84 | KERNEL_OFFSET_versal ?= "0x200000" | 84 | KERNEL_OFFSET:versal ?= "0x200000" |
85 | 85 | ||
86 | KERNEL_IMAGE ?= "${KERNEL_IMAGETYPE}" | 86 | KERNEL_IMAGE ?= "${KERNEL_IMAGETYPE}" |
87 | 87 | ||
88 | RAMDISK_IMAGE_ADDRESS ?= "${@append_baseaddr(d,d.getVar('RAMDISK_OFFSET'))}" | 88 | RAMDISK_IMAGE_ADDRESS ?= "${@append_baseaddr(d,d.getVar('RAMDISK_OFFSET'))}" |
89 | 89 | ||
90 | RAMDISK_OFFSET_microblaze ?= "0x2e00000" | 90 | RAMDISK_OFFSET:microblaze ?= "0x2e00000" |
91 | RAMDISK_OFFSET_zynq ?= "0x4000000" | 91 | RAMDISK_OFFSET:zynq ?= "0x4000000" |
92 | RAMDISK_OFFSET_zynqmp ?= "0x4000000" | 92 | RAMDISK_OFFSET:zynqmp ?= "0x4000000" |
93 | RAMDISK_OFFSET_versal ?= "0x6000000" | 93 | RAMDISK_OFFSET:versal ?= "0x6000000" |
94 | 94 | ||
95 | FIT_IMAGE_LOAD_ADDRESS ?= "${@append_baseaddr(d,d.getVar('FIT_IMAGE_OFFSET'))}" | 95 | FIT_IMAGE_LOAD_ADDRESS ?= "${@append_baseaddr(d,d.getVar('FIT_IMAGE_OFFSET'))}" |
96 | FIT_IMAGE_OFFSET ?= "0x10000000" | 96 | FIT_IMAGE_OFFSET ?= "0x10000000" |
@@ -99,20 +99,20 @@ FIT_IMAGE ?= "image.ub" | |||
99 | ## Below offsets and sizes are based on 32MB QSPI Memory for zynq | 99 | ## Below offsets and sizes are based on 32MB QSPI Memory for zynq |
100 | ## For MB | 100 | ## For MB |
101 | ## Load boot.scr at 0xFC0000 -> 15MB of QSPI/NAND Memory | 101 | ## Load boot.scr at 0xFC0000 -> 15MB of QSPI/NAND Memory |
102 | QSPI_KERNEL_OFFSET_microblaze ?= "0xBC0000" | 102 | QSPI_KERNEL_OFFSET:microblaze ?= "0xBC0000" |
103 | QSPI_KERNEL_SIZE_microblaze ?= "0x500000" | 103 | QSPI_KERNEL_SIZE:microblaze ?= "0x500000" |
104 | QSPI_RAMDISK_SIZE_microblaze ?= "0xA00000" | 104 | QSPI_RAMDISK_SIZE:microblaze ?= "0xA00000" |
105 | 105 | ||
106 | ## For zynq | 106 | ## For zynq |
107 | ## Load boot.scr at 0xFC0000 -> 15MB of QSPI/NAND Memory | 107 | ## Load boot.scr at 0xFC0000 -> 15MB of QSPI/NAND Memory |
108 | QSPI_KERNEL_OFFSET_zynq ?= "0x1000000" | 108 | QSPI_KERNEL_OFFSET:zynq ?= "0x1000000" |
109 | QSPI_RAMDISK_OFFSET_zynq ?= "0x1580000" | 109 | QSPI_RAMDISK_OFFSET:zynq ?= "0x1580000" |
110 | 110 | ||
111 | NAND_KERNEL_OFFSET_zynq ?= "0x1000000" | 111 | NAND_KERNEL_OFFSET:zynq ?= "0x1000000" |
112 | NAND_RAMDISK_OFFSET_zynq ?= "0x4600000" | 112 | NAND_RAMDISK_OFFSET:zynq ?= "0x4600000" |
113 | 113 | ||
114 | QSPI_KERNEL_SIZE_zynq ?= "0x500000" | 114 | QSPI_KERNEL_SIZE:zynq ?= "0x500000" |
115 | QSPI_RAMDISK_SIZE_zynq ?= "0xA00000" | 115 | QSPI_RAMDISK_SIZE:zynq ?= "0xA00000" |
116 | 116 | ||
117 | NAND_KERNEL_SIZE ?= "0x3200000" | 117 | NAND_KERNEL_SIZE ?= "0x3200000" |
118 | NAND_RAMDISK_SIZE ?= "0x3200000" | 118 | NAND_RAMDISK_SIZE ?= "0x3200000" |
@@ -121,40 +121,40 @@ NAND_RAMDISK_SIZE ?= "0x3200000" | |||
121 | ## For zynqMP | 121 | ## For zynqMP |
122 | ## Load boot.scr at 0x3E80000 -> 62MB of QSPI/NAND Memory | 122 | ## Load boot.scr at 0x3E80000 -> 62MB of QSPI/NAND Memory |
123 | QSPI_KERNEL_OFFSET ?= "0xF00000" | 123 | QSPI_KERNEL_OFFSET ?= "0xF00000" |
124 | QSPI_KERNEL_OFFSET_zynqmpdr ?= "0x3F00000" | 124 | QSPI_KERNEL_OFFSET:zynqmpdr ?= "0x3F00000" |
125 | QSPI_RAMDISK_OFFSET ?= "0x4000000" | 125 | QSPI_RAMDISK_OFFSET ?= "0x4000000" |
126 | QSPI_RAMDISK_OFFSET_zynqmpdr ?= "0x5D00000" | 126 | QSPI_RAMDISK_OFFSET:zynqmpdr ?= "0x5D00000" |
127 | 127 | ||
128 | NAND_KERNEL_OFFSET_zynqmp ?= "0x4100000" | 128 | NAND_KERNEL_OFFSET:zynqmp ?= "0x4100000" |
129 | NAND_RAMDISK_OFFSET_zynqmp ?= "0x7800000" | 129 | NAND_RAMDISK_OFFSET:zynqmp ?= "0x7800000" |
130 | 130 | ||
131 | QSPI_KERNEL_SIZE_zynqmp ?= "0x1D00000" | 131 | QSPI_KERNEL_SIZE:zynqmp ?= "0x1D00000" |
132 | QSPI_RAMDISK_SIZE ?= "0x4000000" | 132 | QSPI_RAMDISK_SIZE ?= "0x4000000" |
133 | QSPI_RAMDISK_SIZE_zynqmpdr ?= "0x1D00000" | 133 | QSPI_RAMDISK_SIZE:zynqmpdr ?= "0x1D00000" |
134 | 134 | ||
135 | ## For versal | 135 | ## For versal |
136 | ## Load boot.scr at 0x7F80000 -> 127MB of QSPI/NAND Memory | 136 | ## Load boot.scr at 0x7F80000 -> 127MB of QSPI/NAND Memory |
137 | QSPI_KERNEL_OFFSET_versal ?= "0xF00000" | 137 | QSPI_KERNEL_OFFSET:versal ?= "0xF00000" |
138 | QSPI_RAMDISK_OFFSET_versal ?= "0x2E00000" | 138 | QSPI_RAMDISK_OFFSET:versal ?= "0x2E00000" |
139 | 139 | ||
140 | NAND_KERNEL_OFFSET_versal ?= "0x4100000" | 140 | NAND_KERNEL_OFFSET:versal ?= "0x4100000" |
141 | NAND_RAMDISK_OFFSET_versal ?= "0x8200000" | 141 | NAND_RAMDISK_OFFSET:versal ?= "0x8200000" |
142 | 142 | ||
143 | QSPI_KERNEL_SIZE_versal ?= "0x1D00000" | 143 | QSPI_KERNEL_SIZE:versal ?= "0x1D00000" |
144 | QSPI_RAMDISK_SIZE_versal ?= "0x4000000" | 144 | QSPI_RAMDISK_SIZE:versal ?= "0x4000000" |
145 | 145 | ||
146 | QSPI_KERNEL_IMAGE_microblaze ?= "image.ub" | 146 | QSPI_KERNEL_IMAGE:microblaze ?= "image.ub" |
147 | QSPI_KERNEL_IMAGE_zynq ?= "image.ub" | 147 | QSPI_KERNEL_IMAGE:zynq ?= "image.ub" |
148 | QSPI_KERNEL_IMAGE_zynqmp ?= "image.ub" | 148 | QSPI_KERNEL_IMAGE:zynqmp ?= "image.ub" |
149 | QSPI_KERNEL_IMAGE_versal ?= "image.ub" | 149 | QSPI_KERNEL_IMAGE:versal ?= "image.ub" |
150 | 150 | ||
151 | NAND_KERNEL_IMAGE ?= "image.ub" | 151 | NAND_KERNEL_IMAGE ?= "image.ub" |
152 | 152 | ||
153 | QSPI_FIT_IMAGE_OFFSET ?= "0x1080000" | 153 | QSPI_FIT_IMAGE_OFFSET ?= "0x1080000" |
154 | QSPI_FIT_IMAGE_SIZE ?= "0x6400000" | 154 | QSPI_FIT_IMAGE_SIZE ?= "0x6400000" |
155 | QSPI_FIT_IMAGE_SIZE_zynqmpdr ?= "0x3F00000" | 155 | QSPI_FIT_IMAGE_SIZE:zynqmpdr ?= "0x3F00000" |
156 | QSPI_FIT_IMAGE_SIZE_zynq ?= "0xF00000" | 156 | QSPI_FIT_IMAGE_SIZE:zynq ?= "0xF00000" |
157 | QSPI_FIT_IMAGE_SIZE_microblaze ?= "0xF00000" | 157 | QSPI_FIT_IMAGE_SIZE:microblaze ?= "0xF00000" |
158 | 158 | ||
159 | NAND_FIT_IMAGE_OFFSET ?= "0x1080000" | 159 | NAND_FIT_IMAGE_OFFSET ?= "0x1080000" |
160 | NAND_FIT_IMAGE_SIZE ?= "0x6400000" | 160 | NAND_FIT_IMAGE_SIZE ?= "0x6400000" |
@@ -167,8 +167,8 @@ do_configure[noexec] = "1" | |||
167 | do_install[noexec] = "1" | 167 | do_install[noexec] = "1" |
168 | 168 | ||
169 | def append_baseaddr(d,offset): | 169 | def append_baseaddr(d,offset): |
170 | skip_append = d.getVar('SKIP_APPEND_BASEADDR') or "" | 170 | skip:append = d.getVar('SKIP_APPEND_BASEADDR') or "" |
171 | if skip_append == "1": | 171 | if skip:append == "1": |
172 | return offset | 172 | return offset |
173 | import subprocess | 173 | import subprocess |
174 | baseaddr = d.getVar('DDR_BASEADDR') or "0x0" | 174 | baseaddr = d.getVar('DDR_BASEADDR') or "0x0" |
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-uenv.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-uenv.bb index 97577c3d..52ae09f0 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-uenv.bb +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-uenv.bb | |||
@@ -22,8 +22,8 @@ python () { | |||
22 | } | 22 | } |
23 | 23 | ||
24 | COMPATIBLE_MACHINE = "^$" | 24 | COMPATIBLE_MACHINE = "^$" |
25 | COMPATIBLE_MACHINE_zynq = ".*" | 25 | COMPATIBLE_MACHINE:zynq = ".*" |
26 | COMPATIBLE_MACHINE_zynqmp = ".*" | 26 | COMPATIBLE_MACHINE:zynqmp = ".*" |
27 | 27 | ||
28 | inherit deploy image-wic-utils | 28 | inherit deploy image-wic-utils |
29 | 29 | ||
@@ -81,13 +81,13 @@ def uenv_populate(d): | |||
81 | return env | 81 | return env |
82 | 82 | ||
83 | # bootargs, default to booting with the rootfs device being partition 2 | 83 | # bootargs, default to booting with the rootfs device being partition 2 |
84 | KERNEL_BOOTARGS_zynq = "earlyprintk console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait" | 84 | KERNEL_BOOTARGS:zynq = "earlyprintk console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait" |
85 | KERNEL_BOOTARGS_zynqmp = "earlycon clk_ignore_unused root=/dev/mmcblk${sdbootdev}p2 rw rootwait" | 85 | KERNEL_BOOTARGS:zynqmp = "earlycon clk_ignore_unused root=/dev/mmcblk${sdbootdev}p2 rw rootwait" |
86 | 86 | ||
87 | KERNEL_LOAD_ADDRESS_zynq = "0x2080000" | 87 | KERNEL_LOAD_ADDRESS:zynq = "0x2080000" |
88 | KERNEL_LOAD_ADDRESS_zynqmp = "0x200000" | 88 | KERNEL_LOAD_ADDRESS:zynqmp = "0x200000" |
89 | DEVICETREE_LOAD_ADDRESS_zynq = "0x2000000" | 89 | DEVICETREE_LOAD_ADDRESS:zynq = "0x2000000" |
90 | DEVICETREE_LOAD_ADDRESS_zynqmp = "0x4000000" | 90 | DEVICETREE_LOAD_ADDRESS:zynqmp = "0x4000000" |
91 | 91 | ||
92 | python do_compile() { | 92 | python do_compile() { |
93 | env = uenv_populate(d) | 93 | env = uenv_populate(d) |
@@ -96,7 +96,7 @@ python do_compile() { | |||
96 | f.write("{0}={1}\n".format(k, v)) | 96 | f.write("{0}={1}\n".format(k, v)) |
97 | } | 97 | } |
98 | 98 | ||
99 | FILES_${PN} += "/boot/uEnv.txt" | 99 | FILES:${PN} += "/boot/uEnv.txt" |
100 | 100 | ||
101 | do_install() { | 101 | do_install() { |
102 | install -Dm 0644 ${WORKDIR}/uEnv.txt ${D}/boot/uEnv.txt | 102 | install -Dm 0644 ${WORKDIR}/uEnv.txt ${D}/boot/uEnv.txt |
diff --git a/meta-xilinx-bsp/recipes-core/glibc/glibc-locale_%.bbappend b/meta-xilinx-bsp/recipes-core/glibc/glibc-locale_%.bbappend index 68ae89b4..1702b75d 100644 --- a/meta-xilinx-bsp/recipes-core/glibc/glibc-locale_%.bbappend +++ b/meta-xilinx-bsp/recipes-core/glibc/glibc-locale_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | do_install_append() { | 1 | do_install:append() { |
2 | # Remove the libdir if it is empty when gconv is not copied | 2 | # Remove the libdir if it is empty when gconv is not copied |
3 | find ${D}${libdir} -type d -empty -delete | 3 | find ${D}${libdir} -type d -empty -delete |
4 | } | 4 | } |
diff --git a/meta-xilinx-bsp/recipes-devtools/python/python3-anytree_2.8.0.bb b/meta-xilinx-bsp/recipes-devtools/python/python3-anytree_2.8.0.bb index 1b27844c..f5070be7 100644 --- a/meta-xilinx-bsp/recipes-devtools/python/python3-anytree_2.8.0.bb +++ b/meta-xilinx-bsp/recipes-devtools/python/python3-anytree_2.8.0.bb | |||
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git" | |||
14 | 14 | ||
15 | inherit setuptools3 | 15 | inherit setuptools3 |
16 | 16 | ||
17 | do_install_append() { | 17 | do_install:append() { |
18 | rm -f ${D}/${datadir}/LICENSE | 18 | rm -f ${D}/${datadir}/LICENSE |
19 | rmdir ${D}/${datadir} || : | 19 | rmdir ${D}/${datadir} || : |
20 | } | 20 | } |
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/flashstrip_1.0.bb b/meta-xilinx-bsp/recipes-devtools/qemu/flashstrip_1.0.bb index a6389910..e1dcc5ae 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/flashstrip_1.0.bb +++ b/meta-xilinx-bsp/recipes-devtools/qemu/flashstrip_1.0.bb | |||
@@ -22,6 +22,6 @@ do_install() { | |||
22 | install -Dm 0755 ${B}/* ${D}${bindir}/ | 22 | install -Dm 0755 ${B}/* ${D}${bindir}/ |
23 | } | 23 | } |
24 | 24 | ||
25 | FILES_${PN} = "${bindir}/*" | 25 | FILES:${PN} = "${bindir}/*" |
26 | 26 | ||
27 | BBCLASSEXTEND = "native nativesdk" | 27 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-devicetrees.inc b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-devicetrees.inc index ee9d0be8..6d834297 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-devicetrees.inc +++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-devicetrees.inc | |||
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=27;md5=7348b6cbcae69912c | |||
9 | 9 | ||
10 | PV = "xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" | 10 | PV = "xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
11 | 11 | ||
12 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 12 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
13 | SRC_URI_append = " file://0001-Makefile-Use-python3-instead-of-python.patch" | 13 | SRC_URI:append = " file://0001-Makefile-Use-python3-instead-of-python.patch" |
14 | 14 | ||
15 | REPO ?= "git://github.com/Xilinx/qemu-devicetrees.git;protocol=https" | 15 | REPO ?= "git://github.com/Xilinx/qemu-devicetrees.git;protocol=https" |
16 | 16 | ||
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-helper-native_1.0.bb b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-helper-native_1.0.bb index 2e018aa5..efd23d50 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-helper-native_1.0.bb +++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-helper-native_1.0.bb | |||
@@ -8,17 +8,17 @@ python () { | |||
8 | # include the existing qemu-helper-native | 8 | # include the existing qemu-helper-native |
9 | require recipes-devtools/qemu/qemu-helper-native_1.0.bb | 9 | require recipes-devtools/qemu/qemu-helper-native_1.0.bb |
10 | # get the path to tunctl.c (from oe-core!) | 10 | # get the path to tunctl.c (from oe-core!) |
11 | FILESEXTRAPATHS_prepend := "${COREBASE}/meta/recipes-devtools/qemu/qemu-helper:" | 11 | FILESEXTRAPATHS:prepend := "${COREBASE}/meta/recipes-devtools/qemu/qemu-helper:" |
12 | 12 | ||
13 | # provide it, to replace the existing | 13 | # provide it, to replace the existing |
14 | PROVIDES += "qemu-helper-native" | 14 | PROVIDES += "qemu-helper-native" |
15 | 15 | ||
16 | # replace qemu with qemu-xilinx | 16 | # replace qemu with qemu-xilinx |
17 | DEPENDS_remove = "qemu-system-native" | 17 | DEPENDS:remove = "qemu-system-native" |
18 | DEPENDS_append = " \ | 18 | DEPENDS:append = " \ |
19 | qemu-xilinx-system-native \ | 19 | qemu-xilinx-system-native \ |
20 | qemu-xilinx-multiarch-helper-native \ | 20 | qemu-xilinx-multiarch-helper-native \ |
21 | " | 21 | " |
22 | 22 | ||
23 | RDEPENDS_${PN}_remove = "qemu-system-native" | 23 | RDEPENDS:${PN}:remove = "qemu-system-native" |
24 | RDEPENDS_${PN}_append = " qemu-xilinx-system-native" | 24 | RDEPENDS:${PN}:append = " qemu-xilinx-system-native" |
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-multiarch-helper-native_1.0.bb b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-multiarch-helper-native_1.0.bb index 55cec776..1eec0163 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-multiarch-helper-native_1.0.bb +++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-multiarch-helper-native_1.0.bb | |||
@@ -1,11 +1,11 @@ | |||
1 | SUMMARY = "Helper scripts for executing a multi-arch instance of Xilinx QEMU" | 1 | SUMMARY = "Helper scripts for executing a multi-arch instance of Xilinx QEMU" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
4 | RDEPENDS_${PN} = "qemu-xilinx-native" | 4 | RDEPENDS:${PN} = "qemu-xilinx-native" |
5 | 5 | ||
6 | inherit native | 6 | inherit native |
7 | 7 | ||
8 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | 8 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
9 | 9 | ||
10 | SRC_URI = "file://qemu-system-aarch64-multiarch" | 10 | SRC_URI = "file://qemu-system-aarch64-multiarch" |
11 | 11 | ||
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native.inc b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native.inc index a1dc5d66..3faabe5b 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native.inc +++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native.inc | |||
@@ -3,9 +3,9 @@ require qemu-xilinx.inc | |||
3 | 3 | ||
4 | DEPENDS = "glib-2.0-native zlib-native" | 4 | DEPENDS = "glib-2.0-native zlib-native" |
5 | 5 | ||
6 | SRC_URI_remove = "file://0012-fix-libcap-header-issue-on-some-distro.patch" | 6 | SRC_URI:remove = "file://0012-fix-libcap-header-issue-on-some-distro.patch" |
7 | SRC_URI_remove = "file://0013-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch" | 7 | SRC_URI:remove = "file://0013-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch" |
8 | 8 | ||
9 | do_install_append(){ | 9 | do_install:append(){ |
10 | rm -rf ${D}${datadir}/icons | 10 | rm -rf ${D}${datadir}/icons |
11 | } | 11 | } |
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native_2021.2.bb b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native_2021.2.bb index 45d474d1..f657186f 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native_2021.2.bb +++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native_2021.2.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require qemu-xilinx-native.inc | 1 | require qemu-xilinx-native.inc |
2 | BPN = "qemu-xilinx" | 2 | BPN = "qemu-xilinx" |
3 | 3 | ||
4 | EXTRA_OECONF_append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-blobs --disable-guest-agent" | 4 | EXTRA_OECONF:append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-blobs --disable-guest-agent" |
5 | 5 | ||
6 | PROVIDES = "qemu-native" | 6 | PROVIDES = "qemu-native" |
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-system-native_2021.2.bb b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-system-native_2021.2.bb index 80e0043b..b30777d2 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-system-native_2021.2.bb +++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-system-native_2021.2.bb | |||
@@ -1,14 +1,14 @@ | |||
1 | require qemu-xilinx-native.inc | 1 | require qemu-xilinx-native.inc |
2 | 2 | ||
3 | EXTRA_OECONF_append = " --target-list=${@get_qemu_system_target_list(d)}" | 3 | EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" |
4 | 4 | ||
5 | PACKAGECONFIG ??= "fdt alsa kvm" | 5 | PACKAGECONFIG ??= "fdt alsa kvm" |
6 | 6 | ||
7 | PACKAGECONFIG_remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}" | 7 | PACKAGECONFIG:remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}" |
8 | 8 | ||
9 | DEPENDS += "pixman-native qemu-xilinx-native" | 9 | DEPENDS += "pixman-native qemu-xilinx-native" |
10 | 10 | ||
11 | do_install_append() { | 11 | do_install:append() { |
12 | # The following is also installed by qemu-native | 12 | # The following is also installed by qemu-native |
13 | rm -f ${D}${datadir}/qemu/trace-events-all | 13 | rm -f ${D}${datadir}/qemu/trace-events-all |
14 | rm -rf ${D}${datadir}/qemu/keymaps | 14 | rm -rf ${D}${datadir}/qemu/keymaps |
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc index 2b0ab563..a56e395a 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc +++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc | |||
@@ -14,7 +14,7 @@ XILINX_QEMU_VERSION ?= "v5.1.0" | |||
14 | BRANCH ?= "xlnx_rel_v2021.2" | 14 | BRANCH ?= "xlnx_rel_v2021.2" |
15 | SRCREV = "303b509ec23138c43be8a3712068347210df67fd" | 15 | SRCREV = "303b509ec23138c43be8a3712068347210df67fd" |
16 | 16 | ||
17 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | 17 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
18 | 18 | ||
19 | PV = "${XILINX_QEMU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" | 19 | PV = "${XILINX_QEMU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
20 | REPO ?= "gitsm://github.com/Xilinx/qemu.git;protocol=https" | 20 | REPO ?= "gitsm://github.com/Xilinx/qemu.git;protocol=https" |
@@ -22,24 +22,24 @@ REPO ?= "gitsm://github.com/Xilinx/qemu.git;protocol=https" | |||
22 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 22 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
23 | SRC_URI = "${REPO};${BRANCHARG}" | 23 | SRC_URI = "${REPO};${BRANCHARG}" |
24 | 24 | ||
25 | SRC_URI_append = " file://0010-configure-Add-pkg-config-handling-for-libgcrypt.patch \ | 25 | SRC_URI:append = " file://0010-configure-Add-pkg-config-handling-for-libgcrypt.patch \ |
26 | file://0001-Add-enable-disable-udev.patch \ | 26 | file://0001-Add-enable-disable-udev.patch \ |
27 | " | 27 | " |
28 | 28 | ||
29 | S = "${WORKDIR}/git" | 29 | S = "${WORKDIR}/git" |
30 | 30 | ||
31 | # Disable KVM completely | 31 | # Disable KVM completely |
32 | PACKAGECONFIG_remove = "kvm" | 32 | PACKAGECONFIG:remove = "kvm" |
33 | PACKAGECONFIG_append = " fdt gcrypt" | 33 | PACKAGECONFIG:append = " fdt gcrypt" |
34 | 34 | ||
35 | DISABLE_STATIC_pn-${PN} = "" | 35 | DISABLE_STATIC:pn-${PN} = "" |
36 | 36 | ||
37 | PTEST_ENABLED = "" | 37 | PTEST_ENABLED = "" |
38 | 38 | ||
39 | EXTRA_OECONF_append = " --with-git=/bin/false --disable-git-update" | 39 | EXTRA_OECONF:append = " --with-git=/bin/false --disable-git-update" |
40 | EXTRA_OECONF_remove = " --with-suffix=${BPN} --with-git-submodules=ignore --meson=meson" | 40 | EXTRA_OECONF:remove = " --with-suffix=${BPN} --with-git-submodules=ignore --meson=meson" |
41 | 41 | ||
42 | do_install_append() { | 42 | do_install:append() { |
43 | # Prevent QA warnings about installed ${localstatedir}/run | 43 | # Prevent QA warnings about installed ${localstatedir}/run |
44 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi | 44 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi |
45 | } | 45 | } |
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx_2021.2.bb b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx_2021.2.bb index 09f431ec..5189595a 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx_2021.2.bb +++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx_2021.2.bb | |||
@@ -3,14 +3,14 @@ require qemu-xilinx.inc | |||
3 | 3 | ||
4 | BBCLASSEXTEND = "nativesdk" | 4 | BBCLASSEXTEND = "nativesdk" |
5 | 5 | ||
6 | RDEPENDS_${PN}_class-target += "bash" | 6 | RDEPENDS:${PN}:class-target += "bash" |
7 | 7 | ||
8 | PROVIDES_class-nativesdk = "nativesdk-qemu" | 8 | PROVIDES:class-nativesdk = "nativesdk-qemu" |
9 | RPROVIDES_${PN}_class-nativesdk = "nativesdk-qemu" | 9 | RPROVIDES:${PN}:class-nativesdk = "nativesdk-qemu" |
10 | 10 | ||
11 | EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" | 11 | EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}" |
12 | EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" | 12 | EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" |
13 | 13 | ||
14 | do_install_append_class-nativesdk() { | 14 | do_install:append:class-nativesdk() { |
15 | ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)} | 15 | ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)} |
16 | } | 16 | } |
diff --git a/meta-xilinx-bsp/recipes-devtools/run-postinsts/run-postinsts_%.bbappend b/meta-xilinx-bsp/recipes-devtools/run-postinsts/run-postinsts_%.bbappend index 3923fa2d..cb5a912b 100644 --- a/meta-xilinx-bsp/recipes-devtools/run-postinsts/run-postinsts_%.bbappend +++ b/meta-xilinx-bsp/recipes-devtools/run-postinsts/run-postinsts_%.bbappend | |||
@@ -2,6 +2,6 @@ | |||
2 | # our devices, exits ungracefully without performing the required work (symbolic | 2 | # our devices, exits ungracefully without performing the required work (symbolic |
3 | # linking), pass kmsg to it as output to achieve proper behavior. | 3 | # linking), pass kmsg to it as output to achieve proper behavior. |
4 | 4 | ||
5 | do_install_append(){ | 5 | do_install:append(){ |
6 | sed -i "s/sh -c \$i \$append_log/sh -c \$i > \/dev\/kmsg/" ${D}${sbindir}/run-postinsts | 6 | sed -i "s/sh -c \$i \$append_log/sh -c \$i > \/dev\/kmsg/" ${D}${sbindir}/run-postinsts |
7 | } | 7 | } |
diff --git a/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend b/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend index d00e696a..6343c38f 100644 --- a/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend +++ b/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend | |||
@@ -2,6 +2,6 @@ PACKAGECONFIG_mali400 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb | |||
2 | egl glesv2" | 2 | egl glesv2" |
3 | 3 | ||
4 | # OpenGL comes from libmali | 4 | # OpenGL comes from libmali |
5 | DEPENDS_append_mali400 = " libmali-xlnx" | 5 | DEPENDS:append_mali400 = " libmali-xlnx" |
6 | 6 | ||
7 | PACKAGE_ARCH_mali400 = "${SOC_VARIANT_ARCH}" | 7 | PACKAGE_ARCH_mali400 = "${SOC_VARIANT_ARCH}" |
diff --git a/meta-xilinx-bsp/recipes-graphics/libgles/libmali-xlnx.bb b/meta-xilinx-bsp/recipes-graphics/libgles/libmali-xlnx.bb index 047f2d90..4acbc389 100644 --- a/meta-xilinx-bsp/recipes-graphics/libgles/libmali-xlnx.bb +++ b/meta-xilinx-bsp/recipes-graphics/libgles/libmali-xlnx.bb | |||
@@ -9,7 +9,7 @@ ANY_OF_DISTRO_FEATURES = "x11 fbdev wayland" | |||
9 | 9 | ||
10 | PROVIDES += "virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm" | 10 | PROVIDES += "virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm" |
11 | 11 | ||
12 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | 12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
13 | 13 | ||
14 | REPO ?= "git://github.com/Xilinx/mali-userspace-binaries.git;protocol=https" | 14 | REPO ?= "git://github.com/Xilinx/mali-userspace-binaries.git;protocol=https" |
15 | BRANCH ?= "rel-v2021.1" | 15 | BRANCH ?= "rel-v2021.1" |
@@ -27,8 +27,8 @@ SRC_URI = " \ | |||
27 | " | 27 | " |
28 | 28 | ||
29 | COMPATIBLE_MACHINE = "^$" | 29 | COMPATIBLE_MACHINE = "^$" |
30 | COMPATIBLE_MACHINE_zynqmp-eg = "zynqmp-eg" | 30 | COMPATIBLE_MACHINE:zynqmp-eg = "zynqmp-eg" |
31 | COMPATIBLE_MACHINE_zynqmp-ev = "zynqmp-ev" | 31 | COMPATIBLE_MACHINE:zynqmp-ev = "zynqmp-ev" |
32 | 32 | ||
33 | PACKAGE_ARCH = "${SOC_VARIANT_ARCH}" | 33 | PACKAGE_ARCH = "${SOC_VARIANT_ARCH}" |
34 | 34 | ||
@@ -40,7 +40,7 @@ X11RDEPENDS = "libxdamage libxext libx11 libdrm libxfixes" | |||
40 | X11DEPENDS = "libxdamage libxext virtual/libx11 libdrm libxfixes" | 40 | X11DEPENDS = "libxdamage libxext virtual/libx11 libdrm libxfixes" |
41 | 41 | ||
42 | # Don't install runtime dependencies for other backends unless the DISTRO supports it | 42 | # Don't install runtime dependencies for other backends unless the DISTRO supports it |
43 | RDEPENDS_${PN} = " \ | 43 | RDEPENDS:${PN} = " \ |
44 | kernel-module-mali \ | 44 | kernel-module-mali \ |
45 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11RDEPENDS}', '', d)} \ | 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11RDEPENDS}', '', d)} \ |
46 | " | 46 | " |
@@ -129,16 +129,16 @@ ALTERNATIVE_LINK_NAME[libmali-xlnx] = "${libdir}/${MONOLITHIC_LIBMALI}" | |||
129 | 129 | ||
130 | 130 | ||
131 | # Declare alternatives and corresponding library location | 131 | # Declare alternatives and corresponding library location |
132 | ALTERNATIVE_${PN}-x11 = "libmali-xlnx" | 132 | ALTERNATIVE:${PN}-x11 = "libmali-xlnx" |
133 | ALTERNATIVE_TARGET_libmali-xlnx-x11[libmali-xlnx] = "${libdir}/x11/${MONOLITHIC_LIBMALI}" | 133 | ALTERNATIVE_TARGET_libmali-xlnx-x11[libmali-xlnx] = "${libdir}/x11/${MONOLITHIC_LIBMALI}" |
134 | 134 | ||
135 | ALTERNATIVE_${PN}-fbdev = "libmali-xlnx" | 135 | ALTERNATIVE:${PN}-fbdev = "libmali-xlnx" |
136 | ALTERNATIVE_TARGET_libmali-xlnx-fbdev[libmali-xlnx] = "${libdir}/fbdev/${MONOLITHIC_LIBMALI}" | 136 | ALTERNATIVE_TARGET_libmali-xlnx-fbdev[libmali-xlnx] = "${libdir}/fbdev/${MONOLITHIC_LIBMALI}" |
137 | 137 | ||
138 | ALTERNATIVE_${PN}-wayland = "libmali-xlnx" | 138 | ALTERNATIVE:${PN}-wayland = "libmali-xlnx" |
139 | ALTERNATIVE_TARGET_libmali-xlnx-wayland[libmali-xlnx] = "${libdir}/wayland/${MONOLITHIC_LIBMALI}" | 139 | ALTERNATIVE_TARGET_libmali-xlnx-wayland[libmali-xlnx] = "${libdir}/wayland/${MONOLITHIC_LIBMALI}" |
140 | 140 | ||
141 | ALTERNATIVE_${PN}-headless = "libmali-xlnx" | 141 | ALTERNATIVE:${PN}-headless = "libmali-xlnx" |
142 | ALTERNATIVE_TARGET_libmali-xlnx-headless[libmali-xlnx] = "${libdir}/headless/${MONOLITHIC_LIBMALI}" | 142 | ALTERNATIVE_TARGET_libmali-xlnx-headless[libmali-xlnx] = "${libdir}/headless/${MONOLITHIC_LIBMALI}" |
143 | 143 | ||
144 | # Set priorities according to what we prveiously defined | 144 | # Set priorities according to what we prveiously defined |
@@ -151,24 +151,24 @@ ALTERNATIVE_PRIORITY_libmali-xlnx-headless[libmali-xlnx] = "${@bb.utils.contains | |||
151 | 151 | ||
152 | 152 | ||
153 | # Package gets renamed on the debian class, but we want to keep -xlnx | 153 | # Package gets renamed on the debian class, but we want to keep -xlnx |
154 | DEBIAN_NOAUTONAME_libmali-xlnx = "1" | 154 | DEBIAN_NOAUTONAME:libmali-xlnx = "1" |
155 | 155 | ||
156 | # Update alternatives will actually have separate postinst scripts (one for each package) | 156 | # Update alternatives will actually have separate postinst scripts (one for each package) |
157 | # This wont work for us, so we create a common postinst script and we pass that as the general | 157 | # This wont work for us, so we create a common postinst script and we pass that as the general |
158 | # libmali-xlnx postinst script, but we defer execution to run on first boot (pkg_postinst_ontarget). | 158 | # libmali-xlnx postinst script, but we defer execution to run on first boot (pkg_postinst_ontarget). |
159 | # This will avoid ldconfig removing the symbolic links when creating the root filesystem. | 159 | # This will avoid ldconfig removing the symbolic links when creating the root filesystem. |
160 | python populate_packages_updatealternatives_append () { | 160 | python populate_packages_updatealternatives:append () { |
161 | # We need to remove the 'fake' libmali-xlnx before creating any links | 161 | # We need to remove the 'fake' libmali-xlnx before creating any links |
162 | libdir = d.getVar('libdir') | 162 | libdir = d.getVar('libdir') |
163 | common_postinst = "#!/bin/sh\nrm " + libdir + "/${MONOLITHIC_LIBMALI}\n" | 163 | common_postinst = "#!/bin/sh\nrm " + libdir + "/${MONOLITHIC_LIBMALI}\n" |
164 | for pkg in (d.getVar('PACKAGES') or "").split(): | 164 | for pkg in (d.getVar('PACKAGES') or "").split(): |
165 | # Not all packages provide an alternative (e.g. ${PN}-lic) | 165 | # Not all packages provide an alternative (e.g. ${PN}-lic) |
166 | postinst = d.getVar('pkg_postinst_%s' % pkg) | 166 | postinst = d.getVar('pkg_postinst:%s' % pkg) |
167 | if postinst: | 167 | if postinst: |
168 | old_postinst = postinst | 168 | old_postinst = postinst |
169 | new_postinst = postinst.replace('#!/bin/sh','') | 169 | new_postinst = postinst.replace('#!/bin/sh','') |
170 | common_postinst += new_postinst | 170 | common_postinst += new_postinst |
171 | d.setVar('pkg_postinst_ontarget_%s' % 'libmali-xlnx', common_postinst) | 171 | d.setVar('pkg_postinst_ontarget:%s' % 'libmali-xlnx', common_postinst) |
172 | } | 172 | } |
173 | 173 | ||
174 | 174 | ||
@@ -177,16 +177,16 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | |||
177 | INHIBIT_PACKAGE_STRIP = "1" | 177 | INHIBIT_PACKAGE_STRIP = "1" |
178 | INHIBIT_SYSROOT_STRIP = "1" | 178 | INHIBIT_SYSROOT_STRIP = "1" |
179 | 179 | ||
180 | RREPLACES_${PN} = "libegl libgles1 libglesv1-cm1 libgles2 libglesv2-2 libgbm" | 180 | RREPLACES:${PN} = "libegl libgles1 libglesv1-cm1 libgles2 libglesv2-2 libgbm" |
181 | RPROVIDES_${PN} = "libegl libgles1 libglesv1-cm1 libgles2 libglesv2-2 libgbm" | 181 | RPROVIDES:${PN} = "libegl libgles1 libglesv1-cm1 libgles2 libglesv2-2 libgbm" |
182 | RCONFLICTS_${PN} = "libegl libgles1 libglesv1-cm1 libgles2 libglesv2-2 libgbm" | 182 | RCONFLICTS:${PN} = "libegl libgles1 libglesv1-cm1 libgles2 libglesv2-2 libgbm" |
183 | 183 | ||
184 | # These libraries shouldn't get installed in world builds unless something | 184 | # These libraries shouldn't get installed in world builds unless something |
185 | # explicitly depends upon them. | 185 | # explicitly depends upon them. |
186 | EXCLUDE_FROM_WORLD = "1" | 186 | EXCLUDE_FROM_WORLD = "1" |
187 | FILES_${PN} += "${libdir}/*" | 187 | FILES:${PN} += "${libdir}/*" |
188 | 188 | ||
189 | do_package_append() { | 189 | do_package:append() { |
190 | 190 | ||
191 | shlibswork_dir = d.getVar('SHLIBSWORKDIR') | 191 | shlibswork_dir = d.getVar('SHLIBSWORKDIR') |
192 | pkg_filename = d.getVar('PN') + ".list" | 192 | pkg_filename = d.getVar('PN') + ".list" |
diff --git a/meta-xilinx-bsp/recipes-graphics/libglu/libglu_%.bbappend b/meta-xilinx-bsp/recipes-graphics/libglu/libglu_%.bbappend index 9107114c..47cefc74 100644 --- a/meta-xilinx-bsp/recipes-graphics/libglu/libglu_%.bbappend +++ b/meta-xilinx-bsp/recipes-graphics/libglu/libglu_%.bbappend | |||
@@ -1,3 +1,3 @@ | |||
1 | # OpenGL comes from libmali, adjust parameters | 1 | # OpenGL comes from libmali, adjust parameters |
2 | DEPENDS_append_mali400 = " virtual/libgles2" | 2 | DEPENDS:append_mali400 = " virtual/libgles2" |
3 | PACKAGE_ARCH_mali400 = "${SOC_VARIANT_ARCH}" | 3 | PACKAGE_ARCH_mali400 = "${SOC_VARIANT_ARCH}" |
diff --git a/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb b/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb index fdeeab3a..1e584241 100644 --- a/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb +++ b/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb | |||
@@ -41,8 +41,8 @@ PARALLEL_MAKE = "-j 1" | |||
41 | S = "${WORKDIR}/DX910-SW-99002-${PV}/driver/src/devicedrv/mali" | 41 | S = "${WORKDIR}/DX910-SW-99002-${PV}/driver/src/devicedrv/mali" |
42 | 42 | ||
43 | COMPATIBLE_MACHINE = "^$" | 43 | COMPATIBLE_MACHINE = "^$" |
44 | COMPATIBLE_MACHINE_zynqmp-eg = "zynqmp-eg" | 44 | COMPATIBLE_MACHINE:zynqmp-eg = "zynqmp-eg" |
45 | COMPATIBLE_MACHINE_zynqmp-ev = "zynqmp-ev" | 45 | COMPATIBLE_MACHINE:zynqmp-ev = "zynqmp-ev" |
46 | 46 | ||
47 | EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ | 47 | EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ |
48 | ARCH="${ARCH}" \ | 48 | ARCH="${ARCH}" \ |
diff --git a/meta-xilinx-bsp/recipes-graphics/mesa/mesa-demos_%.bbappend b/meta-xilinx-bsp/recipes-graphics/mesa/mesa-demos_%.bbappend index c9570332..af5dec9e 100644 --- a/meta-xilinx-bsp/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/meta-xilinx-bsp/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | # OpenGL comes from libmali on ev/eg, when egl is enabled | 1 | # OpenGL comes from libmali on ev/eg, when egl is enabled |
2 | DEPENDS_append_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" | 2 | DEPENDS:append_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" |
3 | 3 | ||
4 | PACKAGE_ARCH_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}" | 4 | PACKAGE_ARCH_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}" |
diff --git a/meta-xilinx-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend b/meta-xilinx-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend index bcfefa1e..a5a1eeb2 100644 --- a/meta-xilinx-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend +++ b/meta-xilinx-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend | |||
@@ -1,3 +1,3 @@ | |||
1 | do_install_append_zynqmp () { | 1 | do_install:append:zynqmp () { |
2 | rm -rf ${D}${includedir}/KHR/* | 2 | rm -rf ${D}${includedir}/KHR/* |
3 | } | 3 | } |
diff --git a/meta-xilinx-bsp/recipes-graphics/wayland/weston-init%.bbappend b/meta-xilinx-bsp/recipes-graphics/wayland/weston-init%.bbappend index aaee7f5d..ba570d44 100644 --- a/meta-xilinx-bsp/recipes-graphics/wayland/weston-init%.bbappend +++ b/meta-xilinx-bsp/recipes-graphics/wayland/weston-init%.bbappend | |||
@@ -1,7 +1,7 @@ | |||
1 | FILESEXTRAPATHS_prepend_zynqmp := "${THISDIR}/files:" | 1 | FILESEXTRAPATHS:prepend:zynqmp := "${THISDIR}/files:" |
2 | 2 | ||
3 | SRC_URI_append_zynqmp = " file://weston.ini" | 3 | SRC_URI:append:zynqmp = " file://weston.ini" |
4 | 4 | ||
5 | do_install_append_zynqmp() { | 5 | do_install:append:zynqmp() { |
6 | install -Dm 0700 ${WORKDIR}/weston.ini ${D}/${sysconfdir}/xdg/weston/weston.ini | 6 | install -Dm 0700 ${WORKDIR}/weston.ini ${D}/${sysconfdir}/xdg/weston/weston.ini |
7 | } | 7 | } |
diff --git a/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend b/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend index 19d8ac6c..26b3d389 100644 --- a/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend +++ b/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend | |||
@@ -1,9 +1,9 @@ | |||
1 | FILESEXTRAPATHS_prepend_zynqmp := "${THISDIR}/files:" | 1 | FILESEXTRAPATHS:prepend:zynqmp := "${THISDIR}/files:" |
2 | 2 | ||
3 | SRC_URI_append_zynqmp = " file://0001-libweston-Remove-substitute-format-for-ARGB8888.patch" | 3 | SRC_URI:append:zynqmp = " file://0001-libweston-Remove-substitute-format-for-ARGB8888.patch" |
4 | 4 | ||
5 | # OpenGL comes from libmali on ev/eg, when egl is enabled | 5 | # OpenGL comes from libmali on ev/eg, when egl is enabled |
6 | DEPENDS_append_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" | 6 | DEPENDS:append_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" |
7 | 7 | ||
8 | # Due to the SRC_URI zynqmp specific change, this needs to be SOC_FAMILY_ARCH specific | 8 | # Due to the SRC_URI zynqmp specific change, this needs to be SOC_FAMILY_ARCH specific |
9 | SOC_FAMILY_ARCH ??= "${TUNE_PKGARCH}" | 9 | SOC_FAMILY_ARCH ??= "${TUNE_PKGARCH}" |
@@ -11,4 +11,4 @@ ZYNQMP_PKGARCH = "${SOC_FAMILY_ARCH}" | |||
11 | # But if egl is enabled, we also need to be SOC_VARIANT_ARCH specific due to libmali | 11 | # But if egl is enabled, we also need to be SOC_VARIANT_ARCH specific due to libmali |
12 | ZYNQMP_PKGARCH_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${SOC_FAMILY_ARCH}', d)}" | 12 | ZYNQMP_PKGARCH_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${SOC_FAMILY_ARCH}', d)}" |
13 | 13 | ||
14 | PACKAGE_ARCH_zynqmp = "${ZYNQMP_PKGARCH}" | 14 | PACKAGE_ARCH:zynqmp = "${ZYNQMP_PKGARCH}" |
diff --git a/meta-xilinx-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend b/meta-xilinx-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend index 72d991c7..4fc41d05 100644 --- a/meta-xilinx-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend +++ b/meta-xilinx-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend | |||
@@ -1 +1 @@ | |||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
diff --git a/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb b/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb index 42daadf7..3bc136da 100755 --- a/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb +++ b/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb | |||
@@ -20,5 +20,5 @@ inherit module | |||
20 | 20 | ||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | 21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" |
22 | COMPATIBLE_MACHINE = "^$" | 22 | COMPATIBLE_MACHINE = "^$" |
23 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" | 23 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
24 | COMPATIBLE_MACHINE_versal = "versal" | 24 | COMPATIBLE_MACHINE:versal = "versal" |
diff --git a/meta-xilinx-bsp/recipes-kernel/dtc/python3-dtc_1.6.0.bb b/meta-xilinx-bsp/recipes-kernel/dtc/python3-dtc_1.6.0.bb index ed2652e3..f57b2b19 100644 --- a/meta-xilinx-bsp/recipes-kernel/dtc/python3-dtc_1.6.0.bb +++ b/meta-xilinx-bsp/recipes-kernel/dtc/python3-dtc_1.6.0.bb | |||
@@ -19,7 +19,7 @@ DEPENDS += "libyaml dtc" | |||
19 | 19 | ||
20 | inherit distutils3 | 20 | inherit distutils3 |
21 | 21 | ||
22 | do_configure_prepend() { | 22 | do_configure:prepend() { |
23 | (cd ${S}/../ ; make version_gen.h ) | 23 | (cd ${S}/../ ; make version_gen.h ) |
24 | } | 24 | } |
25 | 25 | ||
diff --git a/meta-xilinx-bsp/recipes-kernel/hdmi/kernel-module-hdmi_git.bb b/meta-xilinx-bsp/recipes-kernel/hdmi/kernel-module-hdmi_git.bb index 9c70fe7f..65484fca 100644 --- a/meta-xilinx-bsp/recipes-kernel/hdmi/kernel-module-hdmi_git.bb +++ b/meta-xilinx-bsp/recipes-kernel/hdmi/kernel-module-hdmi_git.bb | |||
@@ -20,5 +20,5 @@ inherit module | |||
20 | 20 | ||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | 21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" |
22 | COMPATIBLE_MACHINE = "^$" | 22 | COMPATIBLE_MACHINE = "^$" |
23 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" | 23 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
24 | COMPATIBLE_MACHINE_versal = "versal" | 24 | COMPATIBLE_MACHINE:versal = "versal" |
diff --git a/meta-xilinx-bsp/recipes-kernel/linux-firmware/linux-firmware-ti-bt.bb b/meta-xilinx-bsp/recipes-kernel/linux-firmware/linux-firmware-ti-bt.bb index c3adcf58..1ad8ae2e 100644 --- a/meta-xilinx-bsp/recipes-kernel/linux-firmware/linux-firmware-ti-bt.bb +++ b/meta-xilinx-bsp/recipes-kernel/linux-firmware/linux-firmware-ti-bt.bb | |||
@@ -53,13 +53,13 @@ do_install() { | |||
53 | # 11.8.32 = WL180x, WL183x, WL185x PG2.1 or PG2.2, 8.32 ROM Version | 53 | # 11.8.32 = WL180x, WL183x, WL185x PG2.1 or PG2.2, 8.32 ROM Version |
54 | PACKAGES =+ "${PN}-wl180x ${PN}-license" | 54 | PACKAGES =+ "${PN}-wl180x ${PN}-license" |
55 | 55 | ||
56 | FILES_${PN}-license = "${nonarch_base_libdir}/firmware/License.ti-bt" | 56 | FILES:${PN}-license = "${nonarch_base_libdir}/firmware/License.ti-bt" |
57 | 57 | ||
58 | FILES_${PN}-wl180x = "${nonarch_base_libdir}/firmware/TIInit_11.8.32.bts \ | 58 | FILES:${PN}-wl180x = "${nonarch_base_libdir}/firmware/TIInit_11.8.32.bts \ |
59 | ${nonarch_base_libdir}/firmware/ti-connectivity/TIInit_11.8.32.bts" | 59 | ${nonarch_base_libdir}/firmware/ti-connectivity/TIInit_11.8.32.bts" |
60 | 60 | ||
61 | RDEPENDS_${PN}-wl180x = "${PN}-license linux-firmware-wl18xx" | 61 | RDEPENDS:${PN}-wl180x = "${PN}-license linux-firmware-wl18xx" |
62 | 62 | ||
63 | LICENSE_${PN}-wl180x = "Firmware-ti-bt" | 63 | LICENSE:${PN}-wl180x = "Firmware-ti-bt" |
64 | 64 | ||
65 | INSANE_SKIP = "arch" | 65 | INSANE_SKIP = "arch" |
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc index b4928fba..49f96865 100644 --- a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc +++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc | |||
@@ -7,7 +7,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}" | |||
7 | KBRANCH ?= "xlnx_rebase_v5.10" | 7 | KBRANCH ?= "xlnx_rebase_v5.10" |
8 | SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" | 8 | SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" |
9 | 9 | ||
10 | FILESOVERRIDES_append = ":${XILINX_RELEASE_VERSION}" | 10 | FILESOVERRIDES:append = ":${XILINX_RELEASE_VERSION}" |
11 | KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine" | 11 | KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine" |
12 | YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.10;destsuffix=yocto-kmeta" | 12 | YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.10;destsuffix=yocto-kmeta" |
13 | SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}" | 13 | SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}" |
@@ -25,11 +25,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | |||
25 | EXTKERNELSRC = "${@'1' if d.getVar('EXTERNALSRC') else ''}" | 25 | EXTKERNELSRC = "${@'1' if d.getVar('EXTERNALSRC') else ''}" |
26 | 26 | ||
27 | # Force the use of the KBUILD_DEFCONFIG even if some other defconfig was generated in the ${WORKDIR} | 27 | # Force the use of the KBUILD_DEFCONFIG even if some other defconfig was generated in the ${WORKDIR} |
28 | do_kernel_metadata_prepend () { | 28 | do_kernel_metadata:prepend () { |
29 | [ -n "${KBUILD_DEFCONFIG}" ] && [ -e ${WORKDIR}/defconfig ] && rm ${WORKDIR}/defconfig | 29 | [ -n "${KBUILD_DEFCONFIG}" ] && [ -e ${WORKDIR}/defconfig ] && rm ${WORKDIR}/defconfig |
30 | } | 30 | } |
31 | 31 | ||
32 | do_configure_prepend () { | 32 | do_configure:prepend () { |
33 | if [ -n "${KBUILD_DEFCONFIG}" ] && [ -n "${EXTKERNELSRC}" ]; then | 33 | if [ -n "${KBUILD_DEFCONFIG}" ] && [ -n "${EXTKERNELSRC}" ]; then |
34 | cp ${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${WORKDIR}/defconfig | 34 | cp ${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${WORKDIR}/defconfig |
35 | fi | 35 | fi |
@@ -39,27 +39,27 @@ inherit kernel-simpleimage | |||
39 | 39 | ||
40 | # Default to be only compatible with specific machines or soc families | 40 | # Default to be only compatible with specific machines or soc families |
41 | COMPATIBLE_MACHINE ?= "^$" | 41 | COMPATIBLE_MACHINE ?= "^$" |
42 | COMPATIBLE_MACHINE_zynq = ".*" | 42 | COMPATIBLE_MACHINE:zynq = ".*" |
43 | COMPATIBLE_MACHINE_zynqmp = ".*" | 43 | COMPATIBLE_MACHINE:zynqmp = ".*" |
44 | COMPATIBLE_MACHINE_microblaze = ".*" | 44 | COMPATIBLE_MACHINE:microblaze = ".*" |
45 | COMPATIBLE_MACHINE_versal = ".*" | 45 | COMPATIBLE_MACHINE:versal = ".*" |
46 | 46 | ||
47 | # Use DEFCONFIGs for configuring linux-xlnx kernels | 47 | # Use DEFCONFIGs for configuring linux-xlnx kernels |
48 | KCONFIG_MODE ?= "alldefconfig" | 48 | KCONFIG_MODE ?= "alldefconfig" |
49 | KBUILD_DEFCONFIG_zynqmp ?= "xilinx_defconfig" | 49 | KBUILD_DEFCONFIG:zynqmp ?= "xilinx_defconfig" |
50 | KBUILD_DEFCONFIG_zynq ?= "xilinx_zynq_defconfig" | 50 | KBUILD_DEFCONFIG:zynq ?= "xilinx:zynq_defconfig" |
51 | KBUILD_DEFCONFIG_microblaze ?= "mmu_defconfig" | 51 | KBUILD_DEFCONFIG:microblaze ?= "mmu_defconfig" |
52 | KBUILD_DEFCONFIG_versal ?= "xilinx_defconfig" | 52 | KBUILD_DEFCONFIG:versal ?= "xilinx_defconfig" |
53 | 53 | ||
54 | KERNEL_MODULE_AUTOLOAD_k26 += "usb5744" | 54 | KERNEL_MODULE_AUTOLOAD_k26 += "usb5744" |
55 | 55 | ||
56 | # MicroBlaze BSP fragments | 56 | # MicroBlaze BSP fragments |
57 | KERNEL_FEATURES_append_kc705-microblazeel = " bsp/xilinx/kc705-microblazeel-features/kc705-microblazeel-features.scc" | 57 | KERNEL_FEATURES:append_kc705-microblazeel = " bsp/xilinx/kc705-microblazeel-features/kc705-microblazeel-features.scc" |
58 | 58 | ||
59 | KERNEL_FEATURES_append_zynqmp = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)}" | 59 | KERNEL_FEATURES:append:zynqmp = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)}" |
60 | 60 | ||
61 | KERNEL_FEATURES_append_zynqmp = "${@' features/xilinx/overlay_of/overlay_of.scc' if d.getVar('FPGA_MNGR_RECONFIG_ENABLE') == '1' else ''}" | 61 | KERNEL_FEATURES:append:zynqmp = "${@' features/xilinx/overlay_of/overlay_of.scc' if d.getVar('FPGA_MNGR_RECONFIG_ENABLE') == '1' else ''}" |
62 | 62 | ||
63 | KERNEL_FEATURES_append_versal = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)} features/xilinx/hdmi-module/hdmi-module.scc" | 63 | KERNEL_FEATURES:append:versal = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)} features/xilinx/hdmi-module/hdmi-module.scc" |
64 | 64 | ||
65 | KERNEL_FEATURES_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', ' features/ocicontainer/ocicontainer.scc', '', d)}" | 65 | KERNEL_FEATURES:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', ' features/ocicontainer/ocicontainer.scc', '', d)}" |
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2021.2.bb b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2021.2.bb index 24f7551e..79fde54f 100644 --- a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2021.2.bb +++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2021.2.bb | |||
@@ -6,4 +6,4 @@ KCONF_AUDIT_LEVEL="0" | |||
6 | 6 | ||
7 | include linux-xlnx.inc | 7 | include linux-xlnx.inc |
8 | 8 | ||
9 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 9 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-yocto-xilinx.inc b/meta-xilinx-bsp/recipes-kernel/linux/linux-yocto-xilinx.inc index e99785d1..51eab948 100644 --- a/meta-xilinx-bsp/recipes-kernel/linux/linux-yocto-xilinx.inc +++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-yocto-xilinx.inc | |||
@@ -1,23 +1,23 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/linux-xlnx:" |
2 | 2 | ||
3 | require linux-microblaze.inc | 3 | require linux-microblaze.inc |
4 | 4 | ||
5 | # Zynq default generic KMACHINE | 5 | # Zynq default generic KMACHINE |
6 | COMPATIBLE_MACHINE_zynq = "zynq" | 6 | COMPATIBLE_MACHINE:zynq = "zynq" |
7 | KMACHINE_zynq = "zynq" | 7 | KMACHINE:zynq = "zynq" |
8 | 8 | ||
9 | # ZynqMP default generic KMACHINE | 9 | # ZynqMP default generic KMACHINE |
10 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" | 10 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
11 | KMACHINE_zynqmp = "zynqmp" | 11 | KMACHINE:zynqmp = "zynqmp" |
12 | 12 | ||
13 | # MicroBlaze KMACHINEs | 13 | # MicroBlaze KMACHINEs |
14 | KMACHINE_ml605-qemu-microblazeel = "qemumicroblazeel" | 14 | KMACHINE_ml605-qemu-microblazeel = "qemumicroblazeel" |
15 | KMACHINE_s3adsp1800-qemu-microblazeeb = "qemumicroblazeeb" | 15 | KMACHINE_s3adsp1800-qemu-microblazeeb = "qemumicroblazeeb" |
16 | 16 | ||
17 | # MicroBlaze default generic KMACHINE | 17 | # MicroBlaze default generic KMACHINE |
18 | KMACHINE_microblaze = "microblaze" | 18 | KMACHINE:microblaze = "microblaze" |
19 | COMPATIBLE_MACHINE_microblaze = "microblaze" | 19 | COMPATIBLE_MACHINE:microblaze = "microblaze" |
20 | 20 | ||
21 | # Default kernel config fragements for specific machines | 21 | # Default kernel config fragements for specific machines |
22 | KERNEL_FEATURES_append_kc705-microblazeel = " bsp/xilinx/kc705-microblazeel-features/kc705-microblazeel-features.scc" | 22 | KERNEL_FEATURES:append_kc705-microblazeel = " bsp/xilinx/kc705-microblazeel-features/kc705-microblazeel-features.scc" |
23 | 23 | ||
diff --git a/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb b/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb index 8ca7135e..fc8dc755 100644 --- a/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb +++ b/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb | |||
@@ -3,7 +3,7 @@ DESCRIPTION = "Tool to subset a system device tree" | |||
3 | SECTION = "bootloader" | 3 | SECTION = "bootloader" |
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | 5 | ||
6 | RDEPENDS_${PN} += " \ | 6 | RDEPENDS:${PN} += " \ |
7 | python3-core \ | 7 | python3-core \ |
8 | dtc \ | 8 | dtc \ |
9 | python3-dtc \ | 9 | python3-dtc \ |
diff --git a/meta-xilinx-bsp/recipes-kernel/lopper/xilinx-lops.bb b/meta-xilinx-bsp/recipes-kernel/lopper/xilinx-lops.bb index cfa1bc87..77456376 100644 --- a/meta-xilinx-bsp/recipes-kernel/lopper/xilinx-lops.bb +++ b/meta-xilinx-bsp/recipes-kernel/lopper/xilinx-lops.bb | |||
@@ -3,7 +3,7 @@ DESCRIPTION = "Xilinx specific lop files" | |||
3 | SECTION = "bootloader" | 3 | SECTION = "bootloader" |
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | 5 | ||
6 | RDEPENDS_${PN} += "lopper" | 6 | RDEPENDS:${PN} += "lopper" |
7 | 7 | ||
8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
9 | file://lop-microblaze-yocto.dts \ | 9 | file://lop-microblaze-yocto.dts \ |
@@ -23,5 +23,5 @@ do_install() { | |||
23 | cp ${S}/lop-xilinx-id-cpus.dts ${D}/${datadir}/lopper/lops/. | 23 | cp ${S}/lop-xilinx-id-cpus.dts ${D}/${datadir}/lopper/lops/. |
24 | } | 24 | } |
25 | 25 | ||
26 | FILES_${PN} += "${datadir}/lopper/lops" | 26 | FILES:${PN} += "${datadir}/lopper/lops" |
27 | BBCLASSEXTEND = "native nativesdk" | 27 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-xilinx-bsp/recipes-kernel/lopper/xilinx-lops/lop-microblaze-yocto.dts b/meta-xilinx-bsp/recipes-kernel/lopper/xilinx-lops/lop-microblaze-yocto.dts index d710c10f..72eb4665 100644 --- a/meta-xilinx-bsp/recipes-kernel/lopper/xilinx-lops/lop-microblaze-yocto.dts +++ b/meta-xilinx-bsp/recipes-kernel/lopper/xilinx-lops/lop-microblaze-yocto.dts | |||
@@ -230,12 +230,12 @@ | |||
230 | tname = tname[0]+str(cpu_addr) | 230 | tname = tname[0]+str(cpu_addr) |
231 | cpu_addr += 1 | 231 | cpu_addr += 1 |
232 | print( 'AVAILTUNES += \"microblaze-%s\"' % tname ) | 232 | print( 'AVAILTUNES += \"microblaze-%s\"' % tname ) |
233 | print( 'TUNE_FEATURES_tune-microblaze-%s = \"' % tname, end='' ) | 233 | print( 'TUNE_FEATURES:tune-microblaze-%s = \"' % tname, end='' ) |
234 | for t in n.tunes.values(): | 234 | for t in n.tunes.values(): |
235 | print( ' %s' % t, end='' ) | 235 | print( ' %s' % t, end='' ) |
236 | print( '\"' ) | 236 | print( '\"' ) |
237 | print( 'PACKAGE_EXTRA_ARCHS_tune-microblaze-%s = \"${TUNE_PKGARCH}\"' % tname ) | 237 | print( 'PACKAGE_EXTRA_ARCHS:tune-microblaze-%s = \"${TUNE_PKGARCH}\"' % tname ) |
238 | print( 'TUNE_FEATURES_tune-%s = \"${TUNE_FEATURES_tune-microblaze-%s}\"\\n' % (n.tune_type,tname) ) | 238 | print( 'TUNE_FEATURES:tune-%s = \"${TUNE_FEATURES:tune-microblaze-%s}\"\\n' % (n.tune_type,tname) ) |
239 | 239 | ||
240 | "; | 240 | "; |
241 | }; | 241 | }; |
diff --git a/meta-xilinx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend b/meta-xilinx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend index c9570332..af5dec9e 100644 --- a/meta-xilinx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend +++ b/meta-xilinx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | # OpenGL comes from libmali on ev/eg, when egl is enabled | 1 | # OpenGL comes from libmali on ev/eg, when egl is enabled |
2 | DEPENDS_append_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" | 2 | DEPENDS:append_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" |
3 | 3 | ||
4 | PACKAGE_ARCH_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}" | 4 | PACKAGE_ARCH_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}" |
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb index baac0ddb..f11a5a90 100644 --- a/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb +++ b/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb | |||
@@ -20,9 +20,9 @@ inherit module | |||
20 | 20 | ||
21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | 21 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" |
22 | 22 | ||
23 | RDEPENDS_${PN} = "vcu-firmware" | 23 | RDEPENDS:${PN} = "vcu-firmware" |
24 | 24 | ||
25 | COMPATIBLE_MACHINE = "^$" | 25 | COMPATIBLE_MACHINE = "^$" |
26 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" | 26 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
27 | 27 | ||
28 | KERNEL_MODULE_AUTOLOAD += "dmaproxy" | 28 | KERNEL_MODULE_AUTOLOAD += "dmaproxy" |
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/libomxil-xlnx.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/libomxil-xlnx.bb index d0d3285b..f86fc3ed 100644 --- a/meta-xilinx-bsp/recipes-multimedia/vcu/libomxil-xlnx.bb +++ b/meta-xilinx-bsp/recipes-multimedia/vcu/libomxil-xlnx.bb | |||
@@ -16,12 +16,12 @@ SRC_URI = "${REPO};${BRANCHARG}" | |||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
18 | COMPATIBLE_MACHINE = "^$" | 18 | COMPATIBLE_MACHINE = "^$" |
19 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" | 19 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
20 | 20 | ||
21 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | 21 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" |
22 | 22 | ||
23 | DEPENDS = "libvcu-xlnx" | 23 | DEPENDS = "libvcu-xlnx" |
24 | RDEPENDS_${PN} = "kernel-module-vcu libvcu-xlnx" | 24 | RDEPENDS:${PN} = "kernel-module-vcu libvcu-xlnx" |
25 | 25 | ||
26 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vcu-ctrl-sw/include" | 26 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vcu-ctrl-sw/include" |
27 | 27 | ||
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb index 8ddd24bc..ebc93d0d 100644 --- a/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb +++ b/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb | |||
@@ -16,11 +16,11 @@ SRC_URI = "${REPO};${BRANCHARG}" | |||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
18 | COMPATIBLE_MACHINE = "^$" | 18 | COMPATIBLE_MACHINE = "^$" |
19 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" | 19 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
20 | 20 | ||
21 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | 21 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" |
22 | 22 | ||
23 | RDEPENDS_${PN} = "kernel-module-vcu" | 23 | RDEPENDS:${PN} = "kernel-module-vcu" |
24 | 24 | ||
25 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" | 25 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" |
26 | 26 | ||
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb index e9d4fdaa..25490aec 100644 --- a/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb +++ b/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb | |||
@@ -16,7 +16,7 @@ BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != ' | |||
16 | SRC_URI = "${REPO};${BRANCHARG}" | 16 | SRC_URI = "${REPO};${BRANCHARG}" |
17 | 17 | ||
18 | COMPATIBLE_MACHINE = "^$" | 18 | COMPATIBLE_MACHINE = "^$" |
19 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" | 19 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
20 | 20 | ||
21 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | 21 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" |
22 | 22 | ||
@@ -30,10 +30,10 @@ do_install() { | |||
30 | # Inhibit warnings about files being stripped | 30 | # Inhibit warnings about files being stripped |
31 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 31 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
32 | INHIBIT_PACKAGE_STRIP = "1" | 32 | INHIBIT_PACKAGE_STRIP = "1" |
33 | FILES_${PN} = "/lib/firmware/*" | 33 | FILES:${PN} = "/lib/firmware/*" |
34 | 34 | ||
35 | # These libraries shouldn't get installed in world builds unless something | 35 | # These libraries shouldn't get installed in world builds unless something |
36 | # explicitly depends upon them. | 36 | # explicitly depends upon them. |
37 | EXCLUDE_FROM_WORLD = "1" | 37 | EXCLUDE_FROM_WORLD = "1" |
38 | 38 | ||
39 | INSANE_SKIP_${PN} = "ldflags" | 39 | INSANE_SKIP:${PN} = "ldflags" |
diff --git a/meta-xilinx-bsp/recipes-support/libgpg-error/libgpg-error_%.bbappend b/meta-xilinx-bsp/recipes-support/libgpg-error/libgpg-error_%.bbappend index 7a4d1142..f3e920c2 100644 --- a/meta-xilinx-bsp/recipes-support/libgpg-error/libgpg-error_%.bbappend +++ b/meta-xilinx-bsp/recipes-support/libgpg-error/libgpg-error_%.bbappend | |||
@@ -1,8 +1,8 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
2 | 2 | ||
3 | SRC_URI_append_microblaze = " file://lock-obj-pub.microblazeel-unknown-linux-gnu.h" | 3 | SRC_URI:append:microblaze = " file://lock-obj-pub.microblazeel-unknown-linux-gnu.h" |
4 | 4 | ||
5 | do_configure_append_microblaze () { | 5 | do_configure:append:microblaze () { |
6 | cp ${WORKDIR}/lock-obj-pub.microblazeel-unknown-linux-gnu.h ${S}/src/syscfg/ | 6 | cp ${WORKDIR}/lock-obj-pub.microblazeel-unknown-linux-gnu.h ${S}/src/syscfg/ |
7 | } | 7 | } |
8 | 8 | ||
diff --git a/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb b/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb index dcf3a36d..f73d3d2b 100644 --- a/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb +++ b/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb | |||
@@ -19,27 +19,27 @@ BBCLASSEXTEND = "native nativesdk" | |||
19 | 19 | ||
20 | # util-linux is for libuuid-dev. | 20 | # util-linux is for libuuid-dev. |
21 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi" | 21 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf elfutils libffi" |
22 | RDEPENDS_${PN} = "bash ocl-icd boost-system boost-filesystem zocl" | 22 | RDEPENDS:${PN} = "bash ocl-icd boost-system boost-filesystem zocl" |
23 | 23 | ||
24 | EXTRA_OECMAKE += " \ | 24 | EXTRA_OECMAKE += " \ |
25 | -DCMAKE_BUILD_TYPE=Release \ | 25 | -DCMAKE_BUILD_TYPE=Release \ |
26 | -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ | 26 | -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ |
27 | " | 27 | " |
28 | 28 | ||
29 | PACKAGE_ARCH_versal-ai-core = "${SOC_VARIANT_ARCH}" | 29 | PACKAGE_ARCH:versal-ai-core = "${SOC_VARIANT_ARCH}" |
30 | EXTRA_OECMAKE_append_versal-ai-core += "-DXRT_AIE_BUILD=true" | 30 | EXTRA_OECMAKE:append:versal-ai-core += "-DXRT_AIE_BUILD=true" |
31 | TARGET_CXXFLAGS_append_versal-ai-core += "-DXRT_ENABLE_AIE" | 31 | TARGET_CXXFLAGS:append:versal-ai-core += "-DXRT_ENABLE_AIE" |
32 | DEPENDS_append_versal-ai-core += " libmetal libxaiengine aiefal" | 32 | DEPENDS:append:versal-ai-core += " libmetal libxaiengine aiefal" |
33 | RDEPENDS_${PN}_append_versal-ai-core += " libxaiengine aiefal" | 33 | RDEPENDS:${PN}:append:versal-ai-core += " libxaiengine aiefal" |
34 | 34 | ||
35 | FILES_SOLIBSDEV = "" | 35 | FILES_SOLIBSDEV = "" |
36 | FILES_${PN} += "\ | 36 | FILES:${PN} += "\ |
37 | ${libdir}/lib*.so \ | 37 | ${libdir}/lib*.so \ |
38 | ${libdir}/lib*.so.* \ | 38 | ${libdir}/lib*.so.* \ |
39 | /lib/*.so* " | 39 | /lib/*.so* " |
40 | INSANE_SKIP_${PN} += "dev-so" | 40 | INSANE_SKIP:${PN} += "dev-so" |
41 | 41 | ||
42 | pkg_postinst_ontarget_${PN}() { | 42 | pkg_postinst_ontarget:${PN}() { |
43 | #!/bin/sh | 43 | #!/bin/sh |
44 | if [ ! -e /etc/OpenCL/vendors/xilinx.icd ]; then | 44 | if [ ! -e /etc/OpenCL/vendors/xilinx.icd ]; then |
45 | echo "INFO: Creating ICD entry for Xilinx Platform" | 45 | echo "INFO: Creating ICD entry for Xilinx Platform" |
diff --git a/meta-xilinx-bsp/recipes-xrt/zocl/zocl_git.bb b/meta-xilinx-bsp/recipes-xrt/zocl/zocl_git.bb index 194a51cb..40578aa2 100644 --- a/meta-xilinx-bsp/recipes-xrt/zocl/zocl_git.bb +++ b/meta-xilinx-bsp/recipes-xrt/zocl/zocl_git.bb | |||
@@ -11,7 +11,7 @@ S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" | |||
11 | 11 | ||
12 | inherit module | 12 | inherit module |
13 | 13 | ||
14 | pkg_postinst_ontarget_${PN}() { | 14 | pkg_postinst_ontarget:${PN}() { |
15 | #!/bin/sh | 15 | #!/bin/sh |
16 | echo "Unloading old XRT Linux kernel modules" | 16 | echo "Unloading old XRT Linux kernel modules" |
17 | ( rmmod zocl || true ) > /dev/null 2>&1 | 17 | ( rmmod zocl || true ) > /dev/null 2>&1 |
diff --git a/meta-xilinx-contrib/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-contrib/recipes-bsp/device-tree/device-tree.bbappend index d9535da0..330548a8 100644 --- a/meta-xilinx-contrib/recipes-bsp/device-tree/device-tree.bbappend +++ b/meta-xilinx-contrib/recipes-bsp/device-tree/device-tree.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
2 | 2 | ||
3 | # device tree sources for MiniZed | 3 | # device tree sources for MiniZed |
4 | COMPATIBLE_MACHINE_minized-zynq7 = ".*" | 4 | COMPATIBLE_MACHINE_minized-zynq7 = ".*" |
5 | SRC_URI_append_minized-zynq7 = " file://minized-zynq7.dts" | 5 | SRC_URI:append_minized-zynq7 = " file://minized-zynq7.dts" |
6 | 6 | ||
diff --git a/meta-xilinx-contrib/recipes-bsp/reference-design/zybo-linux-bd.bb b/meta-xilinx-contrib/recipes-bsp/reference-design/zybo-linux-bd.bb index be68918c..4439f7f9 100644 --- a/meta-xilinx-contrib/recipes-bsp/reference-design/zybo-linux-bd.bb +++ b/meta-xilinx-contrib/recipes-bsp/reference-design/zybo-linux-bd.bb | |||
@@ -26,9 +26,9 @@ S ?= "${WORKDIR}/${MACHINE}" | |||
26 | 26 | ||
27 | PROVIDES = "virtual/bitstream virtual/xilinx-platform-init" | 27 | PROVIDES = "virtual/bitstream virtual/xilinx-platform-init" |
28 | 28 | ||
29 | FILES_${PN}-platform-init += "${PLATFORM_INIT_DIR}/*" | 29 | FILES:${PN}-platform-init += "${PLATFORM_INIT_DIR}/*" |
30 | 30 | ||
31 | FILES_${PN}-bitstream += " \ | 31 | FILES:${PN}-bitstream += " \ |
32 | download.bit \ | 32 | download.bit \ |
33 | " | 33 | " |
34 | 34 | ||
diff --git a/meta-xilinx-contrib/recipes-kernel/linux-firmware/linux-firmware_%.bbappend b/meta-xilinx-contrib/recipes-kernel/linux-firmware/linux-firmware_%.bbappend index b34eea34..b205d00d 100644 --- a/meta-xilinx-contrib/recipes-kernel/linux-firmware/linux-firmware_%.bbappend +++ b/meta-xilinx-contrib/recipes-kernel/linux-firmware/linux-firmware_%.bbappend | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | ||
2 | SRC_URI_append_minized-zynq7 = " \ | 2 | SRC_URI:append_minized-zynq7 = " \ |
3 | git://github.com/murata-wireless/cyw-fmac-nvram;protocol=git;branch=orga;destsuffix=cyw-fmac-nvram;name=cyw-fmac-nvram \ | 3 | git://github.com/murata-wireless/cyw-fmac-nvram;protocol=git;branch=orga;destsuffix=cyw-fmac-nvram;name=cyw-fmac-nvram \ |
4 | git://github.com/murata-wireless/cyw-bt-patch;protocol=git;branch=morty-orga;destsuffix=cyw-bt-patch;name=cyw-bt-patch \ | 4 | git://github.com/murata-wireless/cyw-bt-patch;protocol=git;branch=morty-orga;destsuffix=cyw-bt-patch;name=cyw-bt-patch \ |
5 | git://github.com/murata-wireless/cyw-fmac-utils-imx32;protocol=git;branch=orga;destsuffix=cyw-fmac-utils-imx32;name=cyw-fmac-utils-imx32 \ | 5 | git://github.com/murata-wireless/cyw-fmac-utils-imx32;protocol=git;branch=orga;destsuffix=cyw-fmac-utils-imx32;name=cyw-fmac-utils-imx32 \ |
@@ -10,7 +10,7 @@ SRCREV_cyw-bt-patch = "9216e0d9f778009b5667d032886dfd49174c4b3a" | |||
10 | SRCREV_cyw-fmac-utils-imx32 = "060688dfe76df98751207c8146268ce7fd80b6ab" | 10 | SRCREV_cyw-fmac-utils-imx32 = "060688dfe76df98751207c8146268ce7fd80b6ab" |
11 | SRCREV_FORMAT = "default+cyw-fmac-nvram+cyw-bt-patch+cyw-fmac-utils-imx32" | 11 | SRCREV_FORMAT = "default+cyw-fmac-nvram+cyw-bt-patch+cyw-fmac-utils-imx32" |
12 | 12 | ||
13 | do_install_append_minized-zynq7() { | 13 | do_install:append_minized-zynq7() { |
14 | 14 | ||
15 | install -d ${D}${bindir} | 15 | install -d ${D}${bindir} |
16 | 16 | ||
@@ -19,23 +19,23 @@ do_install_append_minized-zynq7() { | |||
19 | install -m 0644 ${WORKDIR}/cyw-fmac-utils-imx32/wl ${D}${bindir} | 19 | install -m 0644 ${WORKDIR}/cyw-fmac-utils-imx32/wl ${D}${bindir} |
20 | } | 20 | } |
21 | 21 | ||
22 | PACKAGES_prepend_minized-zynq7 = "\ | 22 | PACKAGES:prepend_minized-zynq7 = "\ |
23 | ${PN}-bcm43430a1-hcd \ | 23 | ${PN}-bcm43430a1-hcd \ |
24 | ${PN}-mfgtest \ | 24 | ${PN}-mfgtest \ |
25 | " | 25 | " |
26 | 26 | ||
27 | FILES_${PN}-mfgtest_minized-zynq7 = " \ | 27 | FILES:${PN}-mfgtest_minized-zynq7 = " \ |
28 | ${bindir}/wl \ | 28 | ${bindir}/wl \ |
29 | " | 29 | " |
30 | 30 | ||
31 | FILES_${PN}-bcm43430_append_minized-zynq7 = " \ | 31 | FILES:${PN}-bcm43430:append_minized-zynq7 = " \ |
32 | ${nonarch_base_libdir}/firmware/brcm/ brcmfmac43430-sdio.txt \ | 32 | ${nonarch_base_libdir}/firmware/brcm/ brcmfmac43430-sdio.txt \ |
33 | " | 33 | " |
34 | 34 | ||
35 | LICENSE_${PN}-bcm43430a1-hcd = "Firmware-cypress" | 35 | LICENSE:${PN}-bcm43430a1-hcd = "Firmware-cypress" |
36 | 36 | ||
37 | FILES_${PN}-bcm43430a1-hcd = " \ | 37 | FILES:${PN}-bcm43430a1-hcd = " \ |
38 | ${nonarch_base_libdir}/firmware/brcm/BCM43430A1.1DX.hcd \ | 38 | ${nonarch_base_libdir}/firmware/brcm/BCM43430A1.1DX.hcd \ |
39 | " | 39 | " |
40 | 40 | ||
41 | RDEPENDS_${PN}-bcm43430a1-hcd += "${PN}-cypress-license" | 41 | RDEPENDS:${PN}-bcm43430a1-hcd += "${PN}-cypress-license" |
diff --git a/meta-xilinx-contrib/recipes-kernel/linux/linux-xlnx_2021.2.bbappend b/meta-xilinx-contrib/recipes-kernel/linux/linux-xlnx_2021.2.bbappend index 535fbb26..6cba54df 100644 --- a/meta-xilinx-contrib/recipes-kernel/linux/linux-xlnx_2021.2.bbappend +++ b/meta-xilinx-contrib/recipes-kernel/linux/linux-xlnx_2021.2.bbappend | |||
@@ -1,9 +1,9 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/linux-xlnx:" |
2 | 2 | ||
3 | SRC_URI_append_zybo-linux-bd-zynq7 = " \ | 3 | SRC_URI:append_zybo-linux-bd-zynq7 = " \ |
4 | file://0001-drm-xilinx-Add-encoder-for-Digilent-boards.patch \ | 4 | file://0001-drm-xilinx-Add-encoder-for-Digilent-boards.patch \ |
5 | file://0002-clk-Add-driver-for-axi_dynclk-IP-Core.patch \ | 5 | file://0002-clk-Add-driver-for-axi_dynclk-IP-Core.patch \ |
6 | file://0003-drm-xilinx-Fix-DPMS-transition-to-on.patch \ | 6 | file://0003-drm-xilinx-Fix-DPMS-transition-to-on.patch \ |
7 | " | 7 | " |
8 | 8 | ||
9 | SRC_URI_append_minized-zynq7 = " file://0004-minized-wifi-bluetooth.cfg" | 9 | SRC_URI:append_minized-zynq7 = " file://0004-minized-wifi-bluetooth.cfg" |
diff --git a/meta-xilinx-pynq/classes/xilinx-pynq.bbclass b/meta-xilinx-pynq/classes/xilinx-pynq.bbclass index a183a78e..9110037a 100644 --- a/meta-xilinx-pynq/classes/xilinx-pynq.bbclass +++ b/meta-xilinx-pynq/classes/xilinx-pynq.bbclass | |||
@@ -1,36 +1,36 @@ | |||
1 | PYNQ_NOTEBOOK_DIR ?= "${datadir}/notebooks" | 1 | PYNQ_NOTEBOOK_DIR ?= "${datadir}/notebooks" |
2 | 2 | ||
3 | PYNQ_ARCH_arm = "armv7l" | 3 | PYNQ_ARCH:arm = "armv7l" |
4 | PYNQ_ARCH_aarch64 = "aarch64" | 4 | PYNQ_ARCH:aarch64 = "aarch64" |
5 | 5 | ||
6 | PYNQ_BUILD_ARCH="${PYNQ_ARCH_${TARGET_ARCH}}" | 6 | PYNQ_BUILD_ARCH="${PYNQ_ARCH_${TARGET_ARCH}}" |
7 | PYNQ_BUILD_ROOT="${STAGING_DIR_TARGET}" | 7 | PYNQ_BUILD_ROOT="${STAGING_DIR_TARGET}" |
8 | BBCLASSEXTEND = "native nativesdk" | 8 | BBCLASSEXTEND = "native nativesdk" |
9 | 9 | ||
10 | PACKAGES += " ${PN}-notebooks" | 10 | PACKAGES += " ${PN}-notebooks" |
11 | FILES_${PN}-notebooks += "${PYNQ_NOTEBOOK_DIR}" | 11 | FILES:${PN}-notebooks += "${PYNQ_NOTEBOOK_DIR}" |
12 | 12 | ||
13 | INSANE_SKIP_${PN} += "staticdev dev-so" | 13 | INSANE_SKIP:${PN} += "staticdev dev-so" |
14 | inherit python3-dir | 14 | inherit python3-dir |
15 | 15 | ||
16 | # Used for setup.py on PYNQ | 16 | # Used for setup.py on PYNQ |
17 | BOARD_NAME_ultra96 = "Ultra96" | 17 | BOARD_NAME_ultra96 = "Ultra96" |
18 | BOARD_NAME_zcu104-zynqmp = "ZCU104" | 18 | BOARD_NAME_zcu104-zynqmp = "ZCU104" |
19 | 19 | ||
20 | do_compile_prepend() { | 20 | do_compile:prepend() { |
21 | export BOARD=${BOARD_NAME} | 21 | export BOARD=${BOARD_NAME} |
22 | export PYNQ_BUILD_ARCH=${PYNQ_BUILD_ARCH} | 22 | export PYNQ_BUILD_ARCH=${PYNQ_BUILD_ARCH} |
23 | export PYNQ_JUPYTER_NOTEBOOKS=${D}${PYNQ_NOTEBOOK_DIR} | 23 | export PYNQ_JUPYTER_NOTEBOOKS=${D}${PYNQ_NOTEBOOK_DIR} |
24 | } | 24 | } |
25 | 25 | ||
26 | do_install_prepend() { | 26 | do_install:prepend() { |
27 | export BOARD=${BOARD_NAME} | 27 | export BOARD=${BOARD_NAME} |
28 | export PYNQ_BUILD_ARCH=${PYNQ_BUILD_ARCH} | 28 | export PYNQ_BUILD_ARCH=${PYNQ_BUILD_ARCH} |
29 | export PYNQ_JUPYTER_NOTEBOOKS=${D}${PYNQ_NOTEBOOK_DIR} | 29 | export PYNQ_JUPYTER_NOTEBOOKS=${D}${PYNQ_NOTEBOOK_DIR} |
30 | install -d ${PYNQ_JUPYTER_NOTEBOOKS} | 30 | install -d ${PYNQ_JUPYTER_NOTEBOOKS} |
31 | } | 31 | } |
32 | 32 | ||
33 | do_configure_prepend() { | 33 | do_configure:prepend() { |
34 | export BOARD=${BOARD_NAME} | 34 | export BOARD=${BOARD_NAME} |
35 | export PYNQ_BUILD_ARCH=${PYNQ_BUILD_ARCH} | 35 | export PYNQ_BUILD_ARCH=${PYNQ_BUILD_ARCH} |
36 | export PYNQ_JUPYTER_NOTEBOOKS=${D}${PYNQ_NOTEBOOK_DIR} | 36 | export PYNQ_JUPYTER_NOTEBOOKS=${D}${PYNQ_NOTEBOOK_DIR} |
diff --git a/meta-xilinx-pynq/recipes-devtool/python/python-pynq.inc b/meta-xilinx-pynq/recipes-devtool/python/python-pynq.inc index 9aa55764..b35b98be 100644 --- a/meta-xilinx-pynq/recipes-devtool/python/python-pynq.inc +++ b/meta-xilinx-pynq/recipes-devtool/python/python-pynq.inc | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b42e39ad2ddbad7e8ad47f3eee6feff5" | |||
6 | SRC_URI[md5sum] = "9950894100c20293e921090b76ca9f17" | 6 | SRC_URI[md5sum] = "9950894100c20293e921090b76ca9f17" |
7 | SRC_URI[sha256sum] = "4f719e2753093d1e79931755c624d160cf342c03af49e027d09abe75bdc8e8c5" | 7 | SRC_URI[sha256sum] = "4f719e2753093d1e79931755c624d160cf342c03af49e027d09abe75bdc8e8c5" |
8 | 8 | ||
9 | RDEPENDS_${PN} += "\ | 9 | RDEPENDS:${PN} += "\ |
10 | ${PYTHON_PN}-core \ | 10 | ${PYTHON_PN}-core \ |
11 | ${PYTHON_PN}-asyncio \ | 11 | ${PYTHON_PN}-asyncio \ |
12 | ${PYTHON_PN}-cffi \ | 12 | ${PYTHON_PN}-cffi \ |
@@ -37,8 +37,8 @@ SRC_URI += " \ | |||
37 | file://0003-Use-sysroot-for-Displayport-library.patch \ | 37 | file://0003-Use-sysroot-for-Displayport-library.patch \ |
38 | " | 38 | " |
39 | 39 | ||
40 | FILESEXTRAPATHS_prepend := "${THISDIR}:" | 40 | FILESEXTRAPATHS:prepend := "${THISDIR}:" |
41 | 41 | ||
42 | do_install_append() { | 42 | do_install:append() { |
43 | rm -rf ${D}${PYNQ_NOTEBOOK_DIR}_* | 43 | rm -rf ${D}${PYNQ_NOTEBOOK_DIR}_* |
44 | } | 44 | } |
diff --git a/meta-xilinx-pynq/recipes-support/libcma/libcma_1.0.bb b/meta-xilinx-pynq/recipes-support/libcma/libcma_1.0.bb index 9d9a2b38..bd28e702 100644 --- a/meta-xilinx-pynq/recipes-support/libcma/libcma_1.0.bb +++ b/meta-xilinx-pynq/recipes-support/libcma/libcma_1.0.bb | |||
@@ -2,8 +2,8 @@ SUMMARY = "Recompile libcma against pynqlib c" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b42e39ad2ddbad7e8ad47f3eee6feff5" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b42e39ad2ddbad7e8ad47f3eee6feff5" |
4 | 4 | ||
5 | CMA_ARCH_arm = "32" | 5 | CMA_ARCH:arm = "32" |
6 | CMA_ARCH_aarch64 = "64" | 6 | CMA_ARCH:aarch64 = "64" |
7 | 7 | ||
8 | PYNQBRANCH ?= "image_v2.4" | 8 | PYNQBRANCH ?= "image_v2.4" |
9 | SRCBRANCHARG = "${@['nobranch=1', 'branch=${PYNQBRANCH}'][d.getVar('PYNQBRANCH', True) != '']}" | 9 | SRCBRANCHARG = "${@['nobranch=1', 'branch=${PYNQBRANCH}'][d.getVar('PYNQBRANCH', True) != '']}" |
@@ -15,8 +15,8 @@ SRCREV ?= "3d659d374701b7c34fa702e7aa23f71f9113f826" | |||
15 | 15 | ||
16 | S="${WORKDIR}/git" | 16 | S="${WORKDIR}/git" |
17 | 17 | ||
18 | CMA_ARCH_arm = "32" | 18 | CMA_ARCH:arm = "32" |
19 | CMA_ARCH_aarch64 = "64" | 19 | CMA_ARCH:aarch64 = "64" |
20 | 20 | ||
21 | do_install() { | 21 | do_install() { |
22 | 22 | ||
@@ -29,5 +29,5 @@ do_install() { | |||
29 | 29 | ||
30 | SOLIBS = ".so" | 30 | SOLIBS = ".so" |
31 | FILES_SOLIBSDEV = "" | 31 | FILES_SOLIBSDEV = "" |
32 | FILES_${PN} += "/usr/lib/libcma.so /usr/include" | 32 | FILES:${PN} += "/usr/lib/libcma.so /usr/include" |
33 | 33 | ||
diff --git a/meta-xilinx-pynq/recipes-support/pynq-overlay/pynq-overlay_1.0.bb b/meta-xilinx-pynq/recipes-support/pynq-overlay/pynq-overlay_1.0.bb index 8f71d9ae..467414ed 100644 --- a/meta-xilinx-pynq/recipes-support/pynq-overlay/pynq-overlay_1.0.bb +++ b/meta-xilinx-pynq/recipes-support/pynq-overlay/pynq-overlay_1.0.bb | |||
@@ -19,11 +19,11 @@ SRC_URI = " \ | |||
19 | 19 | ||
20 | S="${WORKDIR}" | 20 | S="${WORKDIR}" |
21 | 21 | ||
22 | PYNQ_DTSI ??= "pynq_zynqmp.dtsi" | 22 | PYNQ_DTSI ??= "pynq:zynqmp.dtsi" |
23 | PYNQ_DTSI_zynqmp ?= "pynq_zynqmp.dtsi" | 23 | PYNQ_DTSI:zynqmp ?= "pynq:zynqmp.dtsi" |
24 | PYNQ_DTSI_zynq ?= "pynq_zynq.dtsi" | 24 | PYNQ_DTSI:zynq ?= "pynq:zynq.dtsi" |
25 | PYNQ_SYMBOL_DTSI_zynqmp ?= "pynq_zynqmp_symbols.dtsi" | 25 | PYNQ_SYMBOL_DTSI:zynqmp ?= "pynq:zynqmp_symbols.dtsi" |
26 | PYNQ_SYMBOL_DTSI_zynq ?= "pynq_zynq_symbols.dtsi" | 26 | PYNQ_SYMBOL_DTSI:zynq ?= "pynq:zynq_symbols.dtsi" |
27 | PYNQ_DTBO ?= "pynq.dtbo" | 27 | PYNQ_DTBO ?= "pynq.dtbo" |
28 | PYNQ_SYMBOL_DTBO ?= "pynq-symbols.dtbo" | 28 | PYNQ_SYMBOL_DTBO ?= "pynq-symbols.dtbo" |
29 | 29 | ||
@@ -51,4 +51,4 @@ do_install() { | |||
51 | 51 | ||
52 | } | 52 | } |
53 | 53 | ||
54 | FILES_${PN} += "/lib/firmware/pynq.dtbo /lib/firmware/pynq-symbols.dtbo ${sysconfdir}/modprobe.d/generic-uio.conf" | 54 | FILES:${PN} += "/lib/firmware/pynq.dtbo /lib/firmware/pynq-symbols.dtbo ${sysconfdir}/modprobe.d/generic-uio.conf" |
diff --git a/meta-xilinx-pynq/recipes-support/pynq-ultra96-bnn/pynq-ultra96-bnn_1.0.bb b/meta-xilinx-pynq/recipes-support/pynq-ultra96-bnn/pynq-ultra96-bnn_1.0.bb index c20ac5d6..a736d963 100644 --- a/meta-xilinx-pynq/recipes-support/pynq-ultra96-bnn/pynq-ultra96-bnn_1.0.bb +++ b/meta-xilinx-pynq/recipes-support/pynq-ultra96-bnn/pynq-ultra96-bnn_1.0.bb | |||
@@ -13,7 +13,7 @@ SRCREV = "32eed91994228d1042a16c692047dfe81e47d498" | |||
13 | 13 | ||
14 | inherit xilinx-pynq | 14 | inherit xilinx-pynq |
15 | 15 | ||
16 | RDEPENDS_${PN}-notebooks += "\ | 16 | RDEPENDS:${PN}-notebooks += "\ |
17 | python3-pynq \ | 17 | python3-pynq \ |
18 | python3-pillow \ | 18 | python3-pillow \ |
19 | libstdc++ \ | 19 | libstdc++ \ |
diff --git a/meta-xilinx-pynq/recipes-support/pynq-ultra96-helloworld/pynq-ultra96-helloworld_1.0.bb b/meta-xilinx-pynq/recipes-support/pynq-ultra96-helloworld/pynq-ultra96-helloworld_1.0.bb index d1aabb7d..7ed5f8a2 100644 --- a/meta-xilinx-pynq/recipes-support/pynq-ultra96-helloworld/pynq-ultra96-helloworld_1.0.bb +++ b/meta-xilinx-pynq/recipes-support/pynq-ultra96-helloworld/pynq-ultra96-helloworld_1.0.bb | |||
@@ -3,7 +3,7 @@ LICENSE = "BSD" | |||
3 | 3 | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f9990fcc34ccf1f82ccf1bc5a1cc3bfc" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f9990fcc34ccf1f82ccf1bc5a1cc3bfc" |
5 | 5 | ||
6 | RDEPENDS_${PN} += "\ | 6 | RDEPENDS:${PN} += "\ |
7 | python3-pynq \ | 7 | python3-pynq \ |
8 | python3-pillow \ | 8 | python3-pillow \ |
9 | libstdc++ \ | 9 | libstdc++ \ |
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" |
diff --git a/meta-xilinx-standalone-experimental/conf/distro/xilinx-freertos.conf b/meta-xilinx-standalone-experimental/conf/distro/xilinx-freertos.conf index cba5fd90..84638022 100644 --- a/meta-xilinx-standalone-experimental/conf/distro/xilinx-freertos.conf +++ b/meta-xilinx-standalone-experimental/conf/distro/xilinx-freertos.conf | |||
@@ -1,6 +1,6 @@ | |||
1 | require conf/distro/xilinx-standalone.inc | 1 | require conf/distro/xilinx-standalone.inc |
2 | 2 | ||
3 | DISTRO_NAME_append = " (freertos)" | 3 | DISTRO_NAME:append = " (freertos)" |
4 | 4 | ||
5 | XLNX_CMAKE_SYSTEM_NAME = "FreeRTOS" | 5 | XLNX_CMAKE_SYSTEM_NAME = "FreeRTOS" |
6 | 6 | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb index 5faa1d34..653ae51a 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb | |||
@@ -6,7 +6,7 @@ DEPENDS += "libxil xiltimer" | |||
6 | 6 | ||
7 | inherit python3native | 7 | inherit python3native |
8 | 8 | ||
9 | do_configure_prepend() { | 9 | do_configure:prepend() { |
10 | cd ${S} | 10 | cd ${S} |
11 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 11 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
12 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 12 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -25,7 +25,7 @@ CUSTOM_APP_BASE_NAME ?= "${CUSTOM_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACH | |||
25 | 25 | ||
26 | ESW_COMPONENT ??= "executable.elf" | 26 | ESW_COMPONENT ??= "executable.elf" |
27 | 27 | ||
28 | do_compile_append() { | 28 | do_compile:append() { |
29 | ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/executable.bin | 29 | ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/executable.bin |
30 | } | 30 | } |
31 | 31 | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb index 77417c0a..9bf220fe 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_hello_world/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil xilstandalone freertos10-xilinx xiltimer" | 5 | DEPENDS += "libxil xilstandalone freertos10-xilinx xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -33,4 +33,4 @@ do_deploy() { | |||
33 | 33 | ||
34 | addtask deploy before do_build after do_package | 34 | addtask deploy before do_build after do_package |
35 | 35 | ||
36 | FILES_${PN} = "${base_libdir}/firmware/freertos_hello_world*" | 36 | FILES:${PN} = "${base_libdir}/firmware/freertos_hello_world*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb index 1783316c..ae6d8342 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_echo_server/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | 5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -42,4 +42,4 @@ do_deploy() { | |||
42 | 42 | ||
43 | addtask deploy before do_build after do_package | 43 | addtask deploy before do_build after do_package |
44 | 44 | ||
45 | FILES_${PN} = "${base_libdir}/firmware/freertos_lwip_echo*" | 45 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_echo*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb index 3337870d..2380eaef 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_client/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | 5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -42,4 +42,4 @@ do_deploy() { | |||
42 | 42 | ||
43 | addtask deploy before do_build after do_package | 43 | addtask deploy before do_build after do_package |
44 | 44 | ||
45 | FILES_${PN} = "${base_libdir}/firmware/freertos_lwip_tcp_perf_client*" | 45 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_tcp_perf_client*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb index ad0281e5..6a156c2d 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_server/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | 5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -42,4 +42,4 @@ do_deploy() { | |||
42 | 42 | ||
43 | addtask deploy before do_build after do_package | 43 | addtask deploy before do_build after do_package |
44 | 44 | ||
45 | FILES_${PN} = "${base_libdir}/firmware/freertos_lwip_tcp_perf_server*" | 45 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_tcp_perf_server*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb index 75c81c11..bd532abf 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_client/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | 5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -42,4 +42,4 @@ do_deploy() { | |||
42 | 42 | ||
43 | addtask deploy before do_build after do_package | 43 | addtask deploy before do_build after do_package |
44 | 44 | ||
45 | FILES_${PN} = "${base_libdir}/firmware/freertos_lwip_udp_perf_client*" | 45 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_udp_perf_client*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb index d29aaa1b..83577806 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_server/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | 5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -42,4 +42,4 @@ do_deploy() { | |||
42 | 42 | ||
43 | addtask deploy before do_build after do_package | 43 | addtask deploy before do_build after do_package |
44 | 44 | ||
45 | FILES_${PN} = "${base_libdir}/firmware/freertos_lwip_udp_perf_server*" | 45 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_udp_perf_server*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb index e8799a37..8d14acf2 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb | |||
@@ -6,7 +6,7 @@ DEPENDS += "libxil xiltimer" | |||
6 | 6 | ||
7 | inherit python3native | 7 | inherit python3native |
8 | 8 | ||
9 | do_configure_prepend() { | 9 | do_configure:prepend() { |
10 | cd ${S} | 10 | cd ${S} |
11 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 11 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
12 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 12 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -38,4 +38,4 @@ do_deploy() { | |||
38 | 38 | ||
39 | addtask deploy before do_build after do_package | 39 | addtask deploy before do_build after do_package |
40 | 40 | ||
41 | FILES_${PN} = "${base_libdir}/firmware/hello_world*" | 41 | FILES:${PN} = "${base_libdir}/firmware/hello_world*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb index cc68de67..1aef0d73 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_echo_server/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil lwip xiltimer" | 5 | DEPENDS += "libxil lwip xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -42,4 +42,4 @@ do_deploy() { | |||
42 | 42 | ||
43 | addtask deploy before do_build after do_package | 43 | addtask deploy before do_build after do_package |
44 | 44 | ||
45 | FILES_${PN} = "${base_libdir}/firmware/lwip_echo*" | 45 | FILES:${PN} = "${base_libdir}/firmware/lwip_echo*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb index b65f6801..5db0c218 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_client/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil lwip xiltimer" | 5 | DEPENDS += "libxil lwip xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -42,4 +42,4 @@ do_deploy() { | |||
42 | 42 | ||
43 | addtask deploy before do_build after do_package | 43 | addtask deploy before do_build after do_package |
44 | 44 | ||
45 | FILES_${PN} = "${base_libdir}/firmware/lwip_tcp_perf_client*" | 45 | FILES:${PN} = "${base_libdir}/firmware/lwip_tcp_perf_client*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb index ea0020e0..211d9e55 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_server/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil lwip xiltimer" | 5 | DEPENDS += "libxil lwip xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -42,4 +42,4 @@ do_deploy() { | |||
42 | 42 | ||
43 | addtask deploy before do_build after do_package | 43 | addtask deploy before do_build after do_package |
44 | 44 | ||
45 | FILES_${PN} = "${base_libdir}/firmware/lwip_tcp_perf_server*" | 45 | FILES:${PN} = "${base_libdir}/firmware/lwip_tcp_perf_server*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb index bdd7556b..42aa07fe 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_client/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil lwip xiltimer" | 5 | DEPENDS += "libxil lwip xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -42,4 +42,4 @@ do_deploy() { | |||
42 | 42 | ||
43 | addtask deploy before do_build after do_package | 43 | addtask deploy before do_build after do_package |
44 | 44 | ||
45 | FILES_${PN} = "${base_libdir}/firmware/lwip_udp_perf_client*" | 45 | FILES:${PN} = "${base_libdir}/firmware/lwip_udp_perf_client*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb index c25e02ad..b78499fe 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_server/src/" | |||
4 | 4 | ||
5 | DEPENDS += "libxil lwip xiltimer" | 5 | DEPENDS += "libxil lwip xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -42,4 +42,4 @@ do_deploy() { | |||
42 | 42 | ||
43 | addtask deploy before do_build after do_package | 43 | addtask deploy before do_build after do_package |
44 | 44 | ||
45 | FILES_${PN} = "${base_libdir}/firmware/lwip_udp_perf_server*" | 45 | FILES:${PN} = "${base_libdir}/firmware/lwip_udp_perf_server*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb index 8a06c9ff..1bca8dc5 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb | |||
@@ -6,7 +6,7 @@ DEPENDS += "libxil xiltimer" | |||
6 | 6 | ||
7 | inherit python3native | 7 | inherit python3native |
8 | 8 | ||
9 | do_configure_prepend() { | 9 | do_configure:prepend() { |
10 | cd ${S} | 10 | cd ${S} |
11 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} memtest | 11 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} memtest |
12 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 12 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -35,4 +35,4 @@ do_deploy() { | |||
35 | 35 | ||
36 | addtask deploy before do_build after do_package | 36 | addtask deploy before do_build after do_package |
37 | 37 | ||
38 | FILES_${PN} = "${base_libdir}/firmware/memory_test*" | 38 | FILES:${PN} = "${base_libdir}/firmware/memory_test*" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb index 49c12693..6275ee07 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb | |||
@@ -6,7 +6,7 @@ DEPENDS += "libxil xiltimer" | |||
6 | 6 | ||
7 | inherit python3native | 7 | inherit python3native |
8 | 8 | ||
9 | do_configure_prepend() { | 9 | do_configure:prepend() { |
10 | cd ${S} | 10 | cd ${S} |
11 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 11 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
12 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 12 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -46,7 +46,7 @@ PERIPHERAL_TEST_BASE_NAME ?= "${PERIPHERAL_TEST_APP_IMAGE_NAME}-${PKGE}-${PKGV}- | |||
46 | 46 | ||
47 | ESW_COMPONENT ??= "executable.elf" | 47 | ESW_COMPONENT ??= "executable.elf" |
48 | 48 | ||
49 | do_compile_append() { | 49 | do_compile:append() { |
50 | ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/executable.bin | 50 | ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/executable.bin |
51 | } | 51 | } |
52 | 52 | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/device-tree/device-tree.bbappend index a38c1386..c36ba70b 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/device-tree/device-tree.bbappend +++ b/meta-xilinx-standalone-experimental/recipes-bsp/device-tree/device-tree.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | CONFIG_DTFILE ?= "" | 1 | CONFIG_DTFILE ?= "" |
2 | 2 | ||
3 | do_install_prepend() { | 3 | do_install:prepend() { |
4 | for DTB_FILE in ${CONFIG_DTFILE}; do | 4 | for DTB_FILE in ${CONFIG_DTFILE}; do |
5 | install -Dm 0644 ${DTB_FILE} ${D}/boot/devicetree/$(basename ${DTB_FILE}) | 5 | install -Dm 0644 ${DTB_FILE} ${D}/boot/devicetree/$(basename ${DTB_FILE}) |
6 | done | 6 | done |
@@ -8,7 +8,7 @@ do_install_prepend() { | |||
8 | 8 | ||
9 | # This needs to run BEFORE the device tree version, otherwise it can error with | 9 | # This needs to run BEFORE the device tree version, otherwise it can error with |
10 | # Expected filename ${DTB_FILE_NAME} doesn't exist in ${DEPLOYDIR}/devicetree | 10 | # Expected filename ${DTB_FILE_NAME} doesn't exist in ${DEPLOYDIR}/devicetree |
11 | devicetree_do_deploy_prepend() { | 11 | devicetree_do_deploy:prepend() { |
12 | for DTB_FILE in ${CONFIG_DTFILE}; do | 12 | for DTB_FILE in ${CONFIG_DTFILE}; do |
13 | install -Dm 0644 ${DTB_FILE} ${DEPLOYDIR}/devicetree/$(basename ${DTB_FILE}) | 13 | install -Dm 0644 ${DTB_FILE} ${DEPLOYDIR}/devicetree/$(basename ${DTB_FILE}) |
14 | done | 14 | done |
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend index d241df32..9912b020 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend | |||
@@ -7,11 +7,11 @@ SRC_URI = "${EMBEDDEDSW_SRCURI}" | |||
7 | inherit esw | 7 | inherit esw |
8 | 8 | ||
9 | # Not compatible with Zynq | 9 | # Not compatible with Zynq |
10 | COMPATIBLE_MACHINE_zynq = "none" | 10 | COMPATIBLE_MACHINE:zynq = "none" |
11 | 11 | ||
12 | ESW_COMPONENT_SRC = "/lib/sw_apps/undefined/src" | 12 | ESW_COMPONENT_SRC = "/lib/sw_apps/undefined/src" |
13 | ESW_COMPONENT_SRC_zynq = "/lib/sw_apps/zynq_fsbl/src" | 13 | ESW_COMPONENT_SRC:zynq = "/lib/sw_apps/zynq_fsbl/src" |
14 | ESW_COMPONENT_SRC_zynqmp = "/lib/sw_apps/zynqmp_fsbl/src" | 14 | ESW_COMPONENT_SRC:zynqmp = "/lib/sw_apps/zynqmp_fsbl/src" |
15 | 15 | ||
16 | DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm" | 16 | DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm" |
17 | 17 | ||
@@ -40,8 +40,8 @@ do_install() { | |||
40 | addtask deploy before do_build after do_package | 40 | addtask deploy before do_build after do_package |
41 | 41 | ||
42 | ESW_COMPONENT = "undefined" | 42 | ESW_COMPONENT = "undefined" |
43 | ESW_COMPONENT_zynq = "zynq_fsbl.elf" | 43 | ESW_COMPONENT:zynq = "zynq_fsbl.elf" |
44 | ESW_COMPONENT_zynqmp = "zynqmp_fsbl.elf" | 44 | ESW_COMPONENT:zynqmp = "zynqmp_fsbl.elf" |
45 | 45 | ||
46 | CFLAGS_append_aarch64 = " -DARMA53_64" | 46 | CFLAGS:append:aarch64 = " -DARMA53_64" |
47 | CFLAGS_append_armrm = " -DARMR5" | 47 | CFLAGS:append:armrm = " -DARMR5" |
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend index b7bea591..558e5fd9 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend | |||
@@ -10,7 +10,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/versal_plm/src/" | |||
10 | 10 | ||
11 | ESW_COMPONENT = "versal_plm.elf" | 11 | ESW_COMPONENT = "versal_plm.elf" |
12 | 12 | ||
13 | do_compile_append() { | 13 | do_compile:append() { |
14 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | 14 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin |
15 | } | 15 | } |
16 | 16 | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend index 2016cc5c..dd0a3d92 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend | |||
@@ -10,7 +10,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_pmufw/src" | |||
10 | 10 | ||
11 | ESW_COMPONENT = "pmufw.elf" | 11 | ESW_COMPONENT = "pmufw.elf" |
12 | 12 | ||
13 | do_compile_append() { | 13 | do_compile:append() { |
14 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | 14 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin |
15 | } | 15 | } |
16 | 16 | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend index b4382477..9b3d6475 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend | |||
@@ -10,7 +10,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/versal_psmfw/src/" | |||
10 | 10 | ||
11 | ESW_COMPONENT = "versal_psmfw.elf" | 11 | ESW_COMPONENT = "versal_psmfw.elf" |
12 | 12 | ||
13 | do_compile_append() { | 13 | do_compile:append() { |
14 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | 14 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin |
15 | } | 15 | } |
16 | 16 | ||
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 |
105 | KERNEL_DEVICETREE_${machine}-generic = "" | 105 | KERNEL_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 |
107 | DEVICE_TREE_NAME_pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 107 | DEVICE_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 |
109 | BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 109 | BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" |
110 | EOF | 110 | EOF |
@@ -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 |
234 | KERNEL_DEVICETREE_${machine}-generic = "" | 234 | KERNEL_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 |
236 | DEVICE_TREE_NAME_pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 236 | DEVICE_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 |
238 | BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 238 | BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" |
239 | EOF | 239 | EOF |
@@ -409,7 +409,7 @@ EOF | |||
409 | microblaze_done=0 | 409 | microblaze_done=0 |
410 | # Generate microblaze tunings | 410 | # Generate microblaze tunings |
411 | microblaze_done=0 | 411 | microblaze_done=0 |
412 | process_microblaze() { | 412 | process: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 | ||
447 | require conf/microblaze.conf | 447 | require conf/microblaze.conf |
448 | DEFAULTTUNE = "microblaze" | 448 | DEFAULTTUNE = "microblaze" |
449 | TUNE_FEATURES_tune-microblaze_forcevariable = "\${TUNE_FEATURES_tune-pmu-microblaze}" | 449 | TUNE_FEATURES:tune-microblaze:forcevariable = "\${TUNE_FEATURES_tune-pmu-microblaze}" |
450 | 450 | ||
451 | TARGET_CFLAGS += "-DPSU_PMU=1U" | 451 | TARGET_CFLAGS += "-DPSU_PMU=1U" |
452 | 452 | ||
@@ -485,7 +485,7 @@ ESW_MACHINE = "microblaze-plm" | |||
485 | 485 | ||
486 | require conf/microblaze.conf | 486 | require conf/microblaze.conf |
487 | DEFAULTTUNE = "microblaze" | 487 | DEFAULTTUNE = "microblaze" |
488 | TUNE_FEATURES_tune-microblaze_forcevariable = "\${TUNE_FEATURES_tune-pmc-microblaze}" | 488 | TUNE_FEATURES:tune-microblaze:forcevariable = "\${TUNE_FEATURES_tune-pmc-microblaze}" |
489 | 489 | ||
490 | TARGET_CFLAGS += "-DVERSAL_PLM=1" | 490 | TARGET_CFLAGS += "-DVERSAL_PLM=1" |
491 | 491 | ||
@@ -524,7 +524,7 @@ ESW_MACHINE = "microblaze-psm" | |||
524 | 524 | ||
525 | require conf/microblaze.conf | 525 | require conf/microblaze.conf |
526 | DEFAULTTUNE = "microblaze" | 526 | DEFAULTTUNE = "microblaze" |
527 | TUNE_FEATURES_tune-microblaze_forcevariable = "\${TUNE_FEATURES_tune-psm-microblaze}" | 527 | TUNE_FEATURES:tune-microblaze:forcevariable = "\${TUNE_FEATURES_tune-psm-microblaze}" |
528 | 528 | ||
529 | TARGET_CFLAGS += "-DVERSAL_psm=1" | 529 | TARGET_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 | ||
46 | REAL_MULTIMACH_TARGET_SYS = "none" | 46 | REAL_MULTIMACH_TARGET_SYS = "none" |
47 | 47 | ||
48 | create_sdk_files_append () { | 48 | create_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 | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb index 22f659cd..685e5585 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb | |||
@@ -16,7 +16,7 @@ PACKAGECONFIG[intc] = "${RECIPE_SYSROOT}/usr/lib/libintc.a,,intc,," | |||
16 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/common/src/" | 16 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/common/src/" |
17 | ESW_COMPONENT_NAME = "libcommon.a" | 17 | ESW_COMPONENT_NAME = "libcommon.a" |
18 | 18 | ||
19 | do_configure_prepend() { | 19 | do_configure:prepend() { |
20 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/intc/src/ | 20 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/intc/src/ |
21 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/scugic/src/ | 21 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/scugic/src/ |
22 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 22 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb index 702cbd05..cc71a89d 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb | |||
@@ -12,7 +12,7 @@ ESW_COMPONENT_NAME = "libospipsv.a" | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | 12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot |
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" |
14 | 14 | ||
15 | do_configure_prepend() { | 15 | do_configure:prepend() { |
16 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} | 16 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} |
17 | install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ | 17 | install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ |
18 | } | 18 | } |
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb index a686b857..5d4e5a91 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb | |||
@@ -9,7 +9,7 @@ DEPENDS += "xilstandalone " | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/src/" |
10 | ESW_COMPONENT_NAME = "libuartlite.a" | 10 | ESW_COMPONENT_NAME = "libuartlite.a" |
11 | 11 | ||
12 | do_configure_prepend() { | 12 | do_configure:prepend() { |
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin | 13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin |
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC} | 14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC} |
15 | install -m 0755 xuartlite_g.c ${S}/${ESW_COMPONENT_SRC} | 15 | install -m 0755 xuartlite_g.c ${S}/${ESW_COMPONENT_SRC} |
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb index 42b2bd39..a1c9b670 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb | |||
@@ -9,7 +9,7 @@ DEPENDS += "xilstandalone " | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/src/" |
10 | ESW_COMPONENT_NAME = "libuartns550.a" | 10 | ESW_COMPONENT_NAME = "libuartns550.a" |
11 | 11 | ||
12 | do_configure_prepend() { | 12 | do_configure:prepend() { |
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin | 13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin |
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC} | 14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC} |
15 | install -m 0755 xuartns550_g.c ${S}/${ESW_COMPONENT_SRC} | 15 | install -m 0755 xuartns550_g.c ${S}/${ESW_COMPONENT_SRC} |
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb index 4b2f3f01..339450dd 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb | |||
@@ -9,7 +9,7 @@ DEPENDS += "xilstandalone " | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/src/" |
10 | ESW_COMPONENT_NAME = "libuartps.a" | 10 | ESW_COMPONENT_NAME = "libuartps.a" |
11 | 11 | ||
12 | do_configure_prepend() { | 12 | do_configure:prepend() { |
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin | 13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin |
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
15 | install -m 0755 xuartps_g.c ${S}/${ESW_COMPONENT_SRC}/ | 15 | install -m 0755 xuartps_g.c ${S}/${ESW_COMPONENT_SRC}/ |
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb index cbd45762..1b285fd8 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb | |||
@@ -9,7 +9,7 @@ DEPENDS += "xilstandalone " | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/src/" |
10 | ESW_COMPONENT_NAME = "libuartpsv.a" | 10 | ESW_COMPONENT_NAME = "libuartpsv.a" |
11 | 11 | ||
12 | do_configure_prepend() { | 12 | do_configure:prepend() { |
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin | 13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin |
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
15 | install -m 0755 xuartpsv_g.c ${S}/${ESW_COMPONENT_SRC}/ | 15 | install -m 0755 xuartpsv_g.c ${S}/${ESW_COMPONENT_SRC}/ |
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb index e7eb038f..ee100489 100755 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb | |||
@@ -9,7 +9,7 @@ DEPENDS += "xilstandalone video-common" | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_rd/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_rd/src/" |
10 | ESW_COMPONENT_NAME = "libv_frmbuf_rd.a" | 10 | ESW_COMPONENT_NAME = "libv_frmbuf_rd.a" |
11 | 11 | ||
12 | do_configure_prepend() { | 12 | do_configure:prepend() { |
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
15 | install -m 0755 xv_frmbufrd_g.c ${S}/${ESW_COMPONENT_SRC}/ | 15 | install -m 0755 xv_frmbufrd_g.c ${S}/${ESW_COMPONENT_SRC}/ |
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb index 05f92ea3..7c4d1230 100755 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb | |||
@@ -9,7 +9,7 @@ DEPENDS += "xilstandalone video-common" | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_wr/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_wr/src/" |
10 | ESW_COMPONENT_NAME = "libv_frmbuf_wr.a" | 10 | ESW_COMPONENT_NAME = "libv_frmbuf_wr.a" |
11 | 11 | ||
12 | do_configure_prepend() { | 12 | do_configure:prepend() { |
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
15 | install -m 0755 xv_frmbufwr_g.c ${S}/${ESW_COMPONENT_SRC}/ | 15 | install -m 0755 xv_frmbufwr_g.c ${S}/${ESW_COMPONENT_SRC}/ |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb index f258cba5..4ad2a9e6 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb | |||
@@ -5,7 +5,7 @@ ESW_COMPONENT_NAME = "libfreertos.a" | |||
5 | 5 | ||
6 | DEPENDS += "libxil xilstandalone xiltimer" | 6 | DEPENDS += "libxil xilstandalone xiltimer" |
7 | 7 | ||
8 | do_configure_prepend() { | 8 | do_configure:prepend() { |
9 | # This script should also not rely on relative paths and such | 9 | # This script should also not rely on relative paths and such |
10 | cd ${S} | 10 | cd ${S} |
11 | lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | 11 | lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb index 9fd92cd2..48482de4 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb | |||
@@ -11,7 +11,7 @@ DEPENDS += "xilstandalone " | |||
11 | REQUIRED_DISTRO_FEATURES = "${DISTRO_FEATURES}" | 11 | REQUIRED_DISTRO_FEATURES = "${DISTRO_FEATURES}" |
12 | PACKAGECONFIG ?= "${DISTRO_FEATURES} ${MACHINE_FEATURES}" | 12 | PACKAGECONFIG ?= "${DISTRO_FEATURES} ${MACHINE_FEATURES}" |
13 | 13 | ||
14 | do_configure_prepend() { | 14 | do_configure:prepend() { |
15 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} | 15 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} |
16 | install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ | 16 | install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ |
17 | } | 17 | } |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb index 8295bfdd..11e44c28 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb | |||
@@ -4,16 +4,16 @@ ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip211/src/" | |||
4 | ESW_COMPONENT_NAME = "liblwip211.a" | 4 | ESW_COMPONENT_NAME = "liblwip211.a" |
5 | 5 | ||
6 | DEPENDS += "libxil" | 6 | DEPENDS += "libxil" |
7 | DEPENDS_append_xilinx-freertos = "freertos10-xilinx" | 7 | DEPENDS:append_xilinx-freertos = "freertos10-xilinx" |
8 | 8 | ||
9 | EXTRA_OECMAKE += "-Dlwip_api_mode=RAW_API" | 9 | EXTRA_OECMAKE += "-Dlwip_api_mode=RAW_API" |
10 | EXTRA_OECMAKE += "-Dlwip_dhcp_does_arp_check=ON" | 10 | EXTRA_OECMAKE += "-Dlwip_dhcp_does_arp_check=ON" |
11 | EXTRA_OECMAKE += "-Dlwip_dhcp=ON" | 11 | EXTRA_OECMAKE += "-Dlwip_dhcp=ON" |
12 | EXTRA_OECMAKE += "-Dlwip_pbuf_pool_size=2048" | 12 | EXTRA_OECMAKE += "-Dlwip_pbuf_pool_size=2048" |
13 | EXTRA_OECMAKE += "-Dlwip_ipv6_enable=OFF" | 13 | EXTRA_OECMAKE += "-Dlwip_ipv6_enable=OFF" |
14 | EXTRA_OECMAKE_append_xilinx-freertos += "-Dlwip_api_mode=SOCKET_API" | 14 | EXTRA_OECMAKE:append_xilinx-freertos += "-Dlwip_api_mode=SOCKET_API" |
15 | 15 | ||
16 | do_configure_prepend() { | 16 | do_configure:prepend() { |
17 | # This script should also not rely on relative paths and such | 17 | # This script should also not rely on relative paths and such |
18 | cd ${S} | 18 | cd ${S} |
19 | lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | 19 | lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/nativesdk-esw-conf_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/nativesdk-esw-conf_git.bb index 629b6f73..63119fd4 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/nativesdk-esw-conf_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/nativesdk-esw-conf_git.bb | |||
@@ -10,7 +10,7 @@ B = "${WORKDIR}/build" | |||
10 | # Don't need any specific dependencies for this | 10 | # Don't need any specific dependencies for this |
11 | DEPENDS = "" | 11 | DEPENDS = "" |
12 | 12 | ||
13 | COMPATIBLE_HOST_forcevariable = ".*" | 13 | COMPATIBLE_HOST:forcevariable = ".*" |
14 | 14 | ||
15 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" | 15 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" |
16 | 16 | ||
@@ -27,4 +27,4 @@ do_install() { | |||
27 | done | 27 | done |
28 | } | 28 | } |
29 | 29 | ||
30 | FILES_${PN} += "${datadir}/embeddedsw" | 30 | FILES:${PN} += "${datadir}/embeddedsw" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb index 61643120..6df33ea0 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/" | |||
4 | 4 | ||
5 | DEPENDS += "xilffs xiltimer" | 5 | DEPENDS += "xilffs xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -25,4 +25,4 @@ do_deploy() { | |||
25 | } | 25 | } |
26 | addtask deploy before do_build after do_package | 26 | addtask deploy before do_build after do_package |
27 | 27 | ||
28 | FILES_${PN} = "${base_libdir}/firmware/*.elf" | 28 | FILES:${PN} = "${base_libdir}/firmware/*.elf" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb index 2685b384..b3523ab7 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_services/xilfpga/examples/" | |||
4 | 4 | ||
5 | DEPENDS += "xilfpga" | 5 | DEPENDS += "xilfpga" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -25,4 +25,4 @@ do_deploy() { | |||
25 | } | 25 | } |
26 | addtask deploy before do_build after do_package | 26 | addtask deploy before do_build after do_package |
27 | 27 | ||
28 | FILES_${PN} = "${base_libdir}/firmware/*.elf" | 28 | FILES:${PN} = "${base_libdir}/firmware/*.elf" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb index da9d35d2..baadc4e7 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_services/xilmailbox/examples/" | |||
4 | 4 | ||
5 | DEPENDS += "xilmailbox" | 5 | DEPENDS += "xilmailbox" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -34,4 +34,4 @@ do_deploy() { | |||
34 | } | 34 | } |
35 | addtask deploy before do_build after do_package | 35 | addtask deploy before do_build after do_package |
36 | 36 | ||
37 | FILES_${PN} = "${base_libdir}/firmware/*.elf" | 37 | FILES:${PN} = "${base_libdir}/firmware/*.elf" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb index 2982bb91..4528fe98 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/examples/" | |||
4 | 4 | ||
5 | DEPENDS += "xilnvm" | 5 | DEPENDS += "xilnvm" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -25,4 +25,4 @@ do_deploy() { | |||
25 | } | 25 | } |
26 | addtask deploy before do_build after do_package | 26 | addtask deploy before do_build after do_package |
27 | 27 | ||
28 | FILES_${PN} = "${base_libdir}/firmware/*.elf" | 28 | FILES:${PN} = "${base_libdir}/firmware/*.elf" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb index a6e1e69b..ce56933c 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/examples/" | |||
4 | 4 | ||
5 | DEPENDS += "xilpuf" | 5 | DEPENDS += "xilpuf" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -25,4 +25,4 @@ do_deploy() { | |||
25 | } | 25 | } |
26 | addtask deploy before do_build after do_package | 26 | addtask deploy before do_build after do_package |
27 | 27 | ||
28 | FILES_${PN} = "${base_libdir}/firmware/*.elf" | 28 | FILES:${PN} = "${base_libdir}/firmware/*.elf" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb index 1d589228..d8253e59 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb | |||
@@ -4,7 +4,7 @@ ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/examples/" | |||
4 | 4 | ||
5 | DEPENDS += "xilsecure" | 5 | DEPENDS += "xilsecure" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_configure:prepend() { |
8 | cd ${S} | 8 | cd ${S} |
9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 9 | lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ | 10 | install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ |
@@ -25,4 +25,4 @@ do_deploy() { | |||
25 | } | 25 | } |
26 | addtask deploy before do_build after do_package | 26 | addtask deploy before do_build after do_package |
27 | 27 | ||
28 | FILES_${PN} = "${base_libdir}/firmware/*.elf" | 28 | FILES:${PN} = "${base_libdir}/firmware/*.elf" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb index 5dc98269..495fe6a8 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb | |||
@@ -5,7 +5,7 @@ ESW_COMPONENT_NAME = "libxilstandalone.a" | |||
5 | 5 | ||
6 | DEPENDS += "libgloss" | 6 | DEPENDS += "libgloss" |
7 | 7 | ||
8 | do_configure_prepend() { | 8 | do_configure:prepend() { |
9 | # This script should also not rely on relative paths and such | 9 | # This script should also not rely on relative paths and such |
10 | cd ${S} | 10 | cd ${S} |
11 | lopper.py ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 11 | lopper.py ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb index 93b64de1..3f93db74 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb | |||
@@ -5,7 +5,7 @@ ESW_COMPONENT_NAME = "libxiltimer.a" | |||
5 | 5 | ||
6 | DEPENDS += "libxil" | 6 | DEPENDS += "libxil" |
7 | 7 | ||
8 | do_configure_prepend() { | 8 | do_configure:prepend() { |
9 | # This script should also not rely on relative paths and such | 9 | # This script should also not rely on relative paths and such |
10 | cd ${S} | 10 | cd ${S} |
11 | lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | 11 | lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} |
diff --git a/meta-xilinx-standalone-experimental/scripts/microblaze_dtb.py b/meta-xilinx-standalone-experimental/scripts/microblaze_dtb.py index 1c5ed835..343ae10e 100644 --- a/meta-xilinx-standalone-experimental/scripts/microblaze_dtb.py +++ b/meta-xilinx-standalone-experimental/scripts/microblaze_dtb.py | |||
@@ -133,8 +133,8 @@ def MicroblazeConfig(dtbfile, out): | |||
133 | TUNE_FEATURES = processProperties(fdt, node) | 133 | TUNE_FEATURES = processProperties(fdt, node) |
134 | 134 | ||
135 | out.write('AVAILTUNES += "microblaze-cpu%s"\n' % (cpu)) | 135 | out.write('AVAILTUNES += "microblaze-cpu%s"\n' % (cpu)) |
136 | out.write('TUNE_FEATURES_tune-microblaze-cpu%s = "%s"\n' % (cpu, ' '.join(TUNE_FEATURES))) | 136 | out.write('TUNE_FEATURES:tune-microblaze-cpu%s = "%s"\n' % (cpu, ' '.join(TUNE_FEATURES))) |
137 | out.write('PACKAGE_EXTRA_ARCHS_tune-microblaze-cpu%s = "${TUNE_PKGARCH}"\n' % (cpu)) | 137 | out.write('PACKAGE_EXTRA_ARCHS:tune-microblaze-cpu%s = "${TUNE_PKGARCH}"\n' % (cpu)) |
138 | 138 | ||
139 | except Exception as e: | 139 | except Exception as e: |
140 | sys.stderr.write("Exception looking at properties: %s\n" % e) | 140 | sys.stderr.write("Exception looking at properties: %s\n" % e) |
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf index 0447376b..dfc8fa08 100644 --- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf +++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf | |||
@@ -1,12 +1,12 @@ | |||
1 | require conf/distro/xilinx-standalone.inc | 1 | require conf/distro/xilinx-standalone.inc |
2 | 2 | ||
3 | DISTRO_NAME_append = " (lto)" | 3 | DISTRO_NAME:append = " (lto)" |
4 | 4 | ||
5 | # By default we want to optimize for size. | 5 | # By default we want to optimize for size. |
6 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" | 6 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" |
7 | 7 | ||
8 | # Workaround for microblaze -Os bug | 8 | # Workaround for microblaze -Os bug |
9 | FULL_OPTIMIZATION_microblaze = "-O2 -pipe ${DEBUG_FLAGS}" | 9 | FULL_OPTIMIZATION:microblaze = "-O2 -pipe ${DEBUG_FLAGS}" |
10 | 10 | ||
11 | # We also need to use Link Time Optimization for many items, make this the | 11 | # We also need to use Link Time Optimization for many items, make this the |
12 | # default. | 12 | # default. |
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc index 622544fc..45039835 100644 --- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc +++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc | |||
@@ -3,7 +3,7 @@ DISTRO_VERSION = "1.0" | |||
3 | TARGET_VENDOR = "-xilinx" | 3 | TARGET_VENDOR = "-xilinx" |
4 | 4 | ||
5 | # Make sure any users get the xilinx-standalone distro override | 5 | # Make sure any users get the xilinx-standalone distro override |
6 | DISTROOVERRIDES_prepend = "${@'xilinx-standalone:' if d.getVar('DISTRO') != "xilinx-standalone" else ''}" | 6 | DISTROOVERRIDES:prepend = "${@'xilinx-standalone:' if d.getVar('DISTRO') != "xilinx-standalone" else ''}" |
7 | 7 | ||
8 | TCLIBC = "newlib" | 8 | TCLIBC = "newlib" |
9 | TCLIBCAPPEND ="" | 9 | TCLIBCAPPEND ="" |
@@ -12,7 +12,7 @@ TCLIBCAPPEND ="" | |||
12 | SDK_VERSION = "xilinx-standalone" | 12 | SDK_VERSION = "xilinx-standalone" |
13 | 13 | ||
14 | # Hold this until it gets merged in core, we need libc.a and libgloss.a for cross-canadian | 14 | # Hold this until it gets merged in core, we need libc.a and libgloss.a for cross-canadian |
15 | LIBC_DEPENDENCIES_append = " newlib-staticdev libgloss-staticdev" | 15 | LIBC_DEPENDENCIES:append = " newlib-staticdev libgloss-staticdev" |
16 | 16 | ||
17 | ESW_CFLAGS ?= "" | 17 | ESW_CFLAGS ?= "" |
18 | 18 | ||
@@ -25,7 +25,7 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '' | |||
25 | # Avoid using this for native, nativesdk or cross recipes | 25 | # Avoid using this for native, nativesdk or cross recipes |
26 | COMPATOS = "" | 26 | COMPATOS = "" |
27 | # Set the regex for target recipes only, follow TARGET_OS default | 27 | # Set the regex for target recipes only, follow TARGET_OS default |
28 | COMPATOS_class-target = ".*-linux${LIBCEXTENSION}${ABIEXTENSION}" | 28 | COMPATOS:class-target = ".*-linux${LIBCEXTENSION}${ABIEXTENSION}" |
29 | COMPATIBLE_HOST ?= "${COMPATOS}" | 29 | COMPATIBLE_HOST ?= "${COMPATOS}" |
30 | 30 | ||
31 | # Clear defaults | 31 | # Clear defaults |
@@ -38,10 +38,10 @@ PREFERRED_VERSION_libmetal = "${@'standalone' if 'xilinx-standalone-exp' in d.ge | |||
38 | PREFERRED_VERSION_open-amp = "${@'standalone' if 'xilinx-standalone-exp' in d.getVar('BBFILE_COLLECTIONS').split() else ''}" | 38 | PREFERRED_VERSION_open-amp = "${@'standalone' if 'xilinx-standalone-exp' in d.getVar('BBFILE_COLLECTIONS').split() else ''}" |
39 | 39 | ||
40 | # Hold this until it gets merged in core, we need libc.a and libgloss.a for cross-canadian | 40 | # Hold this until it gets merged in core, we need libc.a and libgloss.a for cross-canadian |
41 | LIBC_DEPENDENCIES_append = " newlib-staticdev libgloss-staticdev" | 41 | LIBC_DEPENDENCIES:append = " newlib-staticdev libgloss-staticdev" |
42 | 42 | ||
43 | # No cached configsite files | 43 | # No cached configsite files |
44 | TOOLCHAIN_NEED_CONFIGSITE_CACHE = "" | 44 | TOOLCHAIN_NEED_CONFIGSITE_CACHE = "" |
45 | 45 | ||
46 | # Workaround for pulling in nativesdk-mingw-w64-winpthreads | 46 | # Workaround for pulling in nativesdk-mingw-w64-winpthreads |
47 | TOOLCHAIN_HOST_TASK_append_sdkmingw32 = " nativesdk-mingw-w64-winpthreads" | 47 | TOOLCHAIN_HOST_TASK:append:sdkmingw32 = " nativesdk-mingw-w64-winpthreads" |
diff --git a/meta-xilinx-standalone/conf/machine/aarch32-tc.conf b/meta-xilinx-standalone/conf/machine/aarch32-tc.conf index 72fbc80f..22ed10ae 100644 --- a/meta-xilinx-standalone/conf/machine/aarch32-tc.conf +++ b/meta-xilinx-standalone/conf/machine/aarch32-tc.conf | |||
@@ -16,205 +16,205 @@ MULTILIBS += "multilib:libvtvesimdhf" | |||
16 | MULTILIBS += "multilib:libv8anofp" | 16 | MULTILIBS += "multilib:libv8anofp" |
17 | MULTILIBS += "multilib:libv8asimdsoftfp multilib:libv8asimdhard" | 17 | MULTILIBS += "multilib:libv8asimdsoftfp multilib:libv8asimdhard" |
18 | 18 | ||
19 | TUNE_CCARGS = "${TUNE_CCARGS_tune-${DEFAULTTUNE}}" | 19 | TUNE_CCARGS = "${TUNE_CCARGS:tune-${DEFAULTTUNE}}" |
20 | TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}" | 20 | TUNE_PKGARCH = "${TUNE_PKGARCH:tune-${DEFAULTTUNE}}" |
21 | 21 | ||
22 | # Base configuration | 22 | # Base configuration |
23 | # CFLAGS: | 23 | # CFLAGS: |
24 | DEFAULTTUNE = "aarch32" | 24 | DEFAULTTUNE = "aarch32" |
25 | 25 | ||
26 | AVAILTUNES += "aarch32" | 26 | AVAILTUNES += "aarch32" |
27 | PACKAGE_EXTRA_ARCHS_tune-aarch32 = "${TUNE_PKGARCH_tune-aarch32}" | 27 | PACKAGE_EXTRA_ARCHS:tune-aarch32 = "${TUNE_PKGARCH:tune-aarch32}" |
28 | BASE_LIB_tune-aarch32 = "lib" | 28 | BASE_LIB:tune-aarch32 = "lib" |
29 | TUNE_FEATURES_tune-aarch32 = "arm" | 29 | TUNE_FEATURES:tune-aarch32 = "arm" |
30 | TUNE_CCARGS_tune-aarch32 = "" | 30 | TUNE_CCARGS:tune-aarch32 = "" |
31 | TUNE_PKGARCH_tune-aarch32 = "aarch32" | 31 | TUNE_PKGARCH:tune-aarch32 = "aarch32" |
32 | 32 | ||
33 | 33 | ||
34 | # arm/v5te/softfp | 34 | # arm/v5te/softfp |
35 | # CFLAGS: -marm -march=armv5te+fp -mfloat-abi=softfp | 35 | # CFLAGS: -marm -march=armv5te+fp -mfloat-abi=softfp |
36 | DEFAULTTUNE_virtclass-multilib-libarmv5tesoftfp = "armv5tesoftfp" | 36 | DEFAULTTUNE:virtclass-multilib-libarmv5tesoftfp = "armv5tesoftfp" |
37 | 37 | ||
38 | AVAILTUNES += "armv5tesoftfp" | 38 | AVAILTUNES += "armv5tesoftfp" |
39 | PACKAGE_EXTRA_ARCHS_tune-armv5tesoftfp = "${TUNE_PKGARCH_tune-armv5tesoftfp}" | 39 | PACKAGE_EXTRA_ARCHS:tune-armv5tesoftfp = "${TUNE_PKGARCH:tune-armv5tesoftfp}" |
40 | BASE_LIB_tune-armv5tesoftfp = "lib/arm/v5te/softfp" | 40 | BASE_LIB:tune-armv5tesoftfp = "lib/arm/v5te/softfp" |
41 | TUNE_FEATURES_tune-armv5tesoftfp = "arm" | 41 | TUNE_FEATURES:tune-armv5tesoftfp = "arm" |
42 | TUNE_CCARGS_tune-armv5tesoftfp = "-marm -march=armv5te+fp -mfloat-abi=softfp" | 42 | TUNE_CCARGS:tune-armv5tesoftfp = "-marm -march=armv5te+fp -mfloat-abi=softfp" |
43 | TUNE_PKGARCH_tune-armv5tesoftfp = "armv5tefp" | 43 | TUNE_PKGARCH:tune-armv5tesoftfp = "armv5tefp" |
44 | 44 | ||
45 | 45 | ||
46 | # arm/v5te/hard | 46 | # arm/v5te/hard |
47 | # CFLAGS: -marm -march=armv5te+fp -mfloat-abi=hard | 47 | # CFLAGS: -marm -march=armv5te+fp -mfloat-abi=hard |
48 | DEFAULTTUNE_virtclass-multilib-libarmv5tehard = "armv5tehard" | 48 | DEFAULTTUNE:virtclass-multilib-libarmv5tehard = "armv5tehard" |
49 | 49 | ||
50 | AVAILTUNES += "armv5tehard" | 50 | AVAILTUNES += "armv5tehard" |
51 | PACKAGE_EXTRA_ARCHS_tune-armv5tehard = "${TUNE_PKGARCH_tune-armv5tehard}" | 51 | PACKAGE_EXTRA_ARCHS:tune-armv5tehard = "${TUNE_PKGARCH:tune-armv5tehard}" |
52 | BASE_LIB_tune-armv5tehard = "lib/arm/v5te/hard" | 52 | BASE_LIB:tune-armv5tehard = "lib/arm/v5te/hard" |
53 | TUNE_FEATURES_tune-armv5tehard = "arm" | 53 | TUNE_FEATURES:tune-armv5tehard = "arm" |
54 | TUNE_CCARGS_tune-armv5tehard = "-marm -march=armv5te+fp -mfloat-abi=hard" | 54 | TUNE_CCARGS:tune-armv5tehard = "-marm -march=armv5te+fp -mfloat-abi=hard" |
55 | TUNE_PKGARCH_tune-armv5tehard = "armv5tefphf" | 55 | TUNE_PKGARCH:tune-armv5tehard = "armv5tefphf" |
56 | 56 | ||
57 | 57 | ||
58 | # thumb/nofp | 58 | # thumb/nofp |
59 | # CFLAGS: -mthumb -mfloat-abi=soft | 59 | # CFLAGS: -mthumb -mfloat-abi=soft |
60 | DEFAULTTUNE_virtclass-multilib-libnofp = "armnofp" | 60 | DEFAULTTUNE:virtclass-multilib-libnofp = "armnofp" |
61 | 61 | ||
62 | AVAILTUNES += "armnofp" | 62 | AVAILTUNES += "armnofp" |
63 | PACKAGE_EXTRA_ARCHS_tune-armnofp = "${TUNE_PKGARCH_tune-armnofp}" | 63 | PACKAGE_EXTRA_ARCHS:tune-armnofp = "${TUNE_PKGARCH:tune-armnofp}" |
64 | BASE_LIB_tune-armnofp = "lib/thumb/nofp" | 64 | BASE_LIB:tune-armnofp = "lib/thumb/nofp" |
65 | TUNE_FEATURES_tune-armnofp = "arm" | 65 | TUNE_FEATURES:tune-armnofp = "arm" |
66 | TUNE_CCARGS_tune-armnofp = "-mthumb -mfloat-abi=soft" | 66 | TUNE_CCARGS:tune-armnofp = "-mthumb -mfloat-abi=soft" |
67 | TUNE_PKGARCH_tune-armnofp = "armt" | 67 | TUNE_PKGARCH:tune-armnofp = "armt" |
68 | 68 | ||
69 | 69 | ||
70 | # thumb/v7/nofp | 70 | # thumb/v7/nofp |
71 | # CFLAGS: -mthumb -march=armv7 -mfloat-abi=soft | 71 | # CFLAGS: -mthumb -march=armv7 -mfloat-abi=soft |
72 | DEFAULTTUNE_virtclass-multilib-libv7nofp = "armv7nofp" | 72 | DEFAULTTUNE:virtclass-multilib-libv7nofp = "armv7nofp" |
73 | 73 | ||
74 | AVAILTUNES += "armv7nofp" | 74 | AVAILTUNES += "armv7nofp" |
75 | PACKAGE_EXTRA_ARCHS_tune-armv7nofp = "${TUNE_PKGARCH_tune-armv7nofp}" | 75 | PACKAGE_EXTRA_ARCHS:tune-armv7nofp = "${TUNE_PKGARCH:tune-armv7nofp}" |
76 | BASE_LIB_tune-armv7nofp = "lib/thumb/v7/nofp" | 76 | BASE_LIB:tune-armv7nofp = "lib/thumb/v7/nofp" |
77 | TUNE_FEATURES_tune-armv7nofp = "arm" | 77 | TUNE_FEATURES:tune-armv7nofp = "arm" |
78 | TUNE_CCARGS_tune-armv7nofp = "-mthumb -march=armv7 -mfloat-abi=soft" | 78 | TUNE_CCARGS:tune-armv7nofp = "-mthumb -march=armv7 -mfloat-abi=soft" |
79 | TUNE_PKGARCH_tune-armv7nofp = "armv7t" | 79 | TUNE_PKGARCH:tune-armv7nofp = "armv7t" |
80 | 80 | ||
81 | 81 | ||
82 | # thumb/v7+fp/softfp | 82 | # thumb/v7+fp/softfp |
83 | # CFLAGS: -mthumb -march=armv7+fp -mfloat-abi=softfp | 83 | # CFLAGS: -mthumb -march=armv7+fp -mfloat-abi=softfp |
84 | DEFAULTTUNE_virtclass-multilib-libv7fpsoftfp = "armv7fpsoftfp" | 84 | DEFAULTTUNE:virtclass-multilib-libv7fpsoftfp = "armv7fpsoftfp" |
85 | 85 | ||
86 | AVAILTUNES += "armv7fpsoftfp" | 86 | AVAILTUNES += "armv7fpsoftfp" |
87 | PACKAGE_EXTRA_ARCHS_tune-armv7fpsoftfp = "${TUNE_PKGARCH_tune-armv7fpsoftfp}" | 87 | PACKAGE_EXTRA_ARCHS:tune-armv7fpsoftfp = "${TUNE_PKGARCH:tune-armv7fpsoftfp}" |
88 | BASE_LIB_tune-armv7fpsoftfp = "lib/thumb/v7+fp/softfp" | 88 | BASE_LIB:tune-armv7fpsoftfp = "lib/thumb/v7+fp/softfp" |
89 | TUNE_FEATURES_tune-armv7fpsoftfp = "arm" | 89 | TUNE_FEATURES:tune-armv7fpsoftfp = "arm" |
90 | TUNE_CCARGS_tune-armv7fpsoftfp = "-mthumb -march=armv7+fp -mfloat-abi=softfp" | 90 | TUNE_CCARGS:tune-armv7fpsoftfp = "-mthumb -march=armv7+fp -mfloat-abi=softfp" |
91 | TUNE_PKGARCH_tune-armv7fpsoftfp = "armv7fpt" | 91 | TUNE_PKGARCH:tune-armv7fpsoftfp = "armv7fpt" |
92 | 92 | ||
93 | 93 | ||
94 | # thumb/v7+fp/hard | 94 | # thumb/v7+fp/hard |
95 | # CFLAGS: -mthumb -march=armv7+fp -mfloat-abi=hard | 95 | # CFLAGS: -mthumb -march=armv7+fp -mfloat-abi=hard |
96 | DEFAULTTUNE_virtclass-multilib-libv7fphard = "armv7fphard" | 96 | DEFAULTTUNE:virtclass-multilib-libv7fphard = "armv7fphard" |
97 | 97 | ||
98 | AVAILTUNES += "armv7fphard" | 98 | AVAILTUNES += "armv7fphard" |
99 | PACKAGE_EXTRA_ARCHS_tune-armv7fphard = "${TUNE_PKGARCH_tune-armv7fphard}" | 99 | PACKAGE_EXTRA_ARCHS:tune-armv7fphard = "${TUNE_PKGARCH:tune-armv7fphard}" |
100 | BASE_LIB_tune-armv7fphard = "lib/thumb/v7+fp/hard" | 100 | BASE_LIB:tune-armv7fphard = "lib/thumb/v7+fp/hard" |
101 | TUNE_FEATURES_tune-armv7fphard = "arm" | 101 | TUNE_FEATURES:tune-armv7fphard = "arm" |
102 | TUNE_CCARGS_tune-armv7fphard = "-mthumb -march=armv7+fp -mfloat-abi=hard" | 102 | TUNE_CCARGS:tune-armv7fphard = "-mthumb -march=armv7+fp -mfloat-abi=hard" |
103 | TUNE_PKGARCH_tune-armv7fphard = "armv7fpthf" | 103 | TUNE_PKGARCH:tune-armv7fphard = "armv7fpthf" |
104 | 104 | ||
105 | 105 | ||
106 | # thumb/v7-a/nofp | 106 | # thumb/v7-a/nofp |
107 | # CFLAGS: -mthumb -march=armv7-a -mfloat-abi=soft | 107 | # CFLAGS: -mthumb -march=armv7-a -mfloat-abi=soft |
108 | DEFAULTTUNE_virtclass-multilib-libv7anofp = "armv7anofp" | 108 | DEFAULTTUNE:virtclass-multilib-libv7anofp = "armv7anofp" |
109 | 109 | ||
110 | AVAILTUNES += "armv7anofp" | 110 | AVAILTUNES += "armv7anofp" |
111 | PACKAGE_EXTRA_ARCHS_tune-armv7anofp = "${TUNE_PKGARCH_tune-armv7anofp}" | 111 | PACKAGE_EXTRA_ARCHS:tune-armv7anofp = "${TUNE_PKGARCH:tune-armv7anofp}" |
112 | BASE_LIB_tune-armv7anofp = "lib/thumb/v7-a/nofp" | 112 | BASE_LIB:tune-armv7anofp = "lib/thumb/v7-a/nofp" |
113 | TUNE_FEATURES_tune-armv7anofp = "arm" | 113 | TUNE_FEATURES:tune-armv7anofp = "arm" |
114 | TUNE_CCARGS_tune-armv7anofp = "-mthumb -march=armv7-a -mfloat-abi=soft" | 114 | TUNE_CCARGS:tune-armv7anofp = "-mthumb -march=armv7-a -mfloat-abi=soft" |
115 | TUNE_PKGARCH_tune-armv7anofp = "armv7at" | 115 | TUNE_PKGARCH:tune-armv7anofp = "armv7at" |
116 | 116 | ||
117 | 117 | ||
118 | # thumb/v7-a+fp/softfp | 118 | # thumb/v7-a+fp/softfp |
119 | # CFLAGS: -mthumb -march=armv7-a+fp -mfloat-abi=softfp | 119 | # CFLAGS: -mthumb -march=armv7-a+fp -mfloat-abi=softfp |
120 | DEFAULTTUNE_virtclass-multilib-libv7afpsoftfp = "armv7afpsoftfp" | 120 | DEFAULTTUNE:virtclass-multilib-libv7afpsoftfp = "armv7afpsoftfp" |
121 | 121 | ||
122 | AVAILTUNES += "armv7afpsoftfp" | 122 | AVAILTUNES += "armv7afpsoftfp" |
123 | PACKAGE_EXTRA_ARCHS_tune-armv7afpsoftfp = "${TUNE_PKGARCH_tune-armv7afpsoftfp}" | 123 | PACKAGE_EXTRA_ARCHS:tune-armv7afpsoftfp = "${TUNE_PKGARCH:tune-armv7afpsoftfp}" |
124 | BASE_LIB_tune-armv7afpsoftfp = "lib/thumb/v7-a+fp/softfp" | 124 | BASE_LIB:tune-armv7afpsoftfp = "lib/thumb/v7-a+fp/softfp" |
125 | TUNE_FEATURES_tune-armv7afpsoftfp = "arm" | 125 | TUNE_FEATURES:tune-armv7afpsoftfp = "arm" |
126 | TUNE_CCARGS_tune-armv7afpsoftfp = "-mthumb -march=armv7-a+fp -mfloat-abi=softfp" | 126 | TUNE_CCARGS:tune-armv7afpsoftfp = "-mthumb -march=armv7-a+fp -mfloat-abi=softfp" |
127 | TUNE_PKGARCH_tune-armv7afpsoftfp = "armv7afpt" | 127 | TUNE_PKGARCH:tune-armv7afpsoftfp = "armv7afpt" |
128 | 128 | ||
129 | 129 | ||
130 | # thumb/v7-a+fp/hard | 130 | # thumb/v7-a+fp/hard |
131 | # CFLAGS: -mthumb -march=armv7-a+fp -mfloat-abi=hard | 131 | # CFLAGS: -mthumb -march=armv7-a+fp -mfloat-abi=hard |
132 | DEFAULTTUNE_virtclass-multilib-libv7afpthf = "armv7afpthf" | 132 | DEFAULTTUNE:virtclass-multilib-libv7afpthf = "armv7afpthf" |
133 | 133 | ||
134 | AVAILTUNES += "armv7afpthf" | 134 | AVAILTUNES += "armv7afpthf" |
135 | PACKAGE_EXTRA_ARCHS_tune-armv7afpthf = "${TUNE_PKGARCH_tune-armv7afpthf}" | 135 | PACKAGE_EXTRA_ARCHS:tune-armv7afpthf = "${TUNE_PKGARCH:tune-armv7afpthf}" |
136 | BASE_LIB_tune-armv7afpthf = "lib/thumb/v7-a+fp/hard" | 136 | BASE_LIB:tune-armv7afpthf = "lib/thumb/v7-a+fp/hard" |
137 | TUNE_FEATURES_tune-armv7afpthf = "arm" | 137 | TUNE_FEATURES:tune-armv7afpthf = "arm" |
138 | TUNE_CCARGS_tune-armv7afpthf = "-mthumb -march=armv7-a+fp -mfloat-abi=hard" | 138 | TUNE_CCARGS:tune-armv7afpthf = "-mthumb -march=armv7-a+fp -mfloat-abi=hard" |
139 | TUNE_PKGARCH_tune-armv7afpthf = "armv7afpthf" | 139 | TUNE_PKGARCH:tune-armv7afpthf = "armv7afpthf" |
140 | 140 | ||
141 | # thumb/v7-a+simd/softfp | 141 | # thumb/v7-a+simd/softfp |
142 | # CFLAGS: -mthumb -march=armv7-a+simd -mfloat-abi=softfp | 142 | # CFLAGS: -mthumb -march=armv7-a+simd -mfloat-abi=softfp |
143 | DEFAULTTUNE_virtclass-multilib-libv7asimdsoftfp = "armv7asimdsoftfp" | 143 | DEFAULTTUNE:virtclass-multilib-libv7asimdsoftfp = "armv7asimdsoftfp" |
144 | 144 | ||
145 | AVAILTUNES += "armv7asimdsoftfp" | 145 | AVAILTUNES += "armv7asimdsoftfp" |
146 | PACKAGE_EXTRA_ARCHS_tune-armv7asimdsoftfp = "${TUNE_PKGARCH_tune-armv7asimdsoftfp}" | 146 | PACKAGE_EXTRA_ARCHS:tune-armv7asimdsoftfp = "${TUNE_PKGARCH:tune-armv7asimdsoftfp}" |
147 | BASE_LIB_tune-armv7asimdsoftfp = "lib/thumb/v7-a+simd/softfp" | 147 | BASE_LIB:tune-armv7asimdsoftfp = "lib/thumb/v7-a+simd/softfp" |
148 | TUNE_FEATURES_tune-armv7asimdsoftfp = "arm" | 148 | TUNE_FEATURES:tune-armv7asimdsoftfp = "arm" |
149 | TUNE_CCARGS_tune-armv7asimdsoftfp = "-mthumb -march=armv7-a+simd -mfloat-abi=softfp" | 149 | TUNE_CCARGS:tune-armv7asimdsoftfp = "-mthumb -march=armv7-a+simd -mfloat-abi=softfp" |
150 | TUNE_PKGARCH_tune-armv7asimdsoftfp = "armv7asimdt" | 150 | TUNE_PKGARCH:tune-armv7asimdsoftfp = "armv7asimdt" |
151 | 151 | ||
152 | 152 | ||
153 | # thumb/v7-a+simd/hard | 153 | # thumb/v7-a+simd/hard |
154 | # CFLAGS: -mthumb -march=armv7-a+simd -mfloat-abi=hard | 154 | # CFLAGS: -mthumb -march=armv7-a+simd -mfloat-abi=hard |
155 | DEFAULTTUNE_virtclass-multilib-libv7asimdhard = "armv7asimdhard" | 155 | DEFAULTTUNE:virtclass-multilib-libv7asimdhard = "armv7asimdhard" |
156 | 156 | ||
157 | AVAILTUNES += "armv7asimdhard" | 157 | AVAILTUNES += "armv7asimdhard" |
158 | PACKAGE_EXTRA_ARCHS_tune-armv7asimdhard = "${TUNE_PKGARCH_tune-armv7asimdhard}" | 158 | PACKAGE_EXTRA_ARCHS:tune-armv7asimdhard = "${TUNE_PKGARCH:tune-armv7asimdhard}" |
159 | BASE_LIB_tune-armv7asimdhard = "lib/thumb/v7-a+simd/hard" | 159 | BASE_LIB:tune-armv7asimdhard = "lib/thumb/v7-a+simd/hard" |
160 | TUNE_FEATURES_tune-armv7asimdhard = "arm" | 160 | TUNE_FEATURES:tune-armv7asimdhard = "arm" |
161 | TUNE_CCARGS_tune-armv7asimdhard = "-mthumb -march=armv7-a+simd -mfloat-abi=hard" | 161 | TUNE_CCARGS:tune-armv7asimdhard = "-mthumb -march=armv7-a+simd -mfloat-abi=hard" |
162 | TUNE_PKGARCH_tune-armv7asimdhard = "armv7asimdthf" | 162 | TUNE_PKGARCH:tune-armv7asimdhard = "armv7asimdthf" |
163 | 163 | ||
164 | 164 | ||
165 | # thumb/v7ve+simd/softfp | 165 | # thumb/v7ve+simd/softfp |
166 | # CFLAGS: -mthumb -march=armv7ve+simd -mfloat-abi=softfp | 166 | # CFLAGS: -mthumb -march=armv7ve+simd -mfloat-abi=softfp |
167 | DEFAULTTUNE_virtclass-multilib-libv7vesimdsoftfp = "armv7vesimdsoftfp" | 167 | DEFAULTTUNE:virtclass-multilib-libv7vesimdsoftfp = "armv7vesimdsoftfp" |
168 | 168 | ||
169 | AVAILTUNES += "armv7vesimdsoftfp" | 169 | AVAILTUNES += "armv7vesimdsoftfp" |
170 | PACKAGE_EXTRA_ARCHS_tune-armv7vesimdsoftfp = "${TUNE_PKGARCH_tune-armv7vesimdsoftfp}" | 170 | PACKAGE_EXTRA_ARCHS:tune-armv7vesimdsoftfp = "${TUNE_PKGARCH:tune-armv7vesimdsoftfp}" |
171 | BASE_LIB_tune-armv7vesimdsoftfp = "lib/thumb/v7ve+simd/softfp" | 171 | BASE_LIB:tune-armv7vesimdsoftfp = "lib/thumb/v7ve+simd/softfp" |
172 | TUNE_FEATURES_tune-armv7vesimdsoftfp = "arm" | 172 | TUNE_FEATURES:tune-armv7vesimdsoftfp = "arm" |
173 | TUNE_CCARGS_tune-armv7vesimdsoftfp = "-mthumb -march=armv7ve+simd -mfloat-abi=softfp" | 173 | TUNE_CCARGS:tune-armv7vesimdsoftfp = "-mthumb -march=armv7ve+simd -mfloat-abi=softfp" |
174 | TUNE_PKGARCH_tune-armv7vesimdsoftfp = "armv7vesimdt" | 174 | TUNE_PKGARCH:tune-armv7vesimdsoftfp = "armv7vesimdt" |
175 | 175 | ||
176 | # thumb/v7ve+simd/hard | 176 | # thumb/v7ve+simd/hard |
177 | # CFLAGS: -mthumb -march=armv7ve+simd -mfloat-abi=hard | 177 | # CFLAGS: -mthumb -march=armv7ve+simd -mfloat-abi=hard |
178 | DEFAULTTUNE_virtclass-multilib-libvtvesimdhf = "armvtvesimdhf" | 178 | DEFAULTTUNE:virtclass-multilib-libvtvesimdhf = "armvtvesimdhf" |
179 | 179 | ||
180 | AVAILTUNES += "armvtvesimdhf" | 180 | AVAILTUNES += "armvtvesimdhf" |
181 | PACKAGE_EXTRA_ARCHS_tune-armvtvesimdhf = "${TUNE_PKGARCH_tune-armvtvesimdhf}" | 181 | PACKAGE_EXTRA_ARCHS:tune-armvtvesimdhf = "${TUNE_PKGARCH:tune-armvtvesimdhf}" |
182 | BASE_LIB_tune-armvtvesimdhf = "lib/thumb/v7ve+simd/hard" | 182 | BASE_LIB:tune-armvtvesimdhf = "lib/thumb/v7ve+simd/hard" |
183 | TUNE_FEATURES_tune-armvtvesimdhf = "arm" | 183 | TUNE_FEATURES:tune-armvtvesimdhf = "arm" |
184 | TUNE_CCARGS_tune-armvtvesimdhf = "-mthumb -march=armv7ve+simd -mfloat-abi=hard" | 184 | TUNE_CCARGS:tune-armvtvesimdhf = "-mthumb -march=armv7ve+simd -mfloat-abi=hard" |
185 | TUNE_PKGARCH_tune-armvtvesimdhf = "armv7vesimdthf" | 185 | TUNE_PKGARCH:tune-armvtvesimdhf = "armv7vesimdthf" |
186 | 186 | ||
187 | 187 | ||
188 | # thumb/v8-a/nofp | 188 | # thumb/v8-a/nofp |
189 | # CFLAGS: -mthumb -march=armv8-a -mfloat-abi=soft | 189 | # CFLAGS: -mthumb -march=armv8-a -mfloat-abi=soft |
190 | DEFAULTTUNE_virtclass-multilib-libv8anofp = "armv8anofp" | 190 | DEFAULTTUNE:virtclass-multilib-libv8anofp = "armv8anofp" |
191 | 191 | ||
192 | AVAILTUNES += "armv8anofp" | 192 | AVAILTUNES += "armv8anofp" |
193 | PACKAGE_EXTRA_ARCHS_tune-armv8anofp = "${TUNE_PKGARCH_tune-armv8anofp}" | 193 | PACKAGE_EXTRA_ARCHS:tune-armv8anofp = "${TUNE_PKGARCH:tune-armv8anofp}" |
194 | BASE_LIB_tune-armv8anofp = "lib/thumb/v8-a/nofp" | 194 | BASE_LIB:tune-armv8anofp = "lib/thumb/v8-a/nofp" |
195 | TUNE_FEATURES_tune-armv8anofp = "arm" | 195 | TUNE_FEATURES:tune-armv8anofp = "arm" |
196 | TUNE_CCARGS_tune-armv8anofp = "-mthumb -march=armv8-a -mfloat-abi=soft" | 196 | TUNE_CCARGS:tune-armv8anofp = "-mthumb -march=armv8-a -mfloat-abi=soft" |
197 | TUNE_PKGARCH_tune-armv8anofp = "armv8at" | 197 | TUNE_PKGARCH:tune-armv8anofp = "armv8at" |
198 | 198 | ||
199 | # thumb/v8-a+simd/softfp | 199 | # thumb/v8-a+simd/softfp |
200 | # CFLAGS: -mthumb -march=armv8-a+simd -mfloat-abi=softfp | 200 | # CFLAGS: -mthumb -march=armv8-a+simd -mfloat-abi=softfp |
201 | DEFAULTTUNE_virtclass-multilib-libv8asimdsoftfp = "armv8asimdsoftfp" | 201 | DEFAULTTUNE:virtclass-multilib-libv8asimdsoftfp = "armv8asimdsoftfp" |
202 | 202 | ||
203 | AVAILTUNES += "armv8asimdsoftfp" | 203 | AVAILTUNES += "armv8asimdsoftfp" |
204 | PACKAGE_EXTRA_ARCHS_tune-armv8asimdsoftfp = "${TUNE_PKGARCH_tune-armv8asimdsoftfp}" | 204 | PACKAGE_EXTRA_ARCHS:tune-armv8asimdsoftfp = "${TUNE_PKGARCH:tune-armv8asimdsoftfp}" |
205 | BASE_LIB_tune-armv8asimdsoftfp = "lib/thumb/v8-a+simd/softfp" | 205 | BASE_LIB:tune-armv8asimdsoftfp = "lib/thumb/v8-a+simd/softfp" |
206 | TUNE_FEATURES_tune-armv8asimdsoftfp = "arm" | 206 | TUNE_FEATURES:tune-armv8asimdsoftfp = "arm" |
207 | TUNE_CCARGS_tune-armv8asimdsoftfp = "-mthumb -march=armv8-a+simd -mfloat-abi=softfp" | 207 | TUNE_CCARGS:tune-armv8asimdsoftfp = "-mthumb -march=armv8-a+simd -mfloat-abi=softfp" |
208 | TUNE_PKGARCH_tune-armv8asimdsoftfp = "armv8asimdt" | 208 | TUNE_PKGARCH:tune-armv8asimdsoftfp = "armv8asimdt" |
209 | 209 | ||
210 | 210 | ||
211 | # thumb/v8-a+simd/hard | 211 | # thumb/v8-a+simd/hard |
212 | # CFLAGS: -mthumb -march=armv8-a+simd -mfloat-abi=hard | 212 | # CFLAGS: -mthumb -march=armv8-a+simd -mfloat-abi=hard |
213 | DEFAULTTUNE_virtclass-multilib-libv8asimdhard = "armv8asimdhard" | 213 | DEFAULTTUNE:virtclass-multilib-libv8asimdhard = "armv8asimdhard" |
214 | 214 | ||
215 | AVAILTUNES += "armv8asimdhard" | 215 | AVAILTUNES += "armv8asimdhard" |
216 | PACKAGE_EXTRA_ARCHS_tune-armv8asimdhard = "${TUNE_PKGARCH_tune-armv8asimdhard}" | 216 | PACKAGE_EXTRA_ARCHS:tune-armv8asimdhard = "${TUNE_PKGARCH:tune-armv8asimdhard}" |
217 | BASE_LIB_tune-armv8asimdhard = "lib/thumb/v8-a+simd/hard" | 217 | BASE_LIB:tune-armv8asimdhard = "lib/thumb/v8-a+simd/hard" |
218 | TUNE_FEATURES_tune-armv8asimdhard = "arm" | 218 | TUNE_FEATURES:tune-armv8asimdhard = "arm" |
219 | TUNE_CCARGS_tune-armv8asimdhard = "-mthumb -march=armv8-a+simd -mfloat-abi=hard" | 219 | TUNE_CCARGS:tune-armv8asimdhard = "-mthumb -march=armv8-a+simd -mfloat-abi=hard" |
220 | TUNE_PKGARCH_tune-armv8asimdhard = "armv8asimdthf" | 220 | TUNE_PKGARCH:tune-armv8asimdhard = "armv8asimdthf" |
diff --git a/meta-xilinx-standalone/conf/machine/aarch64-tc.conf b/meta-xilinx-standalone/conf/machine/aarch64-tc.conf index 08c2d1c6..38ac8291 100644 --- a/meta-xilinx-standalone/conf/machine/aarch64-tc.conf +++ b/meta-xilinx-standalone/conf/machine/aarch64-tc.conf | |||
@@ -20,10 +20,10 @@ MULTILIBS = "multilib:libilp32" | |||
20 | DEFAULTTUNE = "cortexa72-cortexa53" | 20 | DEFAULTTUNE = "cortexa72-cortexa53" |
21 | 21 | ||
22 | # CFLAGS: -mabi=ilp32 | 22 | # CFLAGS: -mabi=ilp32 |
23 | DEFAULTTUNE_virtclass-multilib-libilp32 = "cortexa72-cortexa53-ilp32" | 23 | DEFAULTTUNE:virtclass-multilib-libilp32 = "cortexa72-cortexa53-ilp32" |
24 | 24 | ||
25 | AVAILTUNES += "cortexa72-cortexa53-ilp32" | 25 | AVAILTUNES += "cortexa72-cortexa53-ilp32" |
26 | ARMPKGARCH_tune-cortexa72-cortexa53-ilp32 = "${ARMPKGARCH_tune-cortexa72-cortexa53}-ilp32" | 26 | ARMPKGARCH:tune-cortexa72-cortexa53-ilp32 = "${ARMPKGARCH:tune-cortexa72-cortexa53}-ilp32" |
27 | TUNE_FEATURES_tune-cortexa72-cortexa53-ilp32 = "${TUNE_FEATURES_tune-cortexa72-cortexa53} ilp32" | 27 | TUNE_FEATURES:tune-cortexa72-cortexa53-ilp32 = "${TUNE_FEATURES:tune-cortexa72-cortexa53} ilp32" |
28 | PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53-ilp32 = "${PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53} cortexa72-cortexa53-ilp32" | 28 | PACKAGE_EXTRA_ARCHS:tune-cortexa72-cortexa53-ilp32 = "${PACKAGE_EXTRA_ARCHS:tune-cortexa72-cortexa53} cortexa72-cortexa53-ilp32" |
29 | BASE_LIB_tune-cortexa72-cortexa53-ilp32 = "lib/ilp32" | 29 | BASE_LIB:tune-cortexa72-cortexa53-ilp32 = "lib/ilp32" |
diff --git a/meta-xilinx-standalone/conf/machine/arm-rm-tc.conf b/meta-xilinx-standalone/conf/machine/arm-rm-tc.conf index c1313339..d8e68e4f 100644 --- a/meta-xilinx-standalone/conf/machine/arm-rm-tc.conf +++ b/meta-xilinx-standalone/conf/machine/arm-rm-tc.conf | |||
@@ -16,249 +16,249 @@ MULTILIBS += "multilib:libv7emdphard" | |||
16 | MULTILIBS += "multilib:libv8mbasenofp" | 16 | MULTILIBS += "multilib:libv8mbasenofp" |
17 | MULTILIBS += "multilib:libv8mmainnofp multilib:libv8mmainfpsoftfp multilib:libv8mmainfphard multilib:libv8mmaindpsoftfp multilib:libv8mmaindphard" | 17 | MULTILIBS += "multilib:libv8mmainnofp multilib:libv8mmainfpsoftfp multilib:libv8mmainfphard multilib:libv8mmaindpsoftfp multilib:libv8mmaindphard" |
18 | 18 | ||
19 | TUNE_CCARGS = "${TUNE_CCARGS_tune-${DEFAULTTUNE}}" | 19 | TUNE_CCARGS = "${TUNE_CCARGS:tune-${DEFAULTTUNE}}" |
20 | TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}" | 20 | TUNE_PKGARCH = "${TUNE_PKGARCH:tune-${DEFAULTTUNE}}" |
21 | 21 | ||
22 | # Base configuration | 22 | # Base configuration |
23 | # CFLAGS: | 23 | # CFLAGS: |
24 | DEFAULTTUNE = "armrm" | 24 | DEFAULTTUNE = "armrm" |
25 | 25 | ||
26 | AVAILTUNES += "armrm" | 26 | AVAILTUNES += "armrm" |
27 | PACKAGE_EXTRA_ARCHS_tune-armrm = "${TUNE_PKGARCH_tune-armrm}" | 27 | PACKAGE_EXTRA_ARCHS:tune-armrm = "${TUNE_PKGARCH:tune-armrm}" |
28 | BASE_LIB_tune-armrm = "lib" | 28 | BASE_LIB:tune-armrm = "lib" |
29 | TUNE_FEATURES_tune-armrm = "arm armrm" | 29 | TUNE_FEATURES:tune-armrm = "arm armrm" |
30 | TUNE_CCARGS_tune-armrm = "" | 30 | TUNE_CCARGS:tune-armrm = "" |
31 | TUNE_PKGARCH_tune-armrm = "armrm" | 31 | TUNE_PKGARCH:tune-armrm = "armrm" |
32 | 32 | ||
33 | 33 | ||
34 | # arm/v5te/softfp | 34 | # arm/v5te/softfp |
35 | # CFLAGS: -marm -march=armv5te+fp -mfloat-abi=softfp | 35 | # CFLAGS: -marm -march=armv5te+fp -mfloat-abi=softfp |
36 | DEFAULTTUNE_virtclass-multilib-libarmv5tesoftfp = "armv5tesoftfp" | 36 | DEFAULTTUNE:virtclass-multilib-libarmv5tesoftfp = "armv5tesoftfp" |
37 | 37 | ||
38 | AVAILTUNES += "armv5tesoftfp" | 38 | AVAILTUNES += "armv5tesoftfp" |
39 | PACKAGE_EXTRA_ARCHS_tune-armv5tesoftfp = "${TUNE_PKGARCH_tune-armv5tesoftfp}" | 39 | PACKAGE_EXTRA_ARCHS:tune-armv5tesoftfp = "${TUNE_PKGARCH:tune-armv5tesoftfp}" |
40 | BASE_LIB_tune-armv5tesoftfp = "lib/arm/v5te/softfp" | 40 | BASE_LIB:tune-armv5tesoftfp = "lib/arm/v5te/softfp" |
41 | TUNE_FEATURES_tune-armv5tesoftfp = "arm armrm" | 41 | TUNE_FEATURES:tune-armv5tesoftfp = "arm armrm" |
42 | TUNE_CCARGS_tune-armv5tesoftfp = "-marm -march=armv5te+fp -mfloat-abi=softfp" | 42 | TUNE_CCARGS:tune-armv5tesoftfp = "-marm -march=armv5te+fp -mfloat-abi=softfp" |
43 | TUNE_PKGARCH_tune-armv5tesoftfp = "armv5tefp" | 43 | TUNE_PKGARCH:tune-armv5tesoftfp = "armv5tefp" |
44 | 44 | ||
45 | 45 | ||
46 | # arm/v5te/hard | 46 | # arm/v5te/hard |
47 | # CFLAGS: -marm -march=armv5te+fp -mfloat-abi=hard | 47 | # CFLAGS: -marm -march=armv5te+fp -mfloat-abi=hard |
48 | DEFAULTTUNE_virtclass-multilib-libarmv5tehard = "armv5tehard" | 48 | DEFAULTTUNE:virtclass-multilib-libarmv5tehard = "armv5tehard" |
49 | 49 | ||
50 | AVAILTUNES += "armv5tehard" | 50 | AVAILTUNES += "armv5tehard" |
51 | PACKAGE_EXTRA_ARCHS_tune-armv5tehard = "${TUNE_PKGARCH_tune-armv5tehard}" | 51 | PACKAGE_EXTRA_ARCHS:tune-armv5tehard = "${TUNE_PKGARCH:tune-armv5tehard}" |
52 | BASE_LIB_tune-armv5tehard = "lib/arm/v5te/hard" | 52 | BASE_LIB:tune-armv5tehard = "lib/arm/v5te/hard" |
53 | TUNE_FEATURES_tune-armv5tehard = "arm armrm" | 53 | TUNE_FEATURES:tune-armv5tehard = "arm armrm" |
54 | TUNE_CCARGS_tune-armv5tehard = "-marm -march=armv5te+fp -mfloat-abi=hard" | 54 | TUNE_CCARGS:tune-armv5tehard = "-marm -march=armv5te+fp -mfloat-abi=hard" |
55 | TUNE_PKGARCH_tune-armv5tehard = "armv5tefphf" | 55 | TUNE_PKGARCH:tune-armv5tehard = "armv5tefphf" |
56 | 56 | ||
57 | 57 | ||
58 | # thumb/nofp | 58 | # thumb/nofp |
59 | # CFLAGS: -mthumb -mfloat-abi=soft | 59 | # CFLAGS: -mthumb -mfloat-abi=soft |
60 | DEFAULTTUNE_virtclass-multilib-libnofp = "armnofp" | 60 | DEFAULTTUNE:virtclass-multilib-libnofp = "armnofp" |
61 | 61 | ||
62 | AVAILTUNES += "armnofp" | 62 | AVAILTUNES += "armnofp" |
63 | PACKAGE_EXTRA_ARCHS_tune-armnofp = "${TUNE_PKGARCH_tune-armnofp}" | 63 | PACKAGE_EXTRA_ARCHS:tune-armnofp = "${TUNE_PKGARCH:tune-armnofp}" |
64 | BASE_LIB_tune-armnofp = "lib/thumb/nofp" | 64 | BASE_LIB:tune-armnofp = "lib/thumb/nofp" |
65 | TUNE_FEATURES_tune-armnofp = "arm armrm" | 65 | TUNE_FEATURES:tune-armnofp = "arm armrm" |
66 | TUNE_CCARGS_tune-armnofp = "-mthumb -mfloat-abi=soft" | 66 | TUNE_CCARGS:tune-armnofp = "-mthumb -mfloat-abi=soft" |
67 | TUNE_PKGARCH_tune-armnofp = "armt" | 67 | TUNE_PKGARCH:tune-armnofp = "armt" |
68 | 68 | ||
69 | 69 | ||
70 | # thumb/v7/nofp | 70 | # thumb/v7/nofp |
71 | # CFLAGS: -mthumb -march=armv7 -mfloat-abi=soft | 71 | # CFLAGS: -mthumb -march=armv7 -mfloat-abi=soft |
72 | DEFAULTTUNE_virtclass-multilib-libv7nofp = "armv7nofp" | 72 | DEFAULTTUNE:virtclass-multilib-libv7nofp = "armv7nofp" |
73 | 73 | ||
74 | AVAILTUNES += "armv7nofp" | 74 | AVAILTUNES += "armv7nofp" |
75 | PACKAGE_EXTRA_ARCHS_tune-armv7nofp = "${TUNE_PKGARCH_tune-armv7nofp}" | 75 | PACKAGE_EXTRA_ARCHS:tune-armv7nofp = "${TUNE_PKGARCH:tune-armv7nofp}" |
76 | BASE_LIB_tune-armv7nofp = "lib/thumb/v7/nofp" | 76 | BASE_LIB:tune-armv7nofp = "lib/thumb/v7/nofp" |
77 | TUNE_FEATURES_tune-armv7nofp ="arm armrm" | 77 | TUNE_FEATURES:tune-armv7nofp ="arm armrm" |
78 | TUNE_CCARGS_tune-armv7nofp = "-mthumb -march=armv7 -mfloat-abi=soft" | 78 | TUNE_CCARGS:tune-armv7nofp = "-mthumb -march=armv7 -mfloat-abi=soft" |
79 | TUNE_PKGARCH_tune-armv7nofp = "armv7t" | 79 | TUNE_PKGARCH:tune-armv7nofp = "armv7t" |
80 | 80 | ||
81 | 81 | ||
82 | # thumb/v7+fp/softfp | 82 | # thumb/v7+fp/softfp |
83 | # CFLAGS: -mthumb -march=armv7+fp -mfloat-abi=softfp | 83 | # CFLAGS: -mthumb -march=armv7+fp -mfloat-abi=softfp |
84 | DEFAULTTUNE_virtclass-multilib-libv7fpsoftfp = "armv7fpsoftfp" | 84 | DEFAULTTUNE:virtclass-multilib-libv7fpsoftfp = "armv7fpsoftfp" |
85 | 85 | ||
86 | AVAILTUNES += "armv7fpsoftfp" | 86 | AVAILTUNES += "armv7fpsoftfp" |
87 | PACKAGE_EXTRA_ARCHS_tune-armv7fpsoftfp = "${TUNE_PKGARCH_tune-armv7fpsoftfp}" | 87 | PACKAGE_EXTRA_ARCHS:tune-armv7fpsoftfp = "${TUNE_PKGARCH:tune-armv7fpsoftfp}" |
88 | BASE_LIB_tune-armv7fpsoftfp = "lib/thumb/v7+fp/softfp" | 88 | BASE_LIB:tune-armv7fpsoftfp = "lib/thumb/v7+fp/softfp" |
89 | TUNE_FEATURES_tune-armv7fpsoftfp ="arm armrm" | 89 | TUNE_FEATURES:tune-armv7fpsoftfp ="arm armrm" |
90 | TUNE_CCARGS_tune-armv7fpsoftfp = "-mthumb -march=armv7+fp -mfloat-abi=softfp" | 90 | TUNE_CCARGS:tune-armv7fpsoftfp = "-mthumb -march=armv7+fp -mfloat-abi=softfp" |
91 | TUNE_PKGARCH_tune-armv7fpsoftfp = "armv7fpt" | 91 | TUNE_PKGARCH:tune-armv7fpsoftfp = "armv7fpt" |
92 | 92 | ||
93 | 93 | ||
94 | # thumb/v7+fp/hard | 94 | # thumb/v7+fp/hard |
95 | # CFLAGS: -mthumb -march=armv7+fp -mfloat-abi=hard | 95 | # CFLAGS: -mthumb -march=armv7+fp -mfloat-abi=hard |
96 | DEFAULTTUNE_virtclass-multilib-libv7fphard = "armv7fphard" | 96 | DEFAULTTUNE:virtclass-multilib-libv7fphard = "armv7fphard" |
97 | 97 | ||
98 | AVAILTUNES += "armv7fphard" | 98 | AVAILTUNES += "armv7fphard" |
99 | PACKAGE_EXTRA_ARCHS_tune-armv7fphard = "${TUNE_PKGARCH_tune-armv7fphard}" | 99 | PACKAGE_EXTRA_ARCHS:tune-armv7fphard = "${TUNE_PKGARCH:tune-armv7fphard}" |
100 | BASE_LIB_tune-armv7fphard = "lib/thumb/v7+fp/hard" | 100 | BASE_LIB:tune-armv7fphard = "lib/thumb/v7+fp/hard" |
101 | TUNE_FEATURES_tune-armv7fphard ="arm armrm" | 101 | TUNE_FEATURES:tune-armv7fphard ="arm armrm" |
102 | TUNE_CCARGS_tune-armv7fphard = "-mthumb -march=armv7+fp -mfloat-abi=hard" | 102 | TUNE_CCARGS:tune-armv7fphard = "-mthumb -march=armv7+fp -mfloat-abi=hard" |
103 | TUNE_PKGARCH_tune-armv7fphard = "armv7fpthf" | 103 | TUNE_PKGARCH:tune-armv7fphard = "armv7fpthf" |
104 | 104 | ||
105 | 105 | ||
106 | # thumb/v6-m/nofp | 106 | # thumb/v6-m/nofp |
107 | # CFLAGS: -mthumb -march=armv6s-m -mfloat-abi=soft | 107 | # CFLAGS: -mthumb -march=armv6s-m -mfloat-abi=soft |
108 | DEFAULTTUNE_virtclass-multilib-libv6mnofp = "armv6mnofp" | 108 | DEFAULTTUNE:virtclass-multilib-libv6mnofp = "armv6mnofp" |
109 | 109 | ||
110 | # Workaround for this multilib in newlib | 110 | # Workaround for this multilib in newlib |
111 | # newlib/libc/sys/arm/trap.S:88: Error: lo register required -- `sub ip,sp,ip | 111 | # newlib/libc/sys/arm/trap.S:88: Error: lo register required -- `sub ip,sp,ip |
112 | EXTRA_OECONF_append_pn-libv6mnofp-newlib = " --disable-newlib-supplied-syscalls" | 112 | EXTRA_OECONF:append:pn-libv6mnofp-newlib = " --disable-newlib-supplied-syscalls" |
113 | 113 | ||
114 | AVAILTUNES += "armv6mnofp" | 114 | AVAILTUNES += "armv6mnofp" |
115 | PACKAGE_EXTRA_ARCHS_tune-armv6mnofp = "${TUNE_PKGARCH_tune-armv6mnofp}" | 115 | PACKAGE_EXTRA_ARCHS:tune-armv6mnofp = "${TUNE_PKGARCH:tune-armv6mnofp}" |
116 | BASE_LIB_tune-armv6mnofp = "lib/thumb/v6-m/nofp" | 116 | BASE_LIB:tune-armv6mnofp = "lib/thumb/v6-m/nofp" |
117 | TUNE_FEATURES_tune-armv6mnofp ="arm armrm" | 117 | TUNE_FEATURES:tune-armv6mnofp ="arm armrm" |
118 | TUNE_CCARGS_tune-armv6mnofp = "-mthumb -march=armv6s-m -mfloat-abi=soft" | 118 | TUNE_CCARGS:tune-armv6mnofp = "-mthumb -march=armv6s-m -mfloat-abi=soft" |
119 | TUNE_PKGARCH_tune-armv6mnofp = "armv6smt" | 119 | TUNE_PKGARCH:tune-armv6mnofp = "armv6smt" |
120 | 120 | ||
121 | 121 | ||
122 | # thumb/v7-m/nofp | 122 | # thumb/v7-m/nofp |
123 | # CFLAGS: -mthumb -march=armv7-m -mfloat-abi=soft | 123 | # CFLAGS: -mthumb -march=armv7-m -mfloat-abi=soft |
124 | DEFAULTTUNE_virtclass-multilib-libv7mnofp = "armv7mnofp" | 124 | DEFAULTTUNE:virtclass-multilib-libv7mnofp = "armv7mnofp" |
125 | 125 | ||
126 | AVAILTUNES += "armv7mnofp" | 126 | AVAILTUNES += "armv7mnofp" |
127 | PACKAGE_EXTRA_ARCHS_tune-armv7mnofp = "${TUNE_PKGARCH_tune-armv7mnofp}" | 127 | PACKAGE_EXTRA_ARCHS:tune-armv7mnofp = "${TUNE_PKGARCH:tune-armv7mnofp}" |
128 | BASE_LIB_tune-armv7mnofp = "lib/thumb/v7-m/nofp" | 128 | BASE_LIB:tune-armv7mnofp = "lib/thumb/v7-m/nofp" |
129 | TUNE_FEATURES_tune-armv7mnofp ="arm armrm" | 129 | TUNE_FEATURES:tune-armv7mnofp ="arm armrm" |
130 | TUNE_CCARGS_tune-armv7mnofp = "-mthumb -march=armv7-m -mfloat-abi=soft" | 130 | TUNE_CCARGS:tune-armv7mnofp = "-mthumb -march=armv7-m -mfloat-abi=soft" |
131 | TUNE_PKGARCH_tune-armv7mnofp = "armv7mt" | 131 | TUNE_PKGARCH:tune-armv7mnofp = "armv7mt" |
132 | 132 | ||
133 | 133 | ||
134 | # thumb/v7e-m/nofp | 134 | # thumb/v7e-m/nofp |
135 | # CFLAGS: -mthumb -march=armv7e-m -mfloat-abi=soft | 135 | # CFLAGS: -mthumb -march=armv7e-m -mfloat-abi=soft |
136 | DEFAULTTUNE_virtclass-multilib-libv7emnofp = "armv7emnofp" | 136 | DEFAULTTUNE:virtclass-multilib-libv7emnofp = "armv7emnofp" |
137 | 137 | ||
138 | AVAILTUNES += "armv7emnofp" | 138 | AVAILTUNES += "armv7emnofp" |
139 | PACKAGE_EXTRA_ARCHS_tune-armv7emnofp = "${TUNE_PKGARCH_tune-armv7emnofp}" | 139 | PACKAGE_EXTRA_ARCHS:tune-armv7emnofp = "${TUNE_PKGARCH:tune-armv7emnofp}" |
140 | BASE_LIB_tune-armv7emnofp = "lib/thumb/v7e-m/nofp" | 140 | BASE_LIB:tune-armv7emnofp = "lib/thumb/v7e-m/nofp" |
141 | TUNE_FEATURES_tune-armv7emnofp ="arm armrm" | 141 | TUNE_FEATURES:tune-armv7emnofp ="arm armrm" |
142 | TUNE_CCARGS_tune-armv7emnofp = "-mthumb -march=armv7e-m -mfloat-abi=soft" | 142 | TUNE_CCARGS:tune-armv7emnofp = "-mthumb -march=armv7e-m -mfloat-abi=soft" |
143 | TUNE_PKGARCH_tune-armv7emnofp = "armv7emt" | 143 | TUNE_PKGARCH:tune-armv7emnofp = "armv7emt" |
144 | 144 | ||
145 | 145 | ||
146 | # thumb/v7e-m+fp/softfp | 146 | # thumb/v7e-m+fp/softfp |
147 | # CFLAGS: -mthumb -march=armv7e-m+fp -mfloat-abi=softfp | 147 | # CFLAGS: -mthumb -march=armv7e-m+fp -mfloat-abi=softfp |
148 | DEFAULTTUNE_virtclass-multilib-libv7emfpsoftfp = "armv7emfpsoftfp" | 148 | DEFAULTTUNE:virtclass-multilib-libv7emfpsoftfp = "armv7emfpsoftfp" |
149 | 149 | ||
150 | AVAILTUNES += "armv7emfpsoftfp" | 150 | AVAILTUNES += "armv7emfpsoftfp" |
151 | PACKAGE_EXTRA_ARCHS_tune-armv7emfpsoftfp = "${TUNE_PKGARCH_tune-armv7emfpsoftfp}" | 151 | PACKAGE_EXTRA_ARCHS:tune-armv7emfpsoftfp = "${TUNE_PKGARCH:tune-armv7emfpsoftfp}" |
152 | BASE_LIB_tune-armv7emfpsoftfp = "lib/thumb/v7e-m+fp/softfp" | 152 | BASE_LIB:tune-armv7emfpsoftfp = "lib/thumb/v7e-m+fp/softfp" |
153 | TUNE_FEATURES_tune-armv7emfpsoftfp ="arm armrm" | 153 | TUNE_FEATURES:tune-armv7emfpsoftfp ="arm armrm" |
154 | TUNE_CCARGS_tune-armv7emfpsoftfp = "-mthumb -march=armv7e-m+fp -mfloat-abi=softfp" | 154 | TUNE_CCARGS:tune-armv7emfpsoftfp = "-mthumb -march=armv7e-m+fp -mfloat-abi=softfp" |
155 | TUNE_PKGARCH_tune-armv7emfpsoftfp = "armv7emfpt" | 155 | TUNE_PKGARCH:tune-armv7emfpsoftfp = "armv7emfpt" |
156 | 156 | ||
157 | 157 | ||
158 | # thumb/v7e-m+fp/hard | 158 | # thumb/v7e-m+fp/hard |
159 | # CFLAGS: -mthumb -march=armv7e-m+fp -mfloat-abi=hard | 159 | # CFLAGS: -mthumb -march=armv7e-m+fp -mfloat-abi=hard |
160 | DEFAULTTUNE_virtclass-multilib-libv7emfphard = "armv7emfphard" | 160 | DEFAULTTUNE:virtclass-multilib-libv7emfphard = "armv7emfphard" |
161 | 161 | ||
162 | AVAILTUNES += "armv7emfphard" | 162 | AVAILTUNES += "armv7emfphard" |
163 | PACKAGE_EXTRA_ARCHS_tune-armv7emfphard = "${TUNE_PKGARCH_tune-armv7emfphard}" | 163 | PACKAGE_EXTRA_ARCHS:tune-armv7emfphard = "${TUNE_PKGARCH:tune-armv7emfphard}" |
164 | BASE_LIB_tune-armv7emfphard = "lib/thumb/v7e-m+fp/hard" | 164 | BASE_LIB:tune-armv7emfphard = "lib/thumb/v7e-m+fp/hard" |
165 | TUNE_FEATURES_tune-armv7emfphard ="arm armrm" | 165 | TUNE_FEATURES:tune-armv7emfphard ="arm armrm" |
166 | TUNE_CCARGS_tune-armv7emfphard = "-mthumb -march=armv7e-m+fp -mfloat-abi=hard" | 166 | TUNE_CCARGS:tune-armv7emfphard = "-mthumb -march=armv7e-m+fp -mfloat-abi=hard" |
167 | TUNE_PKGARCH_tune-armv7emfphard = "armv7emfpthf" | 167 | TUNE_PKGARCH:tune-armv7emfphard = "armv7emfpthf" |
168 | 168 | ||
169 | 169 | ||
170 | # thumb/v7e-m+dp/softfp | 170 | # thumb/v7e-m+dp/softfp |
171 | # CFLAGS: -mthumb -march=armv7e-m+fp.dp -mfloat-abi=softfp | 171 | # CFLAGS: -mthumb -march=armv7e-m+fp.dp -mfloat-abi=softfp |
172 | DEFAULTTUNE_virtclass-multilib-libv7emdpsoftfp = "armv7emdpsoftfp" | 172 | DEFAULTTUNE:virtclass-multilib-libv7emdpsoftfp = "armv7emdpsoftfp" |
173 | 173 | ||
174 | AVAILTUNES += "armv7emdpsoftfp" | 174 | AVAILTUNES += "armv7emdpsoftfp" |
175 | PACKAGE_EXTRA_ARCHS_tune-armv7emdpsoftfp = "${TUNE_PKGARCH_tune-armv7emdpsoftfp}" | 175 | PACKAGE_EXTRA_ARCHS:tune-armv7emdpsoftfp = "${TUNE_PKGARCH:tune-armv7emdpsoftfp}" |
176 | BASE_LIB_tune-armv7emdpsoftfp = "lib/thumb/v7e-m+dp/softfp" | 176 | BASE_LIB:tune-armv7emdpsoftfp = "lib/thumb/v7e-m+dp/softfp" |
177 | TUNE_FEATURES_tune-armv7emdpsoftfp ="arm armrm" | 177 | TUNE_FEATURES:tune-armv7emdpsoftfp ="arm armrm" |
178 | TUNE_CCARGS_tune-armv7emdpsoftfp = "-mthumb -march=armv7e-m+fp.dp -mfloat-abi=softfp" | 178 | TUNE_CCARGS:tune-armv7emdpsoftfp = "-mthumb -march=armv7e-m+fp.dp -mfloat-abi=softfp" |
179 | TUNE_PKGARCH_tune-armv7emdpsoftfp = "armv7emdp" | 179 | TUNE_PKGARCH:tune-armv7emdpsoftfp = "armv7emdp" |
180 | 180 | ||
181 | # thumb/v7e-m+dp/hard | 181 | # thumb/v7e-m+dp/hard |
182 | # CFLAGS: -mthumb -march=armv7e-m+fp.dp -mfloat-abi=hard | 182 | # CFLAGS: -mthumb -march=armv7e-m+fp.dp -mfloat-abi=hard |
183 | DEFAULTTUNE_virtclass-multilib-libv7emdphard = "armv7emdphard" | 183 | DEFAULTTUNE:virtclass-multilib-libv7emdphard = "armv7emdphard" |
184 | 184 | ||
185 | AVAILTUNES += "armv7emdphard" | 185 | AVAILTUNES += "armv7emdphard" |
186 | PACKAGE_EXTRA_ARCHS_tune-armv7emdphard = "${TUNE_PKGARCH_tune-armv7emdphard}" | 186 | PACKAGE_EXTRA_ARCHS:tune-armv7emdphard = "${TUNE_PKGARCH:tune-armv7emdphard}" |
187 | BASE_LIB_tune-armv7emdphard = "lib/thumb/v7e-m+dp/hard" | 187 | BASE_LIB:tune-armv7emdphard = "lib/thumb/v7e-m+dp/hard" |
188 | TUNE_FEATURES_tune-armv7emdphard ="arm armrm" | 188 | TUNE_FEATURES:tune-armv7emdphard ="arm armrm" |
189 | TUNE_CCARGS_tune-armv7emdphard = "-mthumb -march=armv7e-m+fp.dp -mfloat-abi=hard" | 189 | TUNE_CCARGS:tune-armv7emdphard = "-mthumb -march=armv7e-m+fp.dp -mfloat-abi=hard" |
190 | TUNE_PKGARCH_tune-armv7emdphard = "armv7emdpthf" | 190 | TUNE_PKGARCH:tune-armv7emdphard = "armv7emdpthf" |
191 | 191 | ||
192 | 192 | ||
193 | # thumb/v8-m.base/nofp | 193 | # thumb/v8-m.base/nofp |
194 | # CFLAGS: -mthumb -march=armv8-m.base -mfloat-abi=soft | 194 | # CFLAGS: -mthumb -march=armv8-m.base -mfloat-abi=soft |
195 | DEFAULTTUNE_virtclass-multilib-libv8mbasenofp = "armv8mbasenofp" | 195 | DEFAULTTUNE:virtclass-multilib-libv8mbasenofp = "armv8mbasenofp" |
196 | 196 | ||
197 | # Workaround for this multilib in newlib | 197 | # Workaround for this multilib in newlib |
198 | # newlib/libc/sys/arm/trap.S:88: Error: lo register required -- `sub ip,sp,ip' | 198 | # newlib/libc/sys/arm/trap.S:88: Error: lo register required -- `sub ip,sp,ip' |
199 | EXTRA_OECONF_append_pn-libv8mbasenofp-newlib = " --disable-newlib-supplied-syscalls" | 199 | EXTRA_OECONF:append:pn-libv8mbasenofp-newlib = " --disable-newlib-supplied-syscalls" |
200 | 200 | ||
201 | AVAILTUNES += "armv8mbasenofp" | 201 | AVAILTUNES += "armv8mbasenofp" |
202 | PACKAGE_EXTRA_ARCHS_tune-armv8mbasenofp = "${TUNE_PKGARCH_tune-armv8mbasenofp}" | 202 | PACKAGE_EXTRA_ARCHS:tune-armv8mbasenofp = "${TUNE_PKGARCH:tune-armv8mbasenofp}" |
203 | BASE_LIB_tune-armv8mbasenofp = "lib/thumb/v8-m.base/nofp" | 203 | BASE_LIB:tune-armv8mbasenofp = "lib/thumb/v8-m.base/nofp" |
204 | TUNE_FEATURES_tune-armv8mbasenofp ="arm armrm" | 204 | TUNE_FEATURES:tune-armv8mbasenofp ="arm armrm" |
205 | TUNE_CCARGS_tune-armv8mbasenofp = "-mthumb -march=armv8-m.base -mfloat-abi=soft" | 205 | TUNE_CCARGS:tune-armv8mbasenofp = "-mthumb -march=armv8-m.base -mfloat-abi=soft" |
206 | TUNE_PKGARCH_tune-armv8mbasenofp = "armv8mbaset" | 206 | TUNE_PKGARCH:tune-armv8mbasenofp = "armv8mbaset" |
207 | 207 | ||
208 | # thumb/v8-m.main/nofp | 208 | # thumb/v8-m.main/nofp |
209 | # CFLAGS: -mthumb -march=armv8-m.main -mfloat-abi=soft | 209 | # CFLAGS: -mthumb -march=armv8-m.main -mfloat-abi=soft |
210 | DEFAULTTUNE_virtclass-multilib-libv8mmainnofp = "armv8mmainnofp" | 210 | DEFAULTTUNE:virtclass-multilib-libv8mmainnofp = "armv8mmainnofp" |
211 | 211 | ||
212 | AVAILTUNES += "armv8mmainnofp" | 212 | AVAILTUNES += "armv8mmainnofp" |
213 | PACKAGE_EXTRA_ARCHS_tune-armv8mmainnofp = "${TUNE_PKGARCH_tune-armv8mmainnofp}" | 213 | PACKAGE_EXTRA_ARCHS:tune-armv8mmainnofp = "${TUNE_PKGARCH:tune-armv8mmainnofp}" |
214 | BASE_LIB_tune-armv8mmainnofp = "lib/thumb/v8-m.main/nofp" | 214 | BASE_LIB:tune-armv8mmainnofp = "lib/thumb/v8-m.main/nofp" |
215 | TUNE_FEATURES_tune-armv8mmainnofp ="arm armrm" | 215 | TUNE_FEATURES:tune-armv8mmainnofp ="arm armrm" |
216 | TUNE_CCARGS_tune-armv8mmainnofp = "-mthumb -march=armv8-m.main -mfloat-abi=soft" | 216 | TUNE_CCARGS:tune-armv8mmainnofp = "-mthumb -march=armv8-m.main -mfloat-abi=soft" |
217 | TUNE_PKGARCH_tune-armv8mmainnofp = "armv8mmaint" | 217 | TUNE_PKGARCH:tune-armv8mmainnofp = "armv8mmaint" |
218 | 218 | ||
219 | 219 | ||
220 | # thumb/v8-m.main+fp/softfp | 220 | # thumb/v8-m.main+fp/softfp |
221 | # CFLAGS: -mthumb -march=armv8-m.main+fp -mfloat-abi=softfp | 221 | # CFLAGS: -mthumb -march=armv8-m.main+fp -mfloat-abi=softfp |
222 | DEFAULTTUNE_virtclass-multilib-libv8mmainfpsoftfp = "armv8mmainfpsoftfp" | 222 | DEFAULTTUNE:virtclass-multilib-libv8mmainfpsoftfp = "armv8mmainfpsoftfp" |
223 | 223 | ||
224 | AVAILTUNES += "armv8mmainfpsoftfp" | 224 | AVAILTUNES += "armv8mmainfpsoftfp" |
225 | PACKAGE_EXTRA_ARCHS_tune-armv8mmainfpsoftfp = "${TUNE_PKGARCH_tune-armv8mmainfpsoftfp}" | 225 | PACKAGE_EXTRA_ARCHS:tune-armv8mmainfpsoftfp = "${TUNE_PKGARCH:tune-armv8mmainfpsoftfp}" |
226 | BASE_LIB_tune-armv8mmainfpsoftfp = "lib/thumb/v8-m.main+fp/softfp" | 226 | BASE_LIB:tune-armv8mmainfpsoftfp = "lib/thumb/v8-m.main+fp/softfp" |
227 | TUNE_FEATURES_tune-armv8mmainfpsoftfp ="arm armrm" | 227 | TUNE_FEATURES:tune-armv8mmainfpsoftfp ="arm armrm" |
228 | TUNE_CCARGS_tune-armv8mmainfpsoftfp = "-mthumb -march=armv8-m.main+fp -mfloat-abi=softfp" | 228 | TUNE_CCARGS:tune-armv8mmainfpsoftfp = "-mthumb -march=armv8-m.main+fp -mfloat-abi=softfp" |
229 | TUNE_PKGARCH_tune-armv8mmainfpsoftfp = "armv8mmainfpt" | 229 | TUNE_PKGARCH:tune-armv8mmainfpsoftfp = "armv8mmainfpt" |
230 | 230 | ||
231 | # thumb/v8-m.main+fp/hard | 231 | # thumb/v8-m.main+fp/hard |
232 | # CFLAGS: -mthumb -march=armv8-m.main+fp -mfloat-abi=hard | 232 | # CFLAGS: -mthumb -march=armv8-m.main+fp -mfloat-abi=hard |
233 | DEFAULTTUNE_virtclass-multilib-libv8mmainfphard = "armv8mmainfphard" | 233 | DEFAULTTUNE:virtclass-multilib-libv8mmainfphard = "armv8mmainfphard" |
234 | 234 | ||
235 | AVAILTUNES += "armv8mmainfphard" | 235 | AVAILTUNES += "armv8mmainfphard" |
236 | PACKAGE_EXTRA_ARCHS_tune-armv8mmainfphard = "${TUNE_PKGARCH_tune-armv8mmainfphard}" | 236 | PACKAGE_EXTRA_ARCHS:tune-armv8mmainfphard = "${TUNE_PKGARCH:tune-armv8mmainfphard}" |
237 | BASE_LIB_tune-armv8mmainfphard = "lib/thumb/v8-m.main+fp/hard" | 237 | BASE_LIB:tune-armv8mmainfphard = "lib/thumb/v8-m.main+fp/hard" |
238 | TUNE_FEATURES_tune-armv8mmainfphard ="arm armrm" | 238 | TUNE_FEATURES:tune-armv8mmainfphard ="arm armrm" |
239 | TUNE_CCARGS_tune-armv8mmainfphard = "-mthumb -march=armv8-m.main+fp -mfloat-abi=hard" | 239 | TUNE_CCARGS:tune-armv8mmainfphard = "-mthumb -march=armv8-m.main+fp -mfloat-abi=hard" |
240 | TUNE_PKGARCH_tune-armv8mmainfphard = "armv8mmainfpthf" | 240 | TUNE_PKGARCH:tune-armv8mmainfphard = "armv8mmainfpthf" |
241 | 241 | ||
242 | 242 | ||
243 | # thumb/v8-m.main+dp/softfp | 243 | # thumb/v8-m.main+dp/softfp |
244 | # CFLAGS: -mthumb -march=armv8-m.main+fp.dp -mfloat-abi=softfp | 244 | # CFLAGS: -mthumb -march=armv8-m.main+fp.dp -mfloat-abi=softfp |
245 | DEFAULTTUNE_virtclass-multilib-libv8mmaindpsoftfp = "armv8mmaindpsoftfp" | 245 | DEFAULTTUNE:virtclass-multilib-libv8mmaindpsoftfp = "armv8mmaindpsoftfp" |
246 | 246 | ||
247 | AVAILTUNES += "armv8mmaindpsoftfp" | 247 | AVAILTUNES += "armv8mmaindpsoftfp" |
248 | PACKAGE_EXTRA_ARCHS_tune-armv8mmaindpsoftfp = "${TUNE_PKGARCH_tune-armv8mmaindpsoftfp}" | 248 | PACKAGE_EXTRA_ARCHS:tune-armv8mmaindpsoftfp = "${TUNE_PKGARCH:tune-armv8mmaindpsoftfp}" |
249 | BASE_LIB_tune-armv8mmaindpsoftfp = "lib/thumb/v8-m.main+dp/softfp" | 249 | BASE_LIB:tune-armv8mmaindpsoftfp = "lib/thumb/v8-m.main+dp/softfp" |
250 | TUNE_FEATURES_tune-armv8mmaindpsoftfp ="arm armrm" | 250 | TUNE_FEATURES:tune-armv8mmaindpsoftfp ="arm armrm" |
251 | TUNE_CCARGS_tune-armv8mmaindpsoftfp = "-mthumb -march=armv8-m.main+fp.dp -mfloat-abi=softfp" | 251 | TUNE_CCARGS:tune-armv8mmaindpsoftfp = "-mthumb -march=armv8-m.main+fp.dp -mfloat-abi=softfp" |
252 | TUNE_PKGARCH_tune-armv8mmaindpsoftfp = "armv8mmainfpdpt" | 252 | TUNE_PKGARCH:tune-armv8mmaindpsoftfp = "armv8mmainfpdpt" |
253 | 253 | ||
254 | 254 | ||
255 | # thumb/v8-m.main+dp/hard | 255 | # thumb/v8-m.main+dp/hard |
256 | # CFLAGS: -mthumb -march=armv8-m.main+fp.dp -mfloat-abi=hard | 256 | # CFLAGS: -mthumb -march=armv8-m.main+fp.dp -mfloat-abi=hard |
257 | DEFAULTTUNE_virtclass-multilib-libv8mmaindphard = "armv8mmaindphard" | 257 | DEFAULTTUNE:virtclass-multilib-libv8mmaindphard = "armv8mmaindphard" |
258 | 258 | ||
259 | AVAILTUNES += "armv8mmaindphard" | 259 | AVAILTUNES += "armv8mmaindphard" |
260 | PACKAGE_EXTRA_ARCHS_tune-armv8mmaindphard = "${TUNE_PKGARCH_tune-armv8mmaindphard}" | 260 | PACKAGE_EXTRA_ARCHS:tune-armv8mmaindphard = "${TUNE_PKGARCH:tune-armv8mmaindphard}" |
261 | BASE_LIB_tune-armv8mmaindphard = "lib/thumb/v8-m.main+dp/hard" | 261 | BASE_LIB:tune-armv8mmaindphard = "lib/thumb/v8-m.main+dp/hard" |
262 | TUNE_FEATURES_tune-armv8mmaindphard ="arm armrm" | 262 | TUNE_FEATURES:tune-armv8mmaindphard ="arm armrm" |
263 | TUNE_CCARGS_tune-armv8mmaindphard = "-mthumb -march=armv8-m.main+fp.dp -mfloat-abi=hard" | 263 | TUNE_CCARGS:tune-armv8mmaindphard = "-mthumb -march=armv8-m.main+fp.dp -mfloat-abi=hard" |
264 | TUNE_PKGARCH_tune-armv8mmaindphard = "armv8mmainfpdpthf" | 264 | TUNE_PKGARCH:tune-armv8mmaindphard = "armv8mmainfpdpthf" |
diff --git a/meta-xilinx-standalone/conf/machine/microblaze-tc.conf b/meta-xilinx-standalone/conf/machine/microblaze-tc.conf index bc80ad75..372a8fba 100644 --- a/meta-xilinx-standalone/conf/machine/microblaze-tc.conf +++ b/meta-xilinx-standalone/conf/machine/microblaze-tc.conf | |||
@@ -7,7 +7,7 @@ INHERIT += "xlnx-standalone" | |||
7 | PACKAGEQA_EXTRA_MACHDEFFUNCS .= '${@bb.utils.contains("TUNE_FEATURES", "64-bit", " xlnx_mb64_dict", "", d)}' | 7 | PACKAGEQA_EXTRA_MACHDEFFUNCS .= '${@bb.utils.contains("TUNE_FEATURES", "64-bit", " xlnx_mb64_dict", "", d)}' |
8 | 8 | ||
9 | # GNU hash style not supported | 9 | # GNU hash style not supported |
10 | LINKER_HASH_STYLE_microblaze = "" | 10 | LINKER_HASH_STYLE:microblaze = "" |
11 | 11 | ||
12 | # Define all of the multilibs supproted by this configuration | 12 | # Define all of the multilibs supproted by this configuration |
13 | MULTILIB_GLOBAL_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}" | 13 | MULTILIB_GLOBAL_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}" |
@@ -66,476 +66,476 @@ MULTILIBS += "multilib:libmblem64bspmfpd" | |||
66 | DEFAULTTUNE = "microblaze" | 66 | DEFAULTTUNE = "microblaze" |
67 | 67 | ||
68 | AVAILTUNES += "microblaze" | 68 | AVAILTUNES += "microblaze" |
69 | BASE_LIB_tune-microblaze = "lib" | 69 | BASE_LIB:tune-microblaze = "lib" |
70 | TUNE_FEATURES_tune-microblaze = "microblaze bigendian" | 70 | TUNE_FEATURES:tune-microblaze = "microblaze bigendian" |
71 | PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" | 71 | PACKAGE_EXTRA_ARCHS:tune-microblaze = "${TUNE_PKGARCH}" |
72 | 72 | ||
73 | 73 | ||
74 | # le | 74 | # le |
75 | # CFLAGS: -mlittle-endian | 75 | # CFLAGS: -mlittle-endian |
76 | DEFAULTTUNE_virtclass-multilib-libmble = "microblazele" | 76 | DEFAULTTUNE:virtclass-multilib-libmble = "microblazele" |
77 | 77 | ||
78 | AVAILTUNES += "microblazele" | 78 | AVAILTUNES += "microblazele" |
79 | BASE_LIB_tune-microblazele = "lib/le" | 79 | BASE_LIB:tune-microblazele = "lib/le" |
80 | TUNE_FEATURES_tune-microblazele = "microblaze" | 80 | TUNE_FEATURES:tune-microblazele = "microblaze" |
81 | PACKAGE_EXTRA_ARCHS_tune-microblazele = "${TUNE_PKGARCH}" | 81 | PACKAGE_EXTRA_ARCHS:tune-microblazele = "${TUNE_PKGARCH}" |
82 | 82 | ||
83 | 83 | ||
84 | # bs | 84 | # bs |
85 | # CFLAGS: -mxl-barrel-shift | 85 | # CFLAGS: -mxl-barrel-shift |
86 | DEFAULTTUNE_virtclass-multilib-libmbbs = "microblazebs" | 86 | DEFAULTTUNE:virtclass-multilib-libmbbs = "microblazebs" |
87 | 87 | ||
88 | AVAILTUNES += "microblazebs" | 88 | AVAILTUNES += "microblazebs" |
89 | BASE_LIB_tune-microblazebs = "lib/bs" | 89 | BASE_LIB:tune-microblazebs = "lib/bs" |
90 | TUNE_FEATURES_tune-microblazebs = "microblaze bigendian barrel-shift" | 90 | TUNE_FEATURES:tune-microblazebs = "microblaze bigendian barrel-shift" |
91 | PACKAGE_EXTRA_ARCHS_tune-microblazebs = "${TUNE_PKGARCH}" | 91 | PACKAGE_EXTRA_ARCHS:tune-microblazebs = "${TUNE_PKGARCH}" |
92 | 92 | ||
93 | 93 | ||
94 | # p | 94 | # p |
95 | # CFLAGS: -mxl-pattern-compare | 95 | # CFLAGS: -mxl-pattern-compare |
96 | DEFAULTTUNE_virtclass-multilib-libmbp = "microblazep" | 96 | DEFAULTTUNE:virtclass-multilib-libmbp = "microblazep" |
97 | 97 | ||
98 | AVAILTUNES += "microblazep" | 98 | AVAILTUNES += "microblazep" |
99 | BASE_LIB_tune-microblazep = "lib/p" | 99 | BASE_LIB:tune-microblazep = "lib/p" |
100 | TUNE_FEATURES_tune-microblazep = "microblaze bigendian pattern-compare" | 100 | TUNE_FEATURES:tune-microblazep = "microblaze bigendian pattern-compare" |
101 | PACKAGE_EXTRA_ARCHS_tune-microblazep = "${TUNE_PKGARCH}" | 101 | PACKAGE_EXTRA_ARCHS:tune-microblazep = "${TUNE_PKGARCH}" |
102 | 102 | ||
103 | 103 | ||
104 | # m | 104 | # m |
105 | # CFLAGS: -mno-xl-soft-mul | 105 | # CFLAGS: -mno-xl-soft-mul |
106 | DEFAULTTUNE_virtclass-multilib-libmbm = "microblazem" | 106 | DEFAULTTUNE:virtclass-multilib-libmbm = "microblazem" |
107 | 107 | ||
108 | AVAILTUNES += "microblazem" | 108 | AVAILTUNES += "microblazem" |
109 | BASE_LIB_tune-microblazem = "lib/m" | 109 | BASE_LIB:tune-microblazem = "lib/m" |
110 | TUNE_FEATURES_tune-microblazem = "microblaze bigendian multiply-low" | 110 | TUNE_FEATURES:tune-microblazem = "microblaze bigendian multiply-low" |
111 | PACKAGE_EXTRA_ARCHS_tune-microblazem = "${TUNE_PKGARCH}" | 111 | PACKAGE_EXTRA_ARCHS:tune-microblazem = "${TUNE_PKGARCH}" |
112 | 112 | ||
113 | 113 | ||
114 | # fpd | 114 | # fpd |
115 | # CFLAGS: -mhard-float | 115 | # CFLAGS: -mhard-float |
116 | DEFAULTTUNE_virtclass-multilib-libmbfpd = "microblazefpd" | 116 | DEFAULTTUNE:virtclass-multilib-libmbfpd = "microblazefpd" |
117 | 117 | ||
118 | AVAILTUNES += "microblazefpd" | 118 | AVAILTUNES += "microblazefpd" |
119 | BASE_LIB_tune-microblazefpd = "lib/fpd" | 119 | BASE_LIB:tune-microblazefpd = "lib/fpd" |
120 | TUNE_FEATURES_tune-microblazefpd = "microblaze bigendian fpu-hard" | 120 | TUNE_FEATURES:tune-microblazefpd = "microblaze bigendian fpu-hard" |
121 | PACKAGE_EXTRA_ARCHS_tune-microblazefpd = "${TUNE_PKGARCH}" | 121 | PACKAGE_EXTRA_ARCHS:tune-microblazefpd = "${TUNE_PKGARCH}" |
122 | 122 | ||
123 | 123 | ||
124 | # m/fpd | 124 | # m/fpd |
125 | # CFLAGS: -mno-xl-soft-mul -mhard-float | 125 | # CFLAGS: -mno-xl-soft-mul -mhard-float |
126 | DEFAULTTUNE_virtclass-multilib-libmbmfpd = "microblazemfpd" | 126 | DEFAULTTUNE:virtclass-multilib-libmbmfpd = "microblazemfpd" |
127 | 127 | ||
128 | AVAILTUNES += "microblazemfpd" | 128 | AVAILTUNES += "microblazemfpd" |
129 | BASE_LIB_tune-microblazemfpd = "lib/m/fpd" | 129 | BASE_LIB:tune-microblazemfpd = "lib/m/fpd" |
130 | TUNE_FEATURES_tune-microblazemfpd = "microblaze bigendian multiply-low fpu-hard" | 130 | TUNE_FEATURES:tune-microblazemfpd = "microblaze bigendian multiply-low fpu-hard" |
131 | PACKAGE_EXTRA_ARCHS_tune-microblazemfpd = "${TUNE_PKGARCH}" | 131 | PACKAGE_EXTRA_ARCHS:tune-microblazemfpd = "${TUNE_PKGARCH}" |
132 | 132 | ||
133 | 133 | ||
134 | # p/m | 134 | # p/m |
135 | # CFLAGS: -mxl-pattern-compare -mno-xl-soft-mul | 135 | # CFLAGS: -mxl-pattern-compare -mno-xl-soft-mul |
136 | DEFAULTTUNE_virtclass-multilib-libmbpm = "microblazepm" | 136 | DEFAULTTUNE:virtclass-multilib-libmbpm = "microblazepm" |
137 | 137 | ||
138 | AVAILTUNES += "microblazepm" | 138 | AVAILTUNES += "microblazepm" |
139 | BASE_LIB_tune-microblazepm = "lib/p/m" | 139 | BASE_LIB:tune-microblazepm = "lib/p/m" |
140 | TUNE_FEATURES_tune-microblazepm = "microblaze bigendian pattern-compare multiply-low" | 140 | TUNE_FEATURES:tune-microblazepm = "microblaze bigendian pattern-compare multiply-low" |
141 | PACKAGE_EXTRA_ARCHS_tune-microblazepm = "${TUNE_PKGARCH}" | 141 | PACKAGE_EXTRA_ARCHS:tune-microblazepm = "${TUNE_PKGARCH}" |
142 | 142 | ||
143 | 143 | ||
144 | # p/fpd | 144 | # p/fpd |
145 | # CFLAGS: -mxl-pattern-compare -mhard-float | 145 | # CFLAGS: -mxl-pattern-compare -mhard-float |
146 | DEFAULTTUNE_virtclass-multilib-libmbpfpd = "microblazepfpd" | 146 | DEFAULTTUNE:virtclass-multilib-libmbpfpd = "microblazepfpd" |
147 | 147 | ||
148 | AVAILTUNES += "microblazepfpd" | 148 | AVAILTUNES += "microblazepfpd" |
149 | BASE_LIB_tune-microblazepfpd = "lib/p/fpd" | 149 | BASE_LIB:tune-microblazepfpd = "lib/p/fpd" |
150 | TUNE_FEATURES_tune-microblazepfpd = "microblaze bigendian pattern-compare fpu-hard" | 150 | TUNE_FEATURES:tune-microblazepfpd = "microblaze bigendian pattern-compare fpu-hard" |
151 | PACKAGE_EXTRA_ARCHS_tune-microblazepfpd = "${TUNE_PKGARCH}" | 151 | PACKAGE_EXTRA_ARCHS:tune-microblazepfpd = "${TUNE_PKGARCH}" |
152 | 152 | ||
153 | 153 | ||
154 | # p/m/fpd | 154 | # p/m/fpd |
155 | # CFLAGS: -mxl-pattern-compare -mno-xl-soft-mul -mhard-float | 155 | # CFLAGS: -mxl-pattern-compare -mno-xl-soft-mul -mhard-float |
156 | DEFAULTTUNE_virtclass-multilib-libmbpmfpd = "microblazepmfpd" | 156 | DEFAULTTUNE:virtclass-multilib-libmbpmfpd = "microblazepmfpd" |
157 | 157 | ||
158 | AVAILTUNES += "microblazepmfpd" | 158 | AVAILTUNES += "microblazepmfpd" |
159 | BASE_LIB_tune-microblazepmfpd = "lib/p/m/fpd" | 159 | BASE_LIB:tune-microblazepmfpd = "lib/p/m/fpd" |
160 | TUNE_FEATURES_tune-microblazepmfpd = "microblaze bigendian pattern-compare multiply-low fpu-hard" | 160 | TUNE_FEATURES:tune-microblazepmfpd = "microblaze bigendian pattern-compare multiply-low fpu-hard" |
161 | PACKAGE_EXTRA_ARCHS_tune-microblazepmfpd = "${TUNE_PKGARCH}" | 161 | PACKAGE_EXTRA_ARCHS:tune-microblazepmfpd = "${TUNE_PKGARCH}" |
162 | 162 | ||
163 | 163 | ||
164 | # bs/p | 164 | # bs/p |
165 | # CFLAGS: -mxl-barrel-shift -mxl-pattern-compare | 165 | # CFLAGS: -mxl-barrel-shift -mxl-pattern-compare |
166 | DEFAULTTUNE_virtclass-multilib-libmbbsp = "microblazebsp" | 166 | DEFAULTTUNE:virtclass-multilib-libmbbsp = "microblazebsp" |
167 | 167 | ||
168 | AVAILTUNES += "microblazebsp" | 168 | AVAILTUNES += "microblazebsp" |
169 | BASE_LIB_tune-microblazebsp = "lib/bs/p" | 169 | BASE_LIB:tune-microblazebsp = "lib/bs/p" |
170 | TUNE_FEATURES_tune-microblazebsp = "microblaze bigendian barrel-shift pattern-compare" | 170 | TUNE_FEATURES:tune-microblazebsp = "microblaze bigendian barrel-shift pattern-compare" |
171 | PACKAGE_EXTRA_ARCHS_tune-microblazebsp = "${TUNE_PKGARCH}" | 171 | PACKAGE_EXTRA_ARCHS:tune-microblazebsp = "${TUNE_PKGARCH}" |
172 | 172 | ||
173 | 173 | ||
174 | # bs/m | 174 | # bs/m |
175 | # CFLAGS: -mxl-barrel-shift -mno-xl-soft-mul | 175 | # CFLAGS: -mxl-barrel-shift -mno-xl-soft-mul |
176 | DEFAULTTUNE_virtclass-multilib-libmbbsm = "microblazebsm" | 176 | DEFAULTTUNE:virtclass-multilib-libmbbsm = "microblazebsm" |
177 | 177 | ||
178 | AVAILTUNES += "microblazebsm" | 178 | AVAILTUNES += "microblazebsm" |
179 | BASE_LIB_tune-microblazebsm = "lib/bs/m" | 179 | BASE_LIB:tune-microblazebsm = "lib/bs/m" |
180 | TUNE_FEATURES_tune-microblazebsm = "microblaze bigendian barrel-shift multiply-low" | 180 | TUNE_FEATURES:tune-microblazebsm = "microblaze bigendian barrel-shift multiply-low" |
181 | PACKAGE_EXTRA_ARCHS_tune-microblazebsm = "${TUNE_PKGARCH}" | 181 | PACKAGE_EXTRA_ARCHS:tune-microblazebsm = "${TUNE_PKGARCH}" |
182 | 182 | ||
183 | 183 | ||
184 | # bs/fpd | 184 | # bs/fpd |
185 | # CFLAGS: -mxl-barrel-shift -mhard-float | 185 | # CFLAGS: -mxl-barrel-shift -mhard-float |
186 | DEFAULTTUNE_virtclass-multilib-libmbbsfpd = "microblazebsfpd" | 186 | DEFAULTTUNE:virtclass-multilib-libmbbsfpd = "microblazebsfpd" |
187 | 187 | ||
188 | AVAILTUNES += "microblazebsfpd" | 188 | AVAILTUNES += "microblazebsfpd" |
189 | BASE_LIB_tune-microblazebsfpd = "lib/bs/fpd" | 189 | BASE_LIB:tune-microblazebsfpd = "lib/bs/fpd" |
190 | TUNE_FEATURES_tune-microblazebsfpd = "microblaze bigendian barrel-shift fpu-hard" | 190 | TUNE_FEATURES:tune-microblazebsfpd = "microblaze bigendian barrel-shift fpu-hard" |
191 | PACKAGE_EXTRA_ARCHS_tune-microblazebsfpd = "${TUNE_PKGARCH}" | 191 | PACKAGE_EXTRA_ARCHS:tune-microblazebsfpd = "${TUNE_PKGARCH}" |
192 | 192 | ||
193 | 193 | ||
194 | # bs/m/fpd | 194 | # bs/m/fpd |
195 | # CFLAGS: -mxl-barrel-shift -mno-xl-soft-mul -mhard-float | 195 | # CFLAGS: -mxl-barrel-shift -mno-xl-soft-mul -mhard-float |
196 | DEFAULTTUNE_virtclass-multilib-libmbbsmfpd = "microblazebsmfpd" | 196 | DEFAULTTUNE:virtclass-multilib-libmbbsmfpd = "microblazebsmfpd" |
197 | 197 | ||
198 | AVAILTUNES += "microblazebsmfpd" | 198 | AVAILTUNES += "microblazebsmfpd" |
199 | BASE_LIB_tune-microblazebsmfpd = "lib/bs/m/fpd" | 199 | BASE_LIB:tune-microblazebsmfpd = "lib/bs/m/fpd" |
200 | TUNE_FEATURES_tune-microblazebsmfpd = "microblaze bigendian barrel-shift multiply-low fpu-hard" | 200 | TUNE_FEATURES:tune-microblazebsmfpd = "microblaze bigendian barrel-shift multiply-low fpu-hard" |
201 | PACKAGE_EXTRA_ARCHS_tune-microblazebsmfpd = "${TUNE_PKGARCH}" | 201 | PACKAGE_EXTRA_ARCHS:tune-microblazebsmfpd = "${TUNE_PKGARCH}" |
202 | 202 | ||
203 | 203 | ||
204 | # bs/p/m | 204 | # bs/p/m |
205 | # CFLAGS: -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul | 205 | # CFLAGS: -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul |
206 | DEFAULTTUNE_virtclass-multilib-libmbbspm = "microblazebspm" | 206 | DEFAULTTUNE:virtclass-multilib-libmbbspm = "microblazebspm" |
207 | 207 | ||
208 | AVAILTUNES += "microblazebspm" | 208 | AVAILTUNES += "microblazebspm" |
209 | BASE_LIB_tune-microblazebspm = "lib/bs/p/m" | 209 | BASE_LIB:tune-microblazebspm = "lib/bs/p/m" |
210 | TUNE_FEATURES_tune-microblazebspm = "microblaze bigendian barrel-shift pattern-compare multiply-low" | 210 | TUNE_FEATURES:tune-microblazebspm = "microblaze bigendian barrel-shift pattern-compare multiply-low" |
211 | PACKAGE_EXTRA_ARCHS_tune-microblazebspm = "${TUNE_PKGARCH}" | 211 | PACKAGE_EXTRA_ARCHS:tune-microblazebspm = "${TUNE_PKGARCH}" |
212 | 212 | ||
213 | 213 | ||
214 | # bs/p/fpd | 214 | # bs/p/fpd |
215 | # CFLAGS: -mxl-barrel-shift -mxl-pattern-compare -mhard-float | 215 | # CFLAGS: -mxl-barrel-shift -mxl-pattern-compare -mhard-float |
216 | DEFAULTTUNE_virtclass-multilib-libmbbspfpd = "microblazebspfpd" | 216 | DEFAULTTUNE:virtclass-multilib-libmbbspfpd = "microblazebspfpd" |
217 | 217 | ||
218 | AVAILTUNES += "microblazebspfpd" | 218 | AVAILTUNES += "microblazebspfpd" |
219 | BASE_LIB_tune-microblazebspfpd = "lib/bs/p/fpd" | 219 | BASE_LIB:tune-microblazebspfpd = "lib/bs/p/fpd" |
220 | TUNE_FEATURES_tune-microblazebspfpd = "microblaze bigendian barrel-shift pattern-compare fpu-hard" | 220 | TUNE_FEATURES:tune-microblazebspfpd = "microblaze bigendian barrel-shift pattern-compare fpu-hard" |
221 | PACKAGE_EXTRA_ARCHS_tune-microblazebspfpd = "${TUNE_PKGARCH}" | 221 | PACKAGE_EXTRA_ARCHS:tune-microblazebspfpd = "${TUNE_PKGARCH}" |
222 | 222 | ||
223 | 223 | ||
224 | # bs/p/m/fpd | 224 | # bs/p/m/fpd |
225 | # CFLAGS: -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul -mhard-float | 225 | # CFLAGS: -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul -mhard-float |
226 | DEFAULTTUNE_virtclass-multilib-libmbbspmfpd = "microblazebspmfpd" | 226 | DEFAULTTUNE:virtclass-multilib-libmbbspmfpd = "microblazebspmfpd" |
227 | 227 | ||
228 | AVAILTUNES += "microblazebspmfpd" | 228 | AVAILTUNES += "microblazebspmfpd" |
229 | BASE_LIB_tune-microblazebspmfpd = "lib/bs/p/m/fpd" | 229 | BASE_LIB:tune-microblazebspmfpd = "lib/bs/p/m/fpd" |
230 | TUNE_FEATURES_tune-microblazebspmfpd = "microblaze bigendian barrel-shift pattern-compare multiply-low fpu-hard" | 230 | TUNE_FEATURES:tune-microblazebspmfpd = "microblaze bigendian barrel-shift pattern-compare multiply-low fpu-hard" |
231 | PACKAGE_EXTRA_ARCHS_tune-microblazebspmfpd = "${TUNE_PKGARCH}" | 231 | PACKAGE_EXTRA_ARCHS:tune-microblazebspmfpd = "${TUNE_PKGARCH}" |
232 | 232 | ||
233 | 233 | ||
234 | # le/m64 | 234 | # le/m64 |
235 | # CFLAGS: -mlittle-endian -m64 | 235 | # CFLAGS: -mlittle-endian -m64 |
236 | DEFAULTTUNE_virtclass-multilib-libmblem64 = "microblazele64" | 236 | DEFAULTTUNE:virtclass-multilib-libmblem64 = "microblazele64" |
237 | 237 | ||
238 | AVAILTUNES += "microblazele64" | 238 | AVAILTUNES += "microblazele64" |
239 | BASE_LIB_tune-microblazele64 = "lib/le/m64" | 239 | BASE_LIB:tune-microblazele64 = "lib/le/m64" |
240 | TUNE_FEATURES_tune-microblazele64 = "microblaze 64-bit" | 240 | TUNE_FEATURES:tune-microblazele64 = "microblaze 64-bit" |
241 | PACKAGE_EXTRA_ARCHS_tune-microblazele64 = "${TUNE_PKGARCH}" | 241 | PACKAGE_EXTRA_ARCHS:tune-microblazele64 = "${TUNE_PKGARCH}" |
242 | 242 | ||
243 | 243 | ||
244 | # le/bs | 244 | # le/bs |
245 | # CFLAGS: -mlittle-endian -mxl-barrel-shift | 245 | # CFLAGS: -mlittle-endian -mxl-barrel-shift |
246 | DEFAULTTUNE_virtclass-multilib-libmblebs = "microblazelebs" | 246 | DEFAULTTUNE:virtclass-multilib-libmblebs = "microblazelebs" |
247 | 247 | ||
248 | AVAILTUNES += "microblazelebs" | 248 | AVAILTUNES += "microblazelebs" |
249 | BASE_LIB_tune-microblazelebs = "lib/le/bs" | 249 | BASE_LIB:tune-microblazelebs = "lib/le/bs" |
250 | TUNE_FEATURES_tune-microblazelebs = "microblaze barrel-shift" | 250 | TUNE_FEATURES:tune-microblazelebs = "microblaze barrel-shift" |
251 | PACKAGE_EXTRA_ARCHS_tune-microblazelebs = "${TUNE_PKGARCH}" | 251 | PACKAGE_EXTRA_ARCHS:tune-microblazelebs = "${TUNE_PKGARCH}" |
252 | 252 | ||
253 | 253 | ||
254 | # le/p | 254 | # le/p |
255 | # CFLAGS: -mlittle-endian -mxl-pattern-compare | 255 | # CFLAGS: -mlittle-endian -mxl-pattern-compare |
256 | DEFAULTTUNE_virtclass-multilib-libmblep = "microblazelep" | 256 | DEFAULTTUNE:virtclass-multilib-libmblep = "microblazelep" |
257 | 257 | ||
258 | AVAILTUNES += "microblazelep" | 258 | AVAILTUNES += "microblazelep" |
259 | BASE_LIB_tune-microblazelep = "lib/le/p" | 259 | BASE_LIB:tune-microblazelep = "lib/le/p" |
260 | TUNE_FEATURES_tune-microblazelep = "microblaze pattern-compare" | 260 | TUNE_FEATURES:tune-microblazelep = "microblaze pattern-compare" |
261 | PACKAGE_EXTRA_ARCHS_tune-microblazelep = "${TUNE_PKGARCH}" | 261 | PACKAGE_EXTRA_ARCHS:tune-microblazelep = "${TUNE_PKGARCH}" |
262 | 262 | ||
263 | 263 | ||
264 | # le/m | 264 | # le/m |
265 | # CFLAGS: -mlittle-endian -mno-xl-soft-mul | 265 | # CFLAGS: -mlittle-endian -mno-xl-soft-mul |
266 | DEFAULTTUNE_virtclass-multilib-libmblem = "microblazelem" | 266 | DEFAULTTUNE:virtclass-multilib-libmblem = "microblazelem" |
267 | 267 | ||
268 | AVAILTUNES += "microblazelem" | 268 | AVAILTUNES += "microblazelem" |
269 | BASE_LIB_tune-microblazelem = "lib/le/m" | 269 | BASE_LIB:tune-microblazelem = "lib/le/m" |
270 | TUNE_FEATURES_tune-microblazelem = "microblaze multiply-low" | 270 | TUNE_FEATURES:tune-microblazelem = "microblaze multiply-low" |
271 | PACKAGE_EXTRA_ARCHS_tune-microblazelem = "${TUNE_PKGARCH}" | 271 | PACKAGE_EXTRA_ARCHS:tune-microblazelem = "${TUNE_PKGARCH}" |
272 | 272 | ||
273 | 273 | ||
274 | # le/fpd | 274 | # le/fpd |
275 | # CFLAGS: -mlittle-endian -mhard-float | 275 | # CFLAGS: -mlittle-endian -mhard-float |
276 | DEFAULTTUNE_virtclass-multilib-libmblefpd = "microblazelefpd" | 276 | DEFAULTTUNE:virtclass-multilib-libmblefpd = "microblazelefpd" |
277 | 277 | ||
278 | AVAILTUNES += "microblazelefpd" | 278 | AVAILTUNES += "microblazelefpd" |
279 | BASE_LIB_tune-microblazelefpd = "lib/le/fpd" | 279 | BASE_LIB:tune-microblazelefpd = "lib/le/fpd" |
280 | TUNE_FEATURES_tune-microblazelefpd = "microblaze fpu-hard" | 280 | TUNE_FEATURES:tune-microblazelefpd = "microblaze fpu-hard" |
281 | PACKAGE_EXTRA_ARCHS_tune-microblazelefpd = "${TUNE_PKGARCH}" | 281 | PACKAGE_EXTRA_ARCHS:tune-microblazelefpd = "${TUNE_PKGARCH}" |
282 | 282 | ||
283 | 283 | ||
284 | # le/m/fpd | 284 | # le/m/fpd |
285 | # CFLAGS: -mlittle-endian -mno-xl-soft-mul -mhard-float | 285 | # CFLAGS: -mlittle-endian -mno-xl-soft-mul -mhard-float |
286 | DEFAULTTUNE_virtclass-multilib-libmblemfpd = "microblazelemfpd" | 286 | DEFAULTTUNE:virtclass-multilib-libmblemfpd = "microblazelemfpd" |
287 | 287 | ||
288 | AVAILTUNES += "microblazelemfpd" | 288 | AVAILTUNES += "microblazelemfpd" |
289 | BASE_LIB_tune-microblazelemfpd = "lib/le/m/fpd" | 289 | BASE_LIB:tune-microblazelemfpd = "lib/le/m/fpd" |
290 | TUNE_FEATURES_tune-microblazelemfpd = "microblaze multiply-low fpu-hard" | 290 | TUNE_FEATURES:tune-microblazelemfpd = "microblaze multiply-low fpu-hard" |
291 | PACKAGE_EXTRA_ARCHS_tune-microblazelemfpd = "${TUNE_PKGARCH}" | 291 | PACKAGE_EXTRA_ARCHS:tune-microblazelemfpd = "${TUNE_PKGARCH}" |
292 | 292 | ||
293 | 293 | ||
294 | # le/p/m | 294 | # le/p/m |
295 | # CFLAGS: -mlittle-endian -mxl-pattern-compare -mno-xl-soft-mul | 295 | # CFLAGS: -mlittle-endian -mxl-pattern-compare -mno-xl-soft-mul |
296 | DEFAULTTUNE_virtclass-multilib-libmblepm = "microblazelepm" | 296 | DEFAULTTUNE:virtclass-multilib-libmblepm = "microblazelepm" |
297 | 297 | ||
298 | AVAILTUNES += "microblazelepm" | 298 | AVAILTUNES += "microblazelepm" |
299 | BASE_LIB_tune-microblazelepm = "lib/le/p/m" | 299 | BASE_LIB:tune-microblazelepm = "lib/le/p/m" |
300 | TUNE_FEATURES_tune-microblazelepm = "microblaze pattern-compare multiply-low" | 300 | TUNE_FEATURES:tune-microblazelepm = "microblaze pattern-compare multiply-low" |
301 | PACKAGE_EXTRA_ARCHS_tune-microblazelepm = "${TUNE_PKGARCH}" | 301 | PACKAGE_EXTRA_ARCHS:tune-microblazelepm = "${TUNE_PKGARCH}" |
302 | 302 | ||
303 | 303 | ||
304 | # le/p/fpd | 304 | # le/p/fpd |
305 | # CFLAGS: -mlittle-endian -mxl-pattern-compare -mhard-float | 305 | # CFLAGS: -mlittle-endian -mxl-pattern-compare -mhard-float |
306 | DEFAULTTUNE_virtclass-multilib-libmblepfpd = "microblazelepfpd" | 306 | DEFAULTTUNE:virtclass-multilib-libmblepfpd = "microblazelepfpd" |
307 | 307 | ||
308 | AVAILTUNES += "microblazelepfpd" | 308 | AVAILTUNES += "microblazelepfpd" |
309 | BASE_LIB_tune-microblazelepfpd = "lib/le/p/fpd" | 309 | BASE_LIB:tune-microblazelepfpd = "lib/le/p/fpd" |
310 | TUNE_FEATURES_tune-microblazelepfpd = "microblaze pattern-compare fpu-hard" | 310 | TUNE_FEATURES:tune-microblazelepfpd = "microblaze pattern-compare fpu-hard" |
311 | PACKAGE_EXTRA_ARCHS_tune-microblazelepfpd = "${TUNE_PKGARCH}" | 311 | PACKAGE_EXTRA_ARCHS:tune-microblazelepfpd = "${TUNE_PKGARCH}" |
312 | 312 | ||
313 | 313 | ||
314 | # le/p/m/fpd | 314 | # le/p/m/fpd |
315 | # CFLAGS: -mlittle-endian -mxl-pattern-compare -mno-xl-soft-mul -mhard-float | 315 | # CFLAGS: -mlittle-endian -mxl-pattern-compare -mno-xl-soft-mul -mhard-float |
316 | DEFAULTTUNE_virtclass-multilib-libmblepmfpd = "microblazelepmfpd" | 316 | DEFAULTTUNE:virtclass-multilib-libmblepmfpd = "microblazelepmfpd" |
317 | 317 | ||
318 | AVAILTUNES += "microblazelepmfpd" | 318 | AVAILTUNES += "microblazelepmfpd" |
319 | BASE_LIB_tune-microblazelepmfpd = "lib/le/p/m/fpd" | 319 | BASE_LIB:tune-microblazelepmfpd = "lib/le/p/m/fpd" |
320 | TUNE_FEATURES_tune-microblazelepmfpd = "microblaze pattern-compare multiply-low fpu-hard" | 320 | TUNE_FEATURES:tune-microblazelepmfpd = "microblaze pattern-compare multiply-low fpu-hard" |
321 | PACKAGE_EXTRA_ARCHS_tune-microblazelepmfpd = "${TUNE_PKGARCH}" | 321 | PACKAGE_EXTRA_ARCHS:tune-microblazelepmfpd = "${TUNE_PKGARCH}" |
322 | 322 | ||
323 | 323 | ||
324 | # le/bs/p | 324 | # le/bs/p |
325 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | 325 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare |
326 | DEFAULTTUNE_virtclass-multilib-libmblebsp = "microblazelebsp" | 326 | DEFAULTTUNE:virtclass-multilib-libmblebsp = "microblazelebsp" |
327 | 327 | ||
328 | AVAILTUNES += "microblazelebsp" | 328 | AVAILTUNES += "microblazelebsp" |
329 | BASE_LIB_tune-microblazelebsp = "lib/le/bs/p" | 329 | BASE_LIB:tune-microblazelebsp = "lib/le/bs/p" |
330 | TUNE_FEATURES_tune-microblazelebsp = "microblaze barrel-shift pattern-compare" | 330 | TUNE_FEATURES:tune-microblazelebsp = "microblaze barrel-shift pattern-compare" |
331 | PACKAGE_EXTRA_ARCHS_tune-microblazelebsp = "${TUNE_PKGARCH}" | 331 | PACKAGE_EXTRA_ARCHS:tune-microblazelebsp = "${TUNE_PKGARCH}" |
332 | 332 | ||
333 | 333 | ||
334 | # le/bs/m | 334 | # le/bs/m |
335 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mno-xl-soft-mul | 335 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mno-xl-soft-mul |
336 | DEFAULTTUNE_virtclass-multilib-libmblebsm = "microblazelebsm" | 336 | DEFAULTTUNE:virtclass-multilib-libmblebsm = "microblazelebsm" |
337 | 337 | ||
338 | AVAILTUNES += "microblazelebsm" | 338 | AVAILTUNES += "microblazelebsm" |
339 | BASE_LIB_tune-microblazelebsm = "lib/le/bs/m" | 339 | BASE_LIB:tune-microblazelebsm = "lib/le/bs/m" |
340 | TUNE_FEATURES_tune-microblazelebsm = "microblaze barrel-shift multiply-low" | 340 | TUNE_FEATURES:tune-microblazelebsm = "microblaze barrel-shift multiply-low" |
341 | PACKAGE_EXTRA_ARCHS_tune-microblazelebsm = "${TUNE_PKGARCH}" | 341 | PACKAGE_EXTRA_ARCHS:tune-microblazelebsm = "${TUNE_PKGARCH}" |
342 | 342 | ||
343 | 343 | ||
344 | # le/bs/fpd | 344 | # le/bs/fpd |
345 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mhard-float | 345 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mhard-float |
346 | DEFAULTTUNE_virtclass-multilib-libmblebsfpd = "microblazelebsfpd" | 346 | DEFAULTTUNE:virtclass-multilib-libmblebsfpd = "microblazelebsfpd" |
347 | 347 | ||
348 | AVAILTUNES += "microblazelebsfpd" | 348 | AVAILTUNES += "microblazelebsfpd" |
349 | BASE_LIB_tune-microblazelebsfpd = "lib/le/bs/fpd" | 349 | BASE_LIB:tune-microblazelebsfpd = "lib/le/bs/fpd" |
350 | TUNE_FEATURES_tune-microblazelebsfpd = "microblaze barrel-shift fpu-hard" | 350 | TUNE_FEATURES:tune-microblazelebsfpd = "microblaze barrel-shift fpu-hard" |
351 | PACKAGE_EXTRA_ARCHS_tune-microblazelebsfpd = "${TUNE_PKGARCH}" | 351 | PACKAGE_EXTRA_ARCHS:tune-microblazelebsfpd = "${TUNE_PKGARCH}" |
352 | 352 | ||
353 | 353 | ||
354 | # le/bs/m/fpd | 354 | # le/bs/m/fpd |
355 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mno-xl-soft-mul -mhard-float | 355 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mno-xl-soft-mul -mhard-float |
356 | DEFAULTTUNE_virtclass-multilib-libmblebsmfpd = "microblazelebsmfpd" | 356 | DEFAULTTUNE:virtclass-multilib-libmblebsmfpd = "microblazelebsmfpd" |
357 | 357 | ||
358 | AVAILTUNES += "microblazelebsmfpd" | 358 | AVAILTUNES += "microblazelebsmfpd" |
359 | BASE_LIB_tune-microblazelebsmfpd = "lib/le/bs/m/fpd" | 359 | BASE_LIB:tune-microblazelebsmfpd = "lib/le/bs/m/fpd" |
360 | TUNE_FEATURES_tune-microblazelebsmfpd = "microblaze barrel-shift multiply-low fpu-hard" | 360 | TUNE_FEATURES:tune-microblazelebsmfpd = "microblaze barrel-shift multiply-low fpu-hard" |
361 | PACKAGE_EXTRA_ARCHS_tune-microblazelebsmfpd = "${TUNE_PKGARCH}" | 361 | PACKAGE_EXTRA_ARCHS:tune-microblazelebsmfpd = "${TUNE_PKGARCH}" |
362 | 362 | ||
363 | 363 | ||
364 | # le/bs/p/m | 364 | # le/bs/p/m |
365 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul | 365 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul |
366 | DEFAULTTUNE_virtclass-multilib-libmblebspm = "microblazelebspm" | 366 | DEFAULTTUNE:virtclass-multilib-libmblebspm = "microblazelebspm" |
367 | 367 | ||
368 | AVAILTUNES += "microblazelebspm" | 368 | AVAILTUNES += "microblazelebspm" |
369 | BASE_LIB_tune-microblazelebspm = "lib/le/bs/p/m" | 369 | BASE_LIB:tune-microblazelebspm = "lib/le/bs/p/m" |
370 | TUNE_FEATURES_tune-microblazelebspm = "microblaze barrel-shift pattern-compare multiply-low" | 370 | TUNE_FEATURES:tune-microblazelebspm = "microblaze barrel-shift pattern-compare multiply-low" |
371 | PACKAGE_EXTRA_ARCHS_tune-microblazelebspm = "${TUNE_PKGARCH}" | 371 | PACKAGE_EXTRA_ARCHS:tune-microblazelebspm = "${TUNE_PKGARCH}" |
372 | 372 | ||
373 | 373 | ||
374 | # le/bs/p/fpd | 374 | # le/bs/p/fpd |
375 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mhard-float | 375 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mhard-float |
376 | DEFAULTTUNE_virtclass-multilib-libmblebspfpd = "microblazelebspfpd" | 376 | DEFAULTTUNE:virtclass-multilib-libmblebspfpd = "microblazelebspfpd" |
377 | 377 | ||
378 | AVAILTUNES += "microblazelebspfpd" | 378 | AVAILTUNES += "microblazelebspfpd" |
379 | BASE_LIB_tune-microblazelebspfpd = "lib/le/bs/p/fpd" | 379 | BASE_LIB:tune-microblazelebspfpd = "lib/le/bs/p/fpd" |
380 | TUNE_FEATURES_tune-microblazelebspfpd = "microblaze barrel-shift pattern-compare fpu-hard" | 380 | TUNE_FEATURES:tune-microblazelebspfpd = "microblaze barrel-shift pattern-compare fpu-hard" |
381 | PACKAGE_EXTRA_ARCHS_tune-microblazelebspfpd = "${TUNE_PKGARCH}" | 381 | PACKAGE_EXTRA_ARCHS:tune-microblazelebspfpd = "${TUNE_PKGARCH}" |
382 | 382 | ||
383 | 383 | ||
384 | # le/bs/p/m/fpd | 384 | # le/bs/p/m/fpd |
385 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul -mhard-float | 385 | # CFLAGS: -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul -mhard-float |
386 | DEFAULTTUNE_virtclass-multilib-libmblebspmfpd = "microblazelebspmfpd" | 386 | DEFAULTTUNE:virtclass-multilib-libmblebspmfpd = "microblazelebspmfpd" |
387 | 387 | ||
388 | AVAILTUNES += "microblazelebspmfpd" | 388 | AVAILTUNES += "microblazelebspmfpd" |
389 | BASE_LIB_tune-microblazelebspmfpd = "lib/le/bs/p/m/fpd" | 389 | BASE_LIB:tune-microblazelebspmfpd = "lib/le/bs/p/m/fpd" |
390 | TUNE_FEATURES_tune-microblazelebspmfpd = "microblaze barrel-shift pattern-compare multiply-low fpu-hard" | 390 | TUNE_FEATURES:tune-microblazelebspmfpd = "microblaze barrel-shift pattern-compare multiply-low fpu-hard" |
391 | PACKAGE_EXTRA_ARCHS_tune-microblazelebspmfpd = "${TUNE_PKGARCH}" | 391 | PACKAGE_EXTRA_ARCHS:tune-microblazelebspmfpd = "${TUNE_PKGARCH}" |
392 | 392 | ||
393 | 393 | ||
394 | # le/m64/bs | 394 | # le/m64/bs |
395 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift | 395 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift |
396 | DEFAULTTUNE_virtclass-multilib-libmblem64bs = "microblazele64bs" | 396 | DEFAULTTUNE:virtclass-multilib-libmblem64bs = "microblazele64bs" |
397 | 397 | ||
398 | AVAILTUNES += "microblazele64bs" | 398 | AVAILTUNES += "microblazele64bs" |
399 | BASE_LIB_tune-microblazele64bs = "lib/le/m64/bs" | 399 | BASE_LIB:tune-microblazele64bs = "lib/le/m64/bs" |
400 | TUNE_FEATURES_tune-microblazele64bs = "microblaze 64-bit barrel-shift" | 400 | TUNE_FEATURES:tune-microblazele64bs = "microblaze 64-bit barrel-shift" |
401 | PACKAGE_EXTRA_ARCHS_tune-microblazele64bs = "${TUNE_PKGARCH}" | 401 | PACKAGE_EXTRA_ARCHS:tune-microblazele64bs = "${TUNE_PKGARCH}" |
402 | 402 | ||
403 | 403 | ||
404 | # le/m64/p | 404 | # le/m64/p |
405 | # CFLAGS: -mlittle-endian -m64 -mxl-pattern-compare | 405 | # CFLAGS: -mlittle-endian -m64 -mxl-pattern-compare |
406 | DEFAULTTUNE_virtclass-multilib-libmblem64p = "microblazele64p" | 406 | DEFAULTTUNE:virtclass-multilib-libmblem64p = "microblazele64p" |
407 | 407 | ||
408 | AVAILTUNES += "microblazele64p" | 408 | AVAILTUNES += "microblazele64p" |
409 | BASE_LIB_tune-microblazele64p = "lib/le/m64/p" | 409 | BASE_LIB:tune-microblazele64p = "lib/le/m64/p" |
410 | TUNE_FEATURES_tune-microblazele64p = "microblaze 64-bit pattern-compare" | 410 | TUNE_FEATURES:tune-microblazele64p = "microblaze 64-bit pattern-compare" |
411 | PACKAGE_EXTRA_ARCHS_tune-microblazele64p = "${TUNE_PKGARCH}" | 411 | PACKAGE_EXTRA_ARCHS:tune-microblazele64p = "${TUNE_PKGARCH}" |
412 | 412 | ||
413 | 413 | ||
414 | # le/m64/m | 414 | # le/m64/m |
415 | # CFLAGS: -mlittle-endian -m64 -mno-xl-soft-mul | 415 | # CFLAGS: -mlittle-endian -m64 -mno-xl-soft-mul |
416 | DEFAULTTUNE_virtclass-multilib-libmblem64m = "microblazele64m" | 416 | DEFAULTTUNE:virtclass-multilib-libmblem64m = "microblazele64m" |
417 | 417 | ||
418 | AVAILTUNES += "microblazele64m" | 418 | AVAILTUNES += "microblazele64m" |
419 | BASE_LIB_tune-microblazele64m = "lib/le/m64/m" | 419 | BASE_LIB:tune-microblazele64m = "lib/le/m64/m" |
420 | TUNE_FEATURES_tune-microblazele64m = "microblaze 64-bit multiply-low" | 420 | TUNE_FEATURES:tune-microblazele64m = "microblaze 64-bit multiply-low" |
421 | PACKAGE_EXTRA_ARCHS_tune-microblazele64m = "${TUNE_PKGARCH}" | 421 | PACKAGE_EXTRA_ARCHS:tune-microblazele64m = "${TUNE_PKGARCH}" |
422 | 422 | ||
423 | 423 | ||
424 | # le/m64/fpd | 424 | # le/m64/fpd |
425 | # CFLAGS: -mlittle-endian -m64 -mhard-float | 425 | # CFLAGS: -mlittle-endian -m64 -mhard-float |
426 | DEFAULTTUNE_virtclass-multilib-libmblem64fpd = "microblazele64fpd" | 426 | DEFAULTTUNE:virtclass-multilib-libmblem64fpd = "microblazele64fpd" |
427 | 427 | ||
428 | AVAILTUNES += "microblazele64fpd" | 428 | AVAILTUNES += "microblazele64fpd" |
429 | BASE_LIB_tune-microblazele64fpd = "lib/le/m64/fpd" | 429 | BASE_LIB:tune-microblazele64fpd = "lib/le/m64/fpd" |
430 | TUNE_FEATURES_tune-microblazele64fpd = "microblaze 64-bit fpu-hard" | 430 | TUNE_FEATURES:tune-microblazele64fpd = "microblaze 64-bit fpu-hard" |
431 | PACKAGE_EXTRA_ARCHS_tune-microblazele64fpd = "${TUNE_PKGARCH}" | 431 | PACKAGE_EXTRA_ARCHS:tune-microblazele64fpd = "${TUNE_PKGARCH}" |
432 | 432 | ||
433 | 433 | ||
434 | # le/m64/m/fpd | 434 | # le/m64/m/fpd |
435 | # CFLAGS: -mlittle-endian -m64 -mno-xl-soft-mul -mhard-float | 435 | # CFLAGS: -mlittle-endian -m64 -mno-xl-soft-mul -mhard-float |
436 | DEFAULTTUNE_virtclass-multilib-libmblem64mfpd = "microblazele64mfpd" | 436 | DEFAULTTUNE:virtclass-multilib-libmblem64mfpd = "microblazele64mfpd" |
437 | 437 | ||
438 | AVAILTUNES += "microblazele64mfpd" | 438 | AVAILTUNES += "microblazele64mfpd" |
439 | BASE_LIB_tune-microblazele64mfpd = "lib/le/m64/m/fpd" | 439 | BASE_LIB:tune-microblazele64mfpd = "lib/le/m64/m/fpd" |
440 | TUNE_FEATURES_tune-microblazele64mfpd = "microblaze 64-bit multiply-low fpu-hard" | 440 | TUNE_FEATURES:tune-microblazele64mfpd = "microblaze 64-bit multiply-low fpu-hard" |
441 | PACKAGE_EXTRA_ARCHS_tune-microblazele64mfpd = "${TUNE_PKGARCH}" | 441 | PACKAGE_EXTRA_ARCHS:tune-microblazele64mfpd = "${TUNE_PKGARCH}" |
442 | 442 | ||
443 | 443 | ||
444 | # le/m64/p/m | 444 | # le/m64/p/m |
445 | # CFLAGS: -mlittle-endian -m64 -mxl-pattern-compare -mno-xl-soft-mul | 445 | # CFLAGS: -mlittle-endian -m64 -mxl-pattern-compare -mno-xl-soft-mul |
446 | DEFAULTTUNE_virtclass-multilib-libmblem64pm = "microblazele64pm" | 446 | DEFAULTTUNE:virtclass-multilib-libmblem64pm = "microblazele64pm" |
447 | 447 | ||
448 | AVAILTUNES += "microblazele64pm" | 448 | AVAILTUNES += "microblazele64pm" |
449 | BASE_LIB_tune-microblazele64pm = "lib/le/m64/p/m" | 449 | BASE_LIB:tune-microblazele64pm = "lib/le/m64/p/m" |
450 | TUNE_FEATURES_tune-microblazele64pm = "microblaze 64-bit pattern-compare multiply-low" | 450 | TUNE_FEATURES:tune-microblazele64pm = "microblaze 64-bit pattern-compare multiply-low" |
451 | PACKAGE_EXTRA_ARCHS_tune-microblazele64pm = "${TUNE_PKGARCH}" | 451 | PACKAGE_EXTRA_ARCHS:tune-microblazele64pm = "${TUNE_PKGARCH}" |
452 | 452 | ||
453 | 453 | ||
454 | # le/m64/p/fpd | 454 | # le/m64/p/fpd |
455 | # CFLAGS: -mlittle-endian -m64 -mxl-pattern-compare -mhard-float | 455 | # CFLAGS: -mlittle-endian -m64 -mxl-pattern-compare -mhard-float |
456 | DEFAULTTUNE_virtclass-multilib-libmblem64pfpd = "microblazele64pfpd" | 456 | DEFAULTTUNE:virtclass-multilib-libmblem64pfpd = "microblazele64pfpd" |
457 | 457 | ||
458 | AVAILTUNES += "microblazele64pfpd" | 458 | AVAILTUNES += "microblazele64pfpd" |
459 | BASE_LIB_tune-microblazele64pfpd = "lib/le/m64/p/fpd" | 459 | BASE_LIB:tune-microblazele64pfpd = "lib/le/m64/p/fpd" |
460 | TUNE_FEATURES_tune-microblazele64pfpd = "microblaze 64-bit pattern-compare fpu-hard" | 460 | TUNE_FEATURES:tune-microblazele64pfpd = "microblaze 64-bit pattern-compare fpu-hard" |
461 | PACKAGE_EXTRA_ARCHS_tune-microblazele64pfpd = "${TUNE_PKGARCH}" | 461 | PACKAGE_EXTRA_ARCHS:tune-microblazele64pfpd = "${TUNE_PKGARCH}" |
462 | 462 | ||
463 | 463 | ||
464 | # le/m64/p/m/fpd | 464 | # le/m64/p/m/fpd |
465 | # CFLAGS: -mlittle-endian -m64 -mxl-pattern-compare -mno-xl-soft-mul -mhard-float | 465 | # CFLAGS: -mlittle-endian -m64 -mxl-pattern-compare -mno-xl-soft-mul -mhard-float |
466 | DEFAULTTUNE_virtclass-multilib-libmblem64pmfpd = "microblazele64pmfpd" | 466 | DEFAULTTUNE:virtclass-multilib-libmblem64pmfpd = "microblazele64pmfpd" |
467 | 467 | ||
468 | AVAILTUNES += "microblazele64pmfpd" | 468 | AVAILTUNES += "microblazele64pmfpd" |
469 | BASE_LIB_tune-microblazele64pmfpd = "lib/le/m64/p/m/fpd" | 469 | BASE_LIB:tune-microblazele64pmfpd = "lib/le/m64/p/m/fpd" |
470 | TUNE_FEATURES_tune-microblazele64pmfpd = "microblaze 64-bit pattern-compare multiply-low fpu-hard" | 470 | TUNE_FEATURES:tune-microblazele64pmfpd = "microblaze 64-bit pattern-compare multiply-low fpu-hard" |
471 | PACKAGE_EXTRA_ARCHS_tune-microblazele64pmfpd = "${TUNE_PKGARCH}" | 471 | PACKAGE_EXTRA_ARCHS:tune-microblazele64pmfpd = "${TUNE_PKGARCH}" |
472 | 472 | ||
473 | 473 | ||
474 | # le/m64/bs/p | 474 | # le/m64/bs/p |
475 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mxl-pattern-compare | 475 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mxl-pattern-compare |
476 | DEFAULTTUNE_virtclass-multilib-libmblem64bsp = "microblazele64bsp" | 476 | DEFAULTTUNE:virtclass-multilib-libmblem64bsp = "microblazele64bsp" |
477 | 477 | ||
478 | AVAILTUNES += "microblazele64bsp" | 478 | AVAILTUNES += "microblazele64bsp" |
479 | BASE_LIB_tune-microblazele64bsp = "lib/le/m64/bs/p" | 479 | BASE_LIB:tune-microblazele64bsp = "lib/le/m64/bs/p" |
480 | TUNE_FEATURES_tune-microblazele64bsp = "microblaze 64-bit barrel-shift pattern-compare" | 480 | TUNE_FEATURES:tune-microblazele64bsp = "microblaze 64-bit barrel-shift pattern-compare" |
481 | PACKAGE_EXTRA_ARCHS_tune-microblazele64bsp = "${TUNE_PKGARCH}" | 481 | PACKAGE_EXTRA_ARCHS:tune-microblazele64bsp = "${TUNE_PKGARCH}" |
482 | 482 | ||
483 | 483 | ||
484 | # le/m64/bs/m | 484 | # le/m64/bs/m |
485 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mno-xl-soft-mul | 485 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mno-xl-soft-mul |
486 | DEFAULTTUNE_virtclass-multilib-libmblem64bsm = "microblazele64bsm" | 486 | DEFAULTTUNE:virtclass-multilib-libmblem64bsm = "microblazele64bsm" |
487 | 487 | ||
488 | AVAILTUNES += "microblazele64bsm" | 488 | AVAILTUNES += "microblazele64bsm" |
489 | BASE_LIB_tune-microblazele64bsm = "lib/le/m64/bs/m" | 489 | BASE_LIB:tune-microblazele64bsm = "lib/le/m64/bs/m" |
490 | TUNE_FEATURES_tune-microblazele64bsm = "microblaze 64-bit barrel-shift multiply-low" | 490 | TUNE_FEATURES:tune-microblazele64bsm = "microblaze 64-bit barrel-shift multiply-low" |
491 | PACKAGE_EXTRA_ARCHS_tune-microblazele64bsm = "${TUNE_PKGARCH}" | 491 | PACKAGE_EXTRA_ARCHS:tune-microblazele64bsm = "${TUNE_PKGARCH}" |
492 | 492 | ||
493 | 493 | ||
494 | # le/m64/bs/fpd | 494 | # le/m64/bs/fpd |
495 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mhard-float | 495 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mhard-float |
496 | DEFAULTTUNE_virtclass-multilib-libmblem64bsfpd = "microblazele64bsfpd" | 496 | DEFAULTTUNE:virtclass-multilib-libmblem64bsfpd = "microblazele64bsfpd" |
497 | 497 | ||
498 | AVAILTUNES += "microblazele64bsfpd" | 498 | AVAILTUNES += "microblazele64bsfpd" |
499 | BASE_LIB_tune-microblazele64bsfpd = "lib/le/m64/bs/fpd" | 499 | BASE_LIB:tune-microblazele64bsfpd = "lib/le/m64/bs/fpd" |
500 | TUNE_FEATURES_tune-microblazele64bsfpd = "microblaze 64-bit barrel-shift fpu-hard" | 500 | TUNE_FEATURES:tune-microblazele64bsfpd = "microblaze 64-bit barrel-shift fpu-hard" |
501 | PACKAGE_EXTRA_ARCHS_tune-microblazele64bsfpd = "${TUNE_PKGARCH}" | 501 | PACKAGE_EXTRA_ARCHS:tune-microblazele64bsfpd = "${TUNE_PKGARCH}" |
502 | 502 | ||
503 | 503 | ||
504 | # le/m64/bs/m/fpd | 504 | # le/m64/bs/m/fpd |
505 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mno-xl-soft-mul -mhard-float | 505 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mno-xl-soft-mul -mhard-float |
506 | DEFAULTTUNE_virtclass-multilib-libmblem64bsmfpd = "microblazele64bsmfpd" | 506 | DEFAULTTUNE:virtclass-multilib-libmblem64bsmfpd = "microblazele64bsmfpd" |
507 | 507 | ||
508 | AVAILTUNES += "microblazele64bsmfpd" | 508 | AVAILTUNES += "microblazele64bsmfpd" |
509 | BASE_LIB_tune-microblazele64bsmfpd = "lib/le/m64/bs/m/fpd" | 509 | BASE_LIB:tune-microblazele64bsmfpd = "lib/le/m64/bs/m/fpd" |
510 | TUNE_FEATURES_tune-microblazele64bsmfpd = "microblaze 64-bit barrel-shift multiply-low fpu-hard" | 510 | TUNE_FEATURES:tune-microblazele64bsmfpd = "microblaze 64-bit barrel-shift multiply-low fpu-hard" |
511 | PACKAGE_EXTRA_ARCHS_tune-microblazele64bsmfpd = "${TUNE_PKGARCH}" | 511 | PACKAGE_EXTRA_ARCHS:tune-microblazele64bsmfpd = "${TUNE_PKGARCH}" |
512 | 512 | ||
513 | 513 | ||
514 | # le/m64/bs/p/m | 514 | # le/m64/bs/p/m |
515 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul | 515 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul |
516 | DEFAULTTUNE_virtclass-multilib-libmblem64bspm = "microblazele64bspm" | 516 | DEFAULTTUNE:virtclass-multilib-libmblem64bspm = "microblazele64bspm" |
517 | 517 | ||
518 | AVAILTUNES += "microblazele64bspm" | 518 | AVAILTUNES += "microblazele64bspm" |
519 | BASE_LIB_tune-microblazele64bspm = "lib/le/m64/bs/p/m" | 519 | BASE_LIB:tune-microblazele64bspm = "lib/le/m64/bs/p/m" |
520 | TUNE_FEATURES_tune-microblazele64bspm = "microblaze 64-bit barrel-shift pattern-compare multiply-low" | 520 | TUNE_FEATURES:tune-microblazele64bspm = "microblaze 64-bit barrel-shift pattern-compare multiply-low" |
521 | PACKAGE_EXTRA_ARCHS_tune-microblazele64bspm = "${TUNE_PKGARCH}" | 521 | PACKAGE_EXTRA_ARCHS:tune-microblazele64bspm = "${TUNE_PKGARCH}" |
522 | 522 | ||
523 | 523 | ||
524 | # le/m64/bs/p/fpd | 524 | # le/m64/bs/p/fpd |
525 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mxl-pattern-compare -mhard-float | 525 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mxl-pattern-compare -mhard-float |
526 | DEFAULTTUNE_virtclass-multilib-libmblem64bspfpd = "microblazele64bspfpd" | 526 | DEFAULTTUNE:virtclass-multilib-libmblem64bspfpd = "microblazele64bspfpd" |
527 | 527 | ||
528 | AVAILTUNES += "microblazele64bspfpd" | 528 | AVAILTUNES += "microblazele64bspfpd" |
529 | BASE_LIB_tune-microblazele64bspfpd = "lib/le/m64/bs/p/fpd" | 529 | BASE_LIB:tune-microblazele64bspfpd = "lib/le/m64/bs/p/fpd" |
530 | TUNE_FEATURES_tune-microblazele64bspfpd = "microblaze 64-bit barrel-shift pattern-compare fpu-hard" | 530 | TUNE_FEATURES:tune-microblazele64bspfpd = "microblaze 64-bit barrel-shift pattern-compare fpu-hard" |
531 | PACKAGE_EXTRA_ARCHS_tune-microblazele64bspfpd = "${TUNE_PKGARCH}" | 531 | PACKAGE_EXTRA_ARCHS:tune-microblazele64bspfpd = "${TUNE_PKGARCH}" |
532 | 532 | ||
533 | 533 | ||
534 | # le/m64/bs/p/m/fpd | 534 | # le/m64/bs/p/m/fpd |
535 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul -mhard-float | 535 | # CFLAGS: -mlittle-endian -m64 -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-mul -mhard-float |
536 | DEFAULTTUNE_virtclass-multilib-libmblem64bspmfpd = "microblazele64bspmfpd" | 536 | DEFAULTTUNE:virtclass-multilib-libmblem64bspmfpd = "microblazele64bspmfpd" |
537 | 537 | ||
538 | AVAILTUNES += "microblazele64bspmfpd" | 538 | AVAILTUNES += "microblazele64bspmfpd" |
539 | BASE_LIB_tune-microblazele64bspmfpd = "lib/le/m64/bs/p/m/fpd" | 539 | BASE_LIB:tune-microblazele64bspmfpd = "lib/le/m64/bs/p/m/fpd" |
540 | TUNE_FEATURES_tune-microblazele64bspmfpd = "microblaze 64-bit barrel-shift pattern-compare multiply-low fpu-hard" | 540 | TUNE_FEATURES:tune-microblazele64bspmfpd = "microblaze 64-bit barrel-shift pattern-compare multiply-low fpu-hard" |
541 | PACKAGE_EXTRA_ARCHS_tune-microblazele64bspmfpd = "${TUNE_PKGARCH}" | 541 | PACKAGE_EXTRA_ARCHS:tune-microblazele64bspmfpd = "${TUNE_PKGARCH}" |
diff --git a/meta-xilinx-standalone/conf/machine/microblaze-versal-fw.conf b/meta-xilinx-standalone/conf/machine/microblaze-versal-fw.conf index 30e24c33..fecbf1b2 100644 --- a/meta-xilinx-standalone/conf/machine/microblaze-versal-fw.conf +++ b/meta-xilinx-standalone/conf/machine/microblaze-versal-fw.conf | |||
@@ -5,7 +5,7 @@ DEFAULTTUNE ?= "microblaze" | |||
5 | require conf/machine/versal-generic.conf | 5 | require conf/machine/versal-generic.conf |
6 | 6 | ||
7 | AVAILTUNES += "microblaze" | 7 | AVAILTUNES += "microblaze" |
8 | TUNE_FEATURES_tune-microblaze = "microblaze v10.0 barrel-shift pattern-compare fpu-soft" | 8 | TUNE_FEATURES:tune-microblaze = "microblaze v10.0 barrel-shift pattern-compare fpu-soft" |
9 | PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" | 9 | PACKAGE_EXTRA_ARCHS:tune-microblaze = "${TUNE_PKGARCH}" |
10 | 10 | ||
11 | LINKER_HASH_STYLE_microblaze = "" | 11 | LINKER_HASH_STYLE:microblaze = "" |
diff --git a/meta-xilinx-standalone/conf/machine/microblaze-zynqmp-pmu.conf b/meta-xilinx-standalone/conf/machine/microblaze-zynqmp-pmu.conf index e1d26849..9df63e61 100644 --- a/meta-xilinx-standalone/conf/machine/microblaze-zynqmp-pmu.conf +++ b/meta-xilinx-standalone/conf/machine/microblaze-zynqmp-pmu.conf | |||
@@ -7,7 +7,7 @@ require conf/machine/zynqmp-generic.conf | |||
7 | 7 | ||
8 | # Endianess, multiplier, barrel shift, pattern compare, floating point double or single, are the possibilities | 8 | # Endianess, multiplier, barrel shift, pattern compare, floating point double or single, are the possibilities |
9 | AVAILTUNES += "microblaze" | 9 | AVAILTUNES += "microblaze" |
10 | TUNE_FEATURES_tune-microblaze = "microblaze v9.2 barrel-shift pattern-compare reorder fpu-soft" | 10 | TUNE_FEATURES:tune-microblaze = "microblaze v9.2 barrel-shift pattern-compare reorder fpu-soft" |
11 | PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" | 11 | PACKAGE_EXTRA_ARCHS:tune-microblaze = "${TUNE_PKGARCH}" |
12 | 12 | ||
13 | LINKER_HASH_STYLE_microblaze = "" | 13 | LINKER_HASH_STYLE:microblaze = "" |
diff --git a/meta-xilinx-standalone/conf/multiconfig/versal-fw.conf b/meta-xilinx-standalone/conf/multiconfig/versal-fw.conf index f1a6cab0..3629b373 100644 --- a/meta-xilinx-standalone/conf/multiconfig/versal-fw.conf +++ b/meta-xilinx-standalone/conf/multiconfig/versal-fw.conf | |||
@@ -1,8 +1,8 @@ | |||
1 | # To be used with a versal machine | 1 | # To be used with a versal machine |
2 | # Re-use the main machine, which SHOULD allow us to override the default tune! | 2 | # Re-use the main machine, which SHOULD allow us to override the default tune! |
3 | DEFAULTTUNE = "microblaze" | 3 | DEFAULTTUNE = "microblaze" |
4 | TUNE_FEATURES_tune-microblaze = "microblaze v10.0 barrel-shift pattern-compare fpu-soft" | 4 | TUNE_FEATURES:tune-microblaze = "microblaze v10.0 barrel-shift pattern-compare fpu-soft" |
5 | #LINKER_HASH_STYLE_microblaze = "" | 5 | #LINKER_HASH_STYLE:microblaze = "" |
6 | 6 | ||
7 | DISTRO = "xilinx-standalone" | 7 | DISTRO = "xilinx-standalone" |
8 | 8 | ||
diff --git a/meta-xilinx-standalone/conf/multiconfig/zynqmp-pmufw.conf b/meta-xilinx-standalone/conf/multiconfig/zynqmp-pmufw.conf index 618c3c2d..17d8a6a3 100644 --- a/meta-xilinx-standalone/conf/multiconfig/zynqmp-pmufw.conf +++ b/meta-xilinx-standalone/conf/multiconfig/zynqmp-pmufw.conf | |||
@@ -1,8 +1,8 @@ | |||
1 | # To be used with a zynqmp machine | 1 | # To be used with a zynqmp machine |
2 | # Re-use the main machine, which SHOULD allow us to override the default tune! | 2 | # Re-use the main machine, which SHOULD allow us to override the default tune! |
3 | DEFAULTTUNE = "microblaze" | 3 | DEFAULTTUNE = "microblaze" |
4 | TUNE_FEATURES_tune-microblaze = "microblaze v9.2 barrel-shift pattern-compare reorder fpu-soft" | 4 | TUNE_FEATURES:tune-microblaze = "microblaze v9.2 barrel-shift pattern-compare reorder fpu-soft" |
5 | #LINKER_HASH_STYLE_microblaze = "" | 5 | #LINKER_HASH_STYLE:microblaze = "" |
6 | 6 | ||
7 | DISTRO = "xilinx-standalone" | 7 | DISTRO = "xilinx-standalone" |
8 | 8 | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend index e6d1e65d..013f0401 100644 --- a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend +++ b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend | |||
@@ -2,12 +2,12 @@ COMPATIBLE_HOST_xilinx-standalone = "${HOST_SYS}" | |||
2 | 2 | ||
3 | COMPATIBLE_MACHINE_cortexa53-zynqmp = ".*" | 3 | COMPATIBLE_MACHINE_cortexa53-zynqmp = ".*" |
4 | COMPATIBLE_MACHINE_cortexr5-zynqmp = ".*" | 4 | COMPATIBLE_MACHINE_cortexr5-zynqmp = ".*" |
5 | COMPATIBLE_MACHINE_microblaze-pmu = ".*" | 5 | COMPATIBLE_MACHINE:microblaze-pmu = ".*" |
6 | COMPATIBLE_MACHINE_microblaze-plm = ".*" | 6 | COMPATIBLE_MACHINE:microblaze-plm = ".*" |
7 | COMPATIBLE_MACHINE_cortexa72-versal = ".*" | 7 | COMPATIBLE_MACHINE_cortexa72-versal = ".*" |
8 | COMPATIBLE_MACHINE_cortexr5-versal = ".*" | 8 | COMPATIBLE_MACHINE_cortexr5-versal = ".*" |
9 | COMPATIBLE_MACHINE_cortexa9-zynq = ".*" | 9 | COMPATIBLE_MACHINE_cortexa9-zynq = ".*" |
10 | 10 | ||
11 | # Enable @ flag on dtc which is required by libxil | 11 | # Enable @ flag on dtc which is required by libxil |
12 | DTC_FLAGS_append_xilinx-standalone = " -@" | 12 | DTC_FLAGS:append_xilinx-standalone = " -@" |
13 | DT_INCLUDE_append_xilinx-standalone = " ${WORKDIR}/git/device_tree/data/kernel_dtsi/${XILINX_RELEASE_VERSION}/include/" | 13 | DT_INCLUDE:append_xilinx-standalone = " ${WORKDIR}/git/device_tree/data/kernel_dtsi/${XILINX_RELEASE_VERSION}/include/" |
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc index 2e1b6c6a..03292633 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc | |||
@@ -4,8 +4,8 @@ inherit xlnx-embeddedsw deploy | |||
4 | 4 | ||
5 | COMPATIBLE_HOST = ".*-(elf|eabi)" | 5 | COMPATIBLE_HOST = ".*-(elf|eabi)" |
6 | COMPATIBLE_MACHINE = "none" | 6 | COMPATIBLE_MACHINE = "none" |
7 | COMPATIBLE_MACHINE_zynq = ".*" | 7 | COMPATIBLE_MACHINE:zynq = ".*" |
8 | COMPATIBLE_MACHINE_zynqmp = ".*" | 8 | COMPATIBLE_MACHINE:zynqmp = ".*" |
9 | 9 | ||
10 | # Specify a default in case boardvariant isn't available | 10 | # Specify a default in case boardvariant isn't available |
11 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | 11 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" |
@@ -14,8 +14,8 @@ PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | |||
14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
15 | 15 | ||
16 | APP_DIR = "undefined" | 16 | APP_DIR = "undefined" |
17 | APP_DIR_zynq = "zynq_fsbl" | 17 | APP_DIR:zynq = "zynq_fsbl" |
18 | APP_DIR_zynqmp = "zynqmp_fsbl" | 18 | APP_DIR:zynqmp = "zynqmp_fsbl" |
19 | 19 | ||
20 | B = "${S}/lib/sw_apps/${APP_DIR}/src" | 20 | B = "${S}/lib/sw_apps/${APP_DIR}/src" |
21 | 21 | ||
@@ -32,8 +32,8 @@ EXTRA_COMPILER_FLAGS = "-g -Wall -Wextra -Os -flto -ffat-lto-objects" | |||
32 | ARCHIVER = "${AR}" | 32 | ARCHIVER = "${AR}" |
33 | 33 | ||
34 | BSP_DIR ?= "${B}/../misc/undefined" | 34 | BSP_DIR ?= "${B}/../misc/undefined" |
35 | BSP_DIR_zynq ?= "${B}/../misc/zynq_fsbl_bsp" | 35 | BSP_DIR:zynq ?= "${B}/../misc/zynq_fsbl_bsp" |
36 | BSP_DIR_zynqmp ?= "${B}/../misc/zynqmp_fsbl_bsp" | 36 | BSP_DIR:zynqmp ?= "${B}/../misc/zynqmp_fsbl_bsp" |
37 | BSP_TARGETS_DIR ?= "${BSP_DIR}/psu_cortexa53_0/libsrc" | 37 | BSP_TARGETS_DIR ?= "${BSP_DIR}/psu_cortexa53_0/libsrc" |
38 | 38 | ||
39 | # FSBL components expect AS to be CC. | 39 | # FSBL components expect AS to be CC. |
@@ -47,7 +47,7 @@ def bsp_make_vars(d): | |||
47 | 47 | ||
48 | EXTRA_OEMAKE = "${@bsp_make_vars(d)}" | 48 | EXTRA_OEMAKE = "${@bsp_make_vars(d)}" |
49 | 49 | ||
50 | ARM_INSTRUCTION_SET_eabi_arm = "arm" | 50 | ARM_INSTRUCTION_SET:eabi:arm = "arm" |
51 | do_compile() { | 51 | do_compile() { |
52 | oe_runmake | 52 | oe_runmake |
53 | } | 53 | } |
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb index f6fbf8b2..3f9740a0 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb | |||
@@ -8,4 +8,4 @@ SRC_URI += " \ | |||
8 | " | 8 | " |
9 | 9 | ||
10 | # This version does not build for zynq | 10 | # This version does not build for zynq |
11 | COMPATIBLE_MACHINE_zynq = "none" | 11 | COMPATIBLE_MACHINE:zynq = "none" |
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_git.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_git.bb index 65cb3433..697431ad 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_git.bb +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_git.bb | |||
@@ -10,4 +10,4 @@ SRC_URI += " \ | |||
10 | " | 10 | " |
11 | 11 | ||
12 | # This version does not build for zynq | 12 | # This version does not build for zynq |
13 | COMPATIBLE_MACHINE_zynq = "none" | 13 | COMPATIBLE_MACHINE:zynq = "none" |
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc index 02687da3..08f4b4e1 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc | |||
@@ -5,7 +5,7 @@ inherit xlnx-embeddedsw deploy | |||
5 | 5 | ||
6 | COMPATIBLE_HOST = "microblaze.*-elf" | 6 | COMPATIBLE_HOST = "microblaze.*-elf" |
7 | COMPATIBLE_MACHINE = "none" | 7 | COMPATIBLE_MACHINE = "none" |
8 | COMPATIBLE_MACHINE_versal = ".*" | 8 | COMPATIBLE_MACHINE:versal = ".*" |
9 | 9 | ||
10 | # Specify a default in case boardvariant isn't available | 10 | # Specify a default in case boardvariant isn't available |
11 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | 11 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc index 81fc0774..9912fa0b 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc | |||
@@ -4,7 +4,7 @@ inherit xlnx-embeddedsw deploy | |||
4 | 4 | ||
5 | COMPATIBLE_HOST = "microblaze.*-elf" | 5 | COMPATIBLE_HOST = "microblaze.*-elf" |
6 | COMPATIBLE_MACHINE = "none" | 6 | COMPATIBLE_MACHINE = "none" |
7 | COMPATIBLE_MACHINE_zynqmp = ".*" | 7 | COMPATIBLE_MACHINE:zynqmp = ".*" |
8 | 8 | ||
9 | # Specify a default in case boardvariant isn't available | 9 | # Specify a default in case boardvariant isn't available |
10 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | 10 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc index 3ba47bb5..806592c2 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc | |||
@@ -5,7 +5,7 @@ inherit xlnx-embeddedsw deploy | |||
5 | 5 | ||
6 | COMPATIBLE_HOST = "microblaze.*-elf" | 6 | COMPATIBLE_HOST = "microblaze.*-elf" |
7 | COMPATIBLE_MACHINE = "none" | 7 | COMPATIBLE_MACHINE = "none" |
8 | COMPATIBLE_MACHINE_versal = ".*" | 8 | COMPATIBLE_MACHINE:versal = ".*" |
9 | 9 | ||
10 | # Specify a default in case boardvariant isn't available | 10 | # Specify a default in case boardvariant isn't available |
11 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | 11 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-standalone/recipes-core/meta/gnu-toolchain-canadian.bb b/meta-xilinx-standalone/recipes-core/meta/gnu-toolchain-canadian.bb index ca8885b8..8b323c41 100644 --- a/meta-xilinx-standalone/recipes-core/meta/gnu-toolchain-canadian.bb +++ b/meta-xilinx-standalone/recipes-core/meta/gnu-toolchain-canadian.bb | |||
@@ -19,7 +19,7 @@ do_install () { | |||
19 | 19 | ||
20 | INHIBIT_DEFAULT_DEPS = "1" | 20 | INHIBIT_DEFAULT_DEPS = "1" |
21 | 21 | ||
22 | ALLOW_EMPTY_${PN} = "1" | 22 | ALLOW_EMPTY:${PN} = "1" |
23 | FILES_${PN} = "${bindir}" | 23 | FILES:${PN} = "${bindir}" |
24 | 24 | ||
25 | PACKAGES = "${PN}" | 25 | PACKAGES = "${PN}" |
diff --git a/meta-xilinx-standalone/recipes-core/newlib/libgloss_4.%.bbappend b/meta-xilinx-standalone/recipes-core/newlib/libgloss_4.%.bbappend index 646d0e9a..0301c572 100644 --- a/meta-xilinx-standalone/recipes-core/newlib/libgloss_4.%.bbappend +++ b/meta-xilinx-standalone/recipes-core/newlib/libgloss_4.%.bbappend | |||
@@ -1,10 +1,10 @@ | |||
1 | COMPATIBLE_HOST = ".*-elf" | 1 | COMPATIBLE_HOST = ".*-elf" |
2 | COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" | 2 | COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi" |
3 | 3 | ||
4 | # When building multiple, we need to depend on the multilib newlib | 4 | # When building multiple, we need to depend on the multilib newlib |
5 | DEPENDS_append_xilinx-standalone = " ${MLPREFIX}newlib" | 5 | DEPENDS:append_xilinx-standalone = " ${MLPREFIX}newlib" |
6 | 6 | ||
7 | EXTRA_OECONF_append_xilinx-standalone = " \ | 7 | EXTRA_OECONF:append_xilinx-standalone = " \ |
8 | --enable-newlib-io-c99-formats \ | 8 | --enable-newlib-io-c99-formats \ |
9 | --enable-newlib-io-long-long \ | 9 | --enable-newlib-io-long-long \ |
10 | --enable-newlib-io-float \ | 10 | --enable-newlib-io-float \ |
diff --git a/meta-xilinx-standalone/recipes-core/newlib/newlib_4.%.bbappend b/meta-xilinx-standalone/recipes-core/newlib/newlib_4.%.bbappend index 90522cfb..0d958f68 100644 --- a/meta-xilinx-standalone/recipes-core/newlib/newlib_4.%.bbappend +++ b/meta-xilinx-standalone/recipes-core/newlib/newlib_4.%.bbappend | |||
@@ -1,7 +1,7 @@ | |||
1 | COMPATIBLE_HOST = ".*-elf" | 1 | COMPATIBLE_HOST = ".*-elf" |
2 | COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" | 2 | COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi" |
3 | 3 | ||
4 | EXTRA_OECONF_append_xilinx-standalone = " \ | 4 | EXTRA_OECONF:append_xilinx-standalone = " \ |
5 | --enable-newlib-io-c99-formats \ | 5 | --enable-newlib-io-c99-formats \ |
6 | --enable-newlib-io-long-long \ | 6 | --enable-newlib-io-long-long \ |
7 | --enable-newlib-io-float \ | 7 | --enable-newlib-io-float \ |
@@ -9,12 +9,12 @@ EXTRA_OECONF_append_xilinx-standalone = " \ | |||
9 | " | 9 | " |
10 | 10 | ||
11 | # Avoid trimmping CCARGS from CC by newlib configure | 11 | # Avoid trimmping CCARGS from CC by newlib configure |
12 | do_configure_prepend_xilinx-standalone(){ | 12 | do_configure:prepend_xilinx-standalone(){ |
13 | export CC_FOR_TARGET="${CC}" | 13 | export CC_FOR_TARGET="${CC}" |
14 | } | 14 | } |
15 | 15 | ||
16 | # Fix for multilib newlib installations | 16 | # Fix for multilib newlib installations |
17 | do_install_prepend_xilinx-standalone() { | 17 | do_install:prepend_xilinx-standalone() { |
18 | mkdir -p $(dirname ${D}${libdir}) | 18 | mkdir -p $(dirname ${D}${libdir}) |
19 | mkdir -p $(dirname ${D}${includedir}) | 19 | mkdir -p $(dirname ${D}${includedir}) |
20 | } | 20 | } |
diff --git a/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-cross-canadian.bbappend b/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-cross-canadian.bbappend index 456ec6c1..1df5430f 100644 --- a/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-cross-canadian.bbappend +++ b/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-cross-canadian.bbappend | |||
@@ -5,7 +5,7 @@ | |||
5 | GNUTCLINKS = "gnu-toolchain-canadian-${TARGET_SYS}" | 5 | GNUTCLINKS = "gnu-toolchain-canadian-${TARGET_SYS}" |
6 | 6 | ||
7 | # Without the := the eval during do_package is occasionally missing multilibs | 7 | # Without the := the eval during do_package is occasionally missing multilibs |
8 | RDEPENDS_${PN}_xilinx-standalone := " \ | 8 | RDEPENDS:${PN}_xilinx-standalone := " \ |
9 | ${@all_multilib_tune_values(d, 'GNUTCLINKS')} \ | 9 | ${@all_multilib_tune_values(d, 'GNUTCLINKS')} \ |
10 | ${BINUTILS} \ | 10 | ${BINUTILS} \ |
11 | ${GCC} \ | 11 | ${GCC} \ |
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 b64554d3..5534e1d9 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 | |||
@@ -6,7 +6,7 @@ PACKAGE_ARCH = "${TUNE_PKGARCH}" | |||
6 | 6 | ||
7 | inherit packagegroup | 7 | inherit packagegroup |
8 | 8 | ||
9 | RDEPENDS_${PN} = "\ | 9 | RDEPENDS:${PN} = "\ |
10 | libgcc-dev \ | 10 | libgcc-dev \ |
11 | libstdc++-dev \ | 11 | libstdc++-dev \ |
12 | ${LIBC_DEPENDENCIES} \ | 12 | ${LIBC_DEPENDENCIES} \ |
diff --git a/meta-xilinx-standalone/recipes-devtools/binutils/binutils-xilinx-standalone.inc b/meta-xilinx-standalone/recipes-devtools/binutils/binutils-xilinx-standalone.inc index ac569736..0d647c31 100644 --- a/meta-xilinx-standalone/recipes-devtools/binutils/binutils-xilinx-standalone.inc +++ b/meta-xilinx-standalone/recipes-devtools/binutils/binutils-xilinx-standalone.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | LDGOLD_xilinx-standalone = "" | 1 | LDGOLD_xilinx-standalone = "" |
2 | LDGOLD_ALTS_xilinx-standalone = "" | 2 | LDGOLD_ALTS_xilinx-standalone = "" |
3 | 3 | ||
4 | EXTRA_OECONF_append_xilinx-standalone = " \ | 4 | EXTRA_OECONF:append_xilinx-standalone = " \ |
5 | --disable-gprof \ | 5 | --disable-gprof \ |
6 | --disable-shared \ | 6 | --disable-shared \ |
7 | --enable-lto \ | 7 | --enable-lto \ |
@@ -10,10 +10,10 @@ EXTRA_OECONF_append_xilinx-standalone = " \ | |||
10 | " | 10 | " |
11 | 11 | ||
12 | # CortexR5 and 32-bit arm are both "arm" | 12 | # CortexR5 and 32-bit arm are both "arm" |
13 | EXTRA_OECONF_append_xilinx-standalone_arm = " \ | 13 | EXTRA_OECONF:append_xilinx-standalone:arm = " \ |
14 | --enable-interwork \ | 14 | --enable-interwork \ |
15 | " | 15 | " |
16 | 16 | ||
17 | EXTRA_OECONF_append_xilinx-standalone_microblaze = " \ | 17 | EXTRA_OECONF:append_xilinx-standalone:microblaze = " \ |
18 | --disable-initfini-array \ | 18 | --disable-initfini-array \ |
19 | " | 19 | " |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-configure-xilinx-standalone.inc b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-configure-xilinx-standalone.inc index b9bfe83d..dcc82297 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-configure-xilinx-standalone.inc +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-configure-xilinx-standalone.inc | |||
@@ -2,6 +2,6 @@ | |||
2 | LINKER_HASH_STYLE_xilinx-standalone = "" | 2 | LINKER_HASH_STYLE_xilinx-standalone = "" |
3 | SYMVERS_CONF_xilinx-standalone = "" | 3 | SYMVERS_CONF_xilinx-standalone = "" |
4 | 4 | ||
5 | EXTRA_OECONF_append_xilinx-standalone_microblaze = " --disable-initfini_array" | 5 | EXTRA_OECONF:append_xilinx-standalone:microblaze = " --disable-initfini_array" |
6 | 6 | ||
7 | EXTRA_OECONF_append_xilinx-standalone_microblaze = " --disable-__cxa_atexit" | 7 | EXTRA_OECONF:append_xilinx-standalone:microblaze = " --disable-__cxa_atexit" |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend index 15234848..50681be2 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend | |||
@@ -4,7 +4,7 @@ require gcc-xilinx-standalone.inc | |||
4 | # We want to use the stock multilib configs, when available | 4 | # We want to use the stock multilib configs, when available |
5 | EXTRACONFFUNCS_xilinx-standalone = "" | 5 | EXTRACONFFUNCS_xilinx-standalone = "" |
6 | 6 | ||
7 | EXTRA_OECONF_append_xilinx-standalone = " \ | 7 | EXTRA_OECONF:append_xilinx-standalone = " \ |
8 | --enable-multilib \ | 8 | --enable-multilib \ |
9 | " | 9 | " |
10 | 10 | ||
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend index 7057a057..ecfb8bb3 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | |||
@@ -2,7 +2,7 @@ require gcc-configure-xilinx-standalone.inc | |||
2 | 2 | ||
3 | COMPATIBLE_HOST = "${HOST_SYS}" | 3 | COMPATIBLE_HOST = "${HOST_SYS}" |
4 | 4 | ||
5 | EXTRA_OECONF_append_xilinx-standalone_class-target = " \ | 5 | EXTRA_OECONF:append_xilinx-standalone:class-target = " \ |
6 | --disable-libstdcxx-pch \ | 6 | --disable-libstdcxx-pch \ |
7 | --with-newlib \ | 7 | --with-newlib \ |
8 | --disable-threads \ | 8 | --disable-threads \ |
@@ -11,7 +11,7 @@ EXTRA_OECONF_append_xilinx-standalone_class-target = " \ | |||
11 | --disable-libitm \ | 11 | --disable-libitm \ |
12 | " | 12 | " |
13 | 13 | ||
14 | EXTRA_OECONF_append_xilinx-standalone_aarch64_class-target = " \ | 14 | EXTRA_OECONF:append_xilinx-standalone:aarch64:class-target = " \ |
15 | --disable-multiarch \ | 15 | --disable-multiarch \ |
16 | --with-arch=armv8-a \ | 16 | --with-arch=armv8-a \ |
17 | " | 17 | " |
@@ -19,18 +19,18 @@ EXTRA_OECONF_append_xilinx-standalone_aarch64_class-target = " \ | |||
19 | # Both arm and armrm overrides are set w/ cortex r5 | 19 | # Both arm and armrm overrides are set w/ cortex r5 |
20 | # So only set rmprofile if armrm is defined. | 20 | # So only set rmprofile if armrm is defined. |
21 | ARM_PROFILE = "aprofile" | 21 | ARM_PROFILE = "aprofile" |
22 | ARM_PROFILE_armrm = "rmprofile" | 22 | ARM_PROFILE:armrm = "rmprofile" |
23 | 23 | ||
24 | EXTRA_OECONF_append_xilinx-standalone_arm_class-target = " \ | 24 | EXTRA_OECONF:append_xilinx-standalone:arm:class-target = " \ |
25 | --with-multilib-list=${ARM_PROFILE} \ | 25 | --with-multilib-list=${ARM_PROFILE} \ |
26 | " | 26 | " |
27 | 27 | ||
28 | EXTRA_OECONF_append_xilinx-standalone_armrm_class-target = " \ | 28 | EXTRA_OECONF:append_xilinx-standalone:armrm:class-target = " \ |
29 | --disable-tls \ | 29 | --disable-tls \ |
30 | --disable-decimal-float \ | 30 | --disable-decimal-float \ |
31 | " | 31 | " |
32 | 32 | ||
33 | EXTRA_OECONF_append_xilinx-standalone_microblaze_class-target = " \ | 33 | EXTRA_OECONF:append_xilinx-standalone:microblaze:class-target = " \ |
34 | --enable-target-optspace \ | 34 | --enable-target-optspace \ |
35 | --without-long-double-128 \ | 35 | --without-long-double-128 \ |
36 | " | 36 | " |
@@ -38,9 +38,9 @@ EXTRA_OECONF_append_xilinx-standalone_microblaze_class-target = " \ | |||
38 | # Changes local to gcc-runtime... | 38 | # Changes local to gcc-runtime... |
39 | 39 | ||
40 | # Dont build libitm, etc. | 40 | # Dont build libitm, etc. |
41 | RUNTIMETARGET_xilinx-standalone_class-target = "libstdc++-v3" | 41 | RUNTIMETARGET_xilinx-standalone:class-target = "libstdc++-v3" |
42 | 42 | ||
43 | do_install_append_xilinx-standalone_class-target() { | 43 | do_install:append_xilinx-standalone:class-target() { |
44 | # Fixup what gcc-runtime normally would do, we don't want linux directories! | 44 | # Fixup what gcc-runtime normally would do, we don't want linux directories! |
45 | rm -rf ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux | 45 | rm -rf ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux |
46 | 46 | ||
@@ -69,6 +69,6 @@ do_install_append_xilinx-standalone_class-target() { | |||
69 | fi | 69 | fi |
70 | } | 70 | } |
71 | 71 | ||
72 | FILES_${PN}-dbg_append_xilinx-standalone_class-target = "\ | 72 | FILES:${PN}-dbg:append_xilinx-standalone:class-target = "\ |
73 | ${libdir}/libstdc++.a-gdb.py \ | 73 | ${libdir}/libstdc++.a-gdb.py \ |
74 | " | 74 | " |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_11.%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_11.%.bbappend index d3abc611..f2c9051d 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_11.%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_11.%.bbappend | |||
@@ -1,12 +1,12 @@ | |||
1 | COMPATIBLE_HOST = "${HOST_SYS}" | 1 | COMPATIBLE_HOST = "${HOST_SYS}" |
2 | 2 | ||
3 | # Add MicroBlaze Patches (only when using MicroBlaze) | 3 | # Add MicroBlaze Patches (only when using MicroBlaze) |
4 | FILESEXTRAPATHS_append_microblaze_xilinx-standalone := ":${THISDIR}/gcc-10" | 4 | FILESEXTRAPATHS:append:microblaze_xilinx-standalone := ":${THISDIR}/gcc-10" |
5 | SRC_URI_append_microblaze_xilinx-standalone = " \ | 5 | SRC_URI:append:microblaze_xilinx-standalone = " \ |
6 | file://additional-microblaze-multilibs.patch \ | 6 | file://additional-microblaze-multilibs.patch \ |
7 | " | 7 | " |
8 | 8 | ||
9 | CHECK_FOR_MICROBLAZE_microblaze = "1" | 9 | CHECK_FOR_MICROBLAZE:microblaze = "1" |
10 | 10 | ||
11 | python() { | 11 | python() { |
12 | if d.getVar('CHECK_FOR_MICROBLAZE') == '1': | 12 | if d.getVar('CHECK_FOR_MICROBLAZE') == '1': |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc index 29f67aff..ff3402a0 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | EXTRA_OECONF_append_xilinx-standalone = " \ | 1 | EXTRA_OECONF:append_xilinx-standalone = " \ |
2 | --disable-libstdcxx-pch \ | 2 | --disable-libstdcxx-pch \ |
3 | --with-newlib \ | 3 | --with-newlib \ |
4 | --disable-threads \ | 4 | --disable-threads \ |
@@ -7,7 +7,7 @@ EXTRA_OECONF_append_xilinx-standalone = " \ | |||
7 | --disable-libitm \ | 7 | --disable-libitm \ |
8 | " | 8 | " |
9 | 9 | ||
10 | EXTRA_OECONF_append_xilinx-standalone_aarch64 = " \ | 10 | EXTRA_OECONF:append_xilinx-standalone:aarch64 = " \ |
11 | --disable-multiarch \ | 11 | --disable-multiarch \ |
12 | --with-arch=armv8-a \ | 12 | --with-arch=armv8-a \ |
13 | " | 13 | " |
@@ -15,17 +15,17 @@ EXTRA_OECONF_append_xilinx-standalone_aarch64 = " \ | |||
15 | # Both arm and armrm overrides are set w/ cortex r5 | 15 | # Both arm and armrm overrides are set w/ cortex r5 |
16 | # So only set rmprofile if armrm is defined. | 16 | # So only set rmprofile if armrm is defined. |
17 | ARM_PROFILE = "aprofile" | 17 | ARM_PROFILE = "aprofile" |
18 | ARM_PROFILE_armrm = "rmprofile" | 18 | ARM_PROFILE:armrm = "rmprofile" |
19 | EXTRA_OECONF_append_xilinx-standalone_arm = " \ | 19 | EXTRA_OECONF:append_xilinx-standalone:arm = " \ |
20 | --with-multilib-list=${ARM_PROFILE} \ | 20 | --with-multilib-list=${ARM_PROFILE} \ |
21 | " | 21 | " |
22 | 22 | ||
23 | EXTRA_OECONF_append_xilinx-standalone_armrm = " \ | 23 | EXTRA_OECONF:append_xilinx-standalone:armrm = " \ |
24 | --disable-tls \ | 24 | --disable-tls \ |
25 | --disable-decimal-float \ | 25 | --disable-decimal-float \ |
26 | " | 26 | " |
27 | 27 | ||
28 | EXTRA_OECONF_append_xilinx-standalone_microblaze = " \ | 28 | EXTRA_OECONF:append_xilinx-standalone:microblaze = " \ |
29 | --enable-target-optspace \ | 29 | --enable-target-optspace \ |
30 | --without-long-double-128 \ | 30 | --without-long-double-128 \ |
31 | " | 31 | " |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend index 17529a03..a9a389b2 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend | |||
@@ -2,7 +2,7 @@ require gcc-configure-xilinx-standalone.inc | |||
2 | 2 | ||
3 | COMPATIBLE_HOST = "${HOST_SYS}" | 3 | COMPATIBLE_HOST = "${HOST_SYS}" |
4 | 4 | ||
5 | python do_multilib_install_xilinx-standalone_class-target () { | 5 | python do_multilib_install_xilinx-standalone:class-target () { |
6 | pass | 6 | pass |
7 | } | 7 | } |
8 | 8 | ||
@@ -19,11 +19,11 @@ standalone_fixup () { | |||
19 | } | 19 | } |
20 | 20 | ||
21 | FIXUP_FUNCTION = "" | 21 | FIXUP_FUNCTION = "" |
22 | FIXUP_FUNCTION_xilinx-standalone_class-target = " standalone_fixup" | 22 | FIXUP_FUNCTION_xilinx-standalone:class-target = " standalone_fixup" |
23 | 23 | ||
24 | do_install[postfuncs] .= "${FIXUP_FUNCTION}" | 24 | do_install[postfuncs] .= "${FIXUP_FUNCTION}" |
25 | 25 | ||
26 | FILES_${PN}-dev_append_xilinx-standalone_class-target = " \ | 26 | FILES:${PN}-dev:append_xilinx-standalone:class-target = " \ |
27 | ${libdir}/*.a \ | 27 | ${libdir}/*.a \ |
28 | ${libdir}/*.o \ | 28 | ${libdir}/*.o \ |
29 | " | 29 | " |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/mb-convert.sh b/meta-xilinx-standalone/recipes-devtools/gcc/mb-convert.sh index e05145ec..ab689444 100755 --- a/meta-xilinx-standalone/recipes-devtools/gcc/mb-convert.sh +++ b/meta-xilinx-standalone/recipes-devtools/gcc/mb-convert.sh | |||
@@ -37,9 +37,9 @@ sed -e 's,;, ,' | | |||
37 | echo 'DEFAULTTUNE = "microblaze"' | 37 | echo 'DEFAULTTUNE = "microblaze"' |
38 | echo | 38 | echo |
39 | echo 'AVAILTUNES += "microblaze"' | 39 | echo 'AVAILTUNES += "microblaze"' |
40 | echo 'BASE_LIB_tune-microblaze = "lib"' | 40 | echo 'BASE_LIB:tune-microblaze = "lib"' |
41 | echo 'TUNE_FEATURES_tune-microblaze = "microblaze bigendian"' | 41 | echo 'TUNE_FEATURES:tune-microblaze = "microblaze bigendian"' |
42 | echo 'PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}"' | 42 | echo 'PACKAGE_EXTRA_ARCHS:tune-microblaze = "${TUNE_PKGARCH}"' |
43 | continue | 43 | continue |
44 | fi | 44 | fi |
45 | 45 | ||
@@ -51,10 +51,10 @@ sed -e 's,;, ,' | | |||
51 | echo | 51 | echo |
52 | echo "# $mlib" | 52 | echo "# $mlib" |
53 | echo "# CFLAGS:${cflags}" | 53 | echo "# CFLAGS:${cflags}" |
54 | echo "DEFAULTTUNE_virtclass-multilib-$multilib = \"$tune\"" | 54 | echo "DEFAULTTUNE:virtclass-multilib-$multilib = \"$tune\"" |
55 | echo | 55 | echo |
56 | echo "AVAILTUNES += \"$tune\"" | 56 | echo "AVAILTUNES += \"$tune\"" |
57 | echo "BASE_LIB_tune-$tune = \"lib/$mlib\"" | 57 | echo "BASE_LIB:tune-$tune = \"lib/$mlib\"" |
58 | echo "TUNE_FEATURES_tune-$tune = \"${features}\"" | 58 | echo "TUNE_FEATURES:tune-$tune = \"${features}\"" |
59 | echo "PACKAGE_EXTRA_ARCHS_tune-$tune = \"\${TUNE_PKGARCH}\"" | 59 | echo "PACKAGE_EXTRA_ARCHS:tune-$tune = \"\${TUNE_PKGARCH}\"" |
60 | done | 60 | done |