diff options
Diffstat (limited to 'meta-microblaze')
18 files changed, 38 insertions, 38 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 |