hash: Fix missing hashes after errors if missing

This commit is contained in:
Chris Johns 2023-12-07 08:10:36 +11:00
parent a970057f46
commit 08a44186e0
15 changed files with 134 additions and 62 deletions

View File

@ -10,6 +10,8 @@
%include %{_configdir}/base.cfg %include %{_configdir}/base.cfg
%define binutils_version 2.22 %define binutils_version 2.22
%hash sha512 binutils-%{binutils_version}.tar.bz2 \
/+jvJj75kYPozII/6Eh/99D3v5qO/ShTtfRjasoAI4UNE95OrH13pfaUE9ilDm+VuxRWm+U9+GwLzjgDRSWrdA==
# #
# The binutils build instructions. We use 2.xx Release 1. # The binutils build instructions. We use 2.xx Release 1.

View File

@ -9,6 +9,9 @@
%define binutils_version 2.24 %define binutils_version 2.24
%hash sha512 binutils-%{binutils_version}.tar.bz2 \
Xsla1H1JsSxFWKjbDKIQnT7hlV43dgV/MzDEUG+PTRz15QX7+KFrmEA6D83qr5hv4KIr5kViR9vazmPOH3drEg==
# #
# Enable deterministic archives by default. This will be the default # Enable deterministic archives by default. This will be the default
# there all tools using this binutils will create deterministic # there all tools using this binutils will create deterministic

View File

@ -19,6 +19,19 @@
%define gmp_url https://ftp.gnu.org/gnu/gmp %define gmp_url https://ftp.gnu.org/gnu/gmp
%define mpfr_url https://ftp.gnu.org/gnu/mpfr %define mpfr_url https://ftp.gnu.org/gnu/mpfr
%hash sha512 gcc-core-%{gcc_version}.tar.bz2 \
ucVpu3E/OrCp1PbomMfQGRRUb7vmH021FRU2/+N0SQrm8VTfojgatgcrKJC3YVT769+S8GDoVAT1SZfwFpcvTA==
%hash sha512 gcc-g--%{gcc_version}.tar.gz \
qVHKvglD9l+ziCNrHuemi3ebq0T4aTQIkzRseYbiVEkA0LZeTyUHxpdlXzaxajB3szQG1Zh8VtMGhYZda9tOGA==
%hash sha512 newlib-%{newlib_version}.tar.gz \
Kr8dMJgORgxNb/5NFoLjhAPQVgSOAGdTYiVnMeV/5nWdAehby6hCWNIRlBkm4TvzxjL/OCSTGoRMiyWW55VFHw==
%hash sha512 mpfr-%{mpfr_version}.tar.bz2 \
u6x9DWP9O0zYleJHxEitzn9MK2tm7P4mrxOAGOD5aZH6jL2MvpT5JHYaoaxnbiWa8SKGAN/AhUMU6HXnc5/SeQ==
%hash sha512 mpc-%{mpc_version}.tar.gz \
3KrDiXrfFBHhGZ4pXojXQ4r8YA9BJWXDtFCwECuDdR6xYPhbdSKJEZX/Cgop/M7dB9wBGpUJaaCXnE49TvweEA==
%hash sha512 gmp-%{gmp_version}.tar.bz2 \
ZLqIpKZP77FurpxkTqgRlAEeoLQmZKWvawFOfaPQ8JYF3uUYuaNhsGUQMRzf1JaraNCdo9hdZoC9rD92XrZ/YQ==
# #
# Project custom message # Project custom message
# #

View File

@ -19,6 +19,17 @@
%define with_iconv 1 %define with_iconv 1
%endif %endif
%hash sha512 gcc-%{gcc_version}.tar.bz2 \
hZgQakt8A7tNbin6G/qe5rY5DR8byobBzNJ67YMK4dEm2qUMQEEBbL+nYJDdZsUfHOBpWLjM1sO+UerodRJVkw==
%hash sha512 newlib-%{newlib_version}.tar.gz \
Z3CGT5MHq7JAGk5I8oaEXTpK/DCyrJh9pLlkpUhcw4I7MtBqCr9hUo6TxK2KOgqjzB7NOwM4UOayvebZu8mlRw==
%hash sha512 mpfr-%{mpfr_version}.tar.bz2 \
u6x9DWP9O0zYleJHxEitzn9MK2tm7P4mrxOAGOD5aZH6jL2MvpT5JHYaoaxnbiWa8SKGAN/AhUMU6HXnc5/SeQ==
%hash sha512 mpc-%{mpc_version}.tar.gz \
3KrDiXrfFBHhGZ4pXojXQ4r8YA9BJWXDtFCwECuDdR6xYPhbdSKJEZX/Cgop/M7dB9wBGpUJaaCXnE49TvweEA==
%hash sha512 gmp-%{gmp_version}.tar.bz2 \
ZLqIpKZP77FurpxkTqgRlAEeoLQmZKWvawFOfaPQ8JYF3uUYuaNhsGUQMRzf1JaraNCdo9hdZoC9rD92XrZ/YQ==
# #
# The gcc/newlib build instructions. We use 4.9 Release 1. # The gcc/newlib build instructions. We use 4.9 Release 1.
# #

View File

@ -6,6 +6,8 @@
%include %{_configdir}/base.cfg %include %{_configdir}/base.cfg
%define gdb_version 7.7 %define gdb_version 7.7
%hash sha512 gdb-%{gdb_version}.tar.gz \
eNYj6X8jJUakcohURCIReUO4YtGZwR4E2E/GF210w27hqGLVJ07qKZbm6d6gnWtp5/DGxkrMS3oHuXSt0eiBPw==
# #
# The gdb build instructions. We use 7.xx Release 1. # The gdb build instructions. We use 7.xx Release 1.

View File

@ -11,7 +11,9 @@
# #
# nxlib Version # nxlib Version
# #
%define nxlib_version 0.47-dev %define nxlib_version 71d911dc3e
%hash sha512 nxlib-%{nxlib_version}.tar.gz \
6D1p1ryhBGVAqIaqz4Z71vFWZGusG1bB2F1WCy+aS9DTMCG76shIr4LajCMuM+qYrDui+ZCIYbH5ydLPQHHtig==
# #
# nxlib Build configuration # nxlib Build configuration

View File

@ -26,7 +26,7 @@
# #
%patch add net-snmp %{rtems_devel_ticket}/4703/rtems-net-snmp-5.7.2.1-20140623.patch %patch add net-snmp %{rtems_devel_ticket}/4703/rtems-net-snmp-5.7.2.1-20140623.patch
%hash sha512 rtems-net-snmp-5.7.2.1-20140623.patch \ %hash sha512 rtems-net-snmp-5.7.2.1-20140623.patch \
1edac8e064a1e60d476267fde3ac81ace952fb0f8d20c95663f2185d1c497a98d2a36f74e93405e563d1483e37d5a6be1dac90bbdb658888067af0714c696ee5 l54MvHErKJ7zOq3u8MYkVrNR930nRQTi/Huvv55CjtBwehiMU143+J+NtIdPPnMUmeeLnqNUpRWkszyfoETYzg==
# #
# NetSNMP Build configuration # NetSNMP Build configuration

View File

@ -14,7 +14,7 @@
+czrODTpJF+nvMF4TFQFi3qn3k+X/N4JnxHFChrWGXAnaBQayjEkSNObhmETG3qe/ET8dhXHwJs/1A3A7e3uLA== +czrODTpJF+nvMF4TFQFi3qn3k+X/N4JnxHFChrWGXAnaBQayjEkSNObhmETG3qe/ET8dhXHwJs/1A3A7e3uLA==
%define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c %define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
%hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \ %hash sha512 rtems_waf-%{rtems_waf_version}.tar.bz2 \
NAuyFxjfSiQd6VfYZl4fJClywPrLF2fN+GjXHjq3ddceqaBrSeHZ+XpYpU3XTnk2qKICsUSTLV+CskDuWdwqvQ== NAuyFxjfSiQd6VfYZl4fJClywPrLF2fN+GjXHjq3ddceqaBrSeHZ+XpYpU3XTnk2qKICsUSTLV+CskDuWdwqvQ==
# #

View File

@ -7,7 +7,7 @@
%hash sha512 rtems-libbsd-%{rtems_libbsd_version}.tar.bz2 \ %hash sha512 rtems-libbsd-%{rtems_libbsd_version}.tar.bz2 \
QiNVx1kFPcX9tmkY2mdWO2gb/t32J+AJkXOBAkyjfsaUuvBz43oMeOrpBFJuuix6eTmmukSzAulUCLdqBJlAWQ== QiNVx1kFPcX9tmkY2mdWO2gb/t32J+AJkXOBAkyjfsaUuvBz43oMeOrpBFJuuix6eTmmukSzAulUCLdqBJlAWQ==
%define rtems_waf_version ad08908c452c6a9bbb3bf7bbbcc9fc03fe46cc7f %define rtems_waf_version ad08908c452c6a9bbb3bf7bbbcc9fc03fe46cc7f
%hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \ %hash sha512 rtems_waf-%{rtems_waf_version}.tar.bz2 \
EyuEit0DsAR1gK9Ki1sjl416PFgFe7dcggH3H/hmdAPmMjEIIdX7TVOTDgOIK1Pt0DW6lZ9NcW7O87GZFyy8hg== EyuEit0DsAR1gK9Ki1sjl416PFgFe7dcggH3H/hmdAPmMjEIIdX7TVOTDgOIK1Pt0DW6lZ9NcW7O87GZFyy8hg==
# #

View File

@ -7,6 +7,6 @@
%hash sha512 rtems-net-legacy-%{rtems_net_version}.tar.bz2 \ %hash sha512 rtems-net-legacy-%{rtems_net_version}.tar.bz2 \
wM9thMsQQdhtNVBV+FnnE/YS+2r+N7rYLsmCUMs4zQIgQ/bqhg4Sk2nkgse9NBs/gXTeCzzwG3/BTH6eQIYjBg== wM9thMsQQdhtNVBV+FnnE/YS+2r+N7rYLsmCUMs4zQIgQ/bqhg4Sk2nkgse9NBs/gXTeCzzwG3/BTH6eQIYjBg==
%define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c %define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
%hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \ %hash sha512 rtems_waf-%{rtems_waf_version}.tar.bz2 \
NAuyFxjfSiQd6VfYZl4fJClywPrLF2fN+GjXHjq3ddceqaBrSeHZ+XpYpU3XTnk2qKICsUSTLV+CskDuWdwqvQ== NAuyFxjfSiQd6VfYZl4fJClywPrLF2fN+GjXHjq3ddceqaBrSeHZ+XpYpU3XTnk2qKICsUSTLV+CskDuWdwqvQ==
%include tools/rtems-net-legacy-common.cfg %include tools/rtems-net-legacy-common.cfg

View File

@ -1,40 +1,55 @@
%include tools/rtems-binutils-2.36.cfg %include tools/rtems-binutils-2.36.cfg
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch %define xilinx_github_url https://raw.githubusercontent.com/Xilinx/meta-xilinx
%hash sha512 0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch 56971b06821d7ab36b068016dde6086941121fca40d661056fe03f17507dafab075b306fe91d191c3fa0ec3617cd8649fe3023e0e5230e3fd5b4c2a648c23a94
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0002-Add-mlittle-endian-and-mbig-endian-flags.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch
%hash sha512 0002-Add-mlittle-endian-and-mbig-endian-flags.patch e6240d8d5eebb36b161b77348522cd59dad008017ce7579b66310719faa8bdba9d0f0466f4d81bf8c1d79ed2a3a2d777924a404da1010fc4dd866fcae2bde322 %hash sha512 0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch \
56971b06821d7ab36b068016dde6086941121fca40d661056fe03f17507dafab075b306fe91d191c3fa0ec3617cd8649fe3023e0e5230e3fd5b4c2a648c23a94
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0003-Disable-the-warning-message-for-eh_frame_hdr.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0002-Add-mlittle-endian-and-mbig-endian-flags.patch
%hash sha512 0003-Disable-the-warning-message-for-eh-frame-hdr.patch 2d90ef568bb649bc79b09ec3e745a25b5f177dc49f6b6bf7e9143685e5206bb7aee7a3fd3d013d64d82e2865e90a9cfeb7103aeb29189b1330613c562597a2fc %hash sha512 0002-Add-mlittle-endian-and-mbig-endian-flags.patch \
e6240d8d5eebb36b161b77348522cd59dad008017ce7579b66310719faa8bdba9d0f0466f4d81bf8c1d79ed2a3a2d777924a404da1010fc4dd866fcae2bde322
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0003-Disable-the-warning-message-for-eh_frame_hdr.patch
%hash sha512 0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch 76780fc9e410739320f07dd2fc517631f0bb4a8484d56ed96f0f8089acf1f8958dbc4045bfe67289086a63b3374a63e8fb2e09f7e7d52579b04d1114022d7214 %hash sha512 0003-Disable-the-warning-message-for-eh_frame_hdr.patch \
2d90ef568bb649bc79b09ec3e745a25b5f177dc49f6b6bf7e9143685e5206bb7aee7a3fd3d013d64d82e2865e90a9cfeb7103aeb29189b1330613c562597a2fc
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0005-upstream-change-to-garbage-collection-sweep-causes-m.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch
%hash sha512 0005-upstream-change-to-garbage-collection-sweep-causes-m.patch 76a76edd26dc9bd72b0330791d14362933f5bbbc5bef0f9a9e6ee307958a4f6791ceabdaadae3c969ac3f4c786b13784f473fde6fe8ddcbf3370ccfc8761d7ab %hash sha512 0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch \
76780fc9e410739320f07dd2fc517631f0bb4a8484d56ed96f0f8089acf1f8958dbc4045bfe67289086a63b3374a63e8fb2e09f7e7d52579b04d1114022d7214
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0005-upstream-change-to-garbage-collection-sweep-causes-m.patch
%hash sha512 0006-Fix-bug-in-TLSTPREL-Relocation.patch deed94f04fa91e993043f3e2f5e7c865555a7ffce83e959980daebc255247ba51d991d6289e682fa4dff1758f085e661f5c2888b078dcaf2e790873c96520928 %hash sha512 0005-upstream-change-to-garbage-collection-sweep-causes-m.patch \
76a76edd26dc9bd72b0330791d14362933f5bbbc5bef0f9a9e6ee307958a4f6791ceabdaadae3c969ac3f4c786b13784f473fde6fe8ddcbf3370ccfc8761d7ab
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0007-Added-Address-extension-instructions.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch
%hash sha512 0007-Added-Address-extension-instructions.patch 8fb1c588eeae2356001d2d79e06c0a6dcd37be6411c11856b064973860139d1b87d490133fd98b5d70bea24f275bdbd5114e11a41141c0be05f23317b187e705 %hash sha512 0006-Fix-bug-in-TLSTPREL-Relocation.patch \
deed94f04fa91e993043f3e2f5e7c865555a7ffce83e959980daebc255247ba51d991d6289e682fa4dff1758f085e661f5c2888b078dcaf2e790873c96520928
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0008-fixing-the-MAX_OPCODES-to-correct-value.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0007-Added-Address-extension-instructions.patch
%hash sha512 0008-fixing-the-MAX-OPCODES-to-correct-value.patch e8227eb42b87de038430ddf79bf9f7e58deee0ed263ce521512b0568456f36aab16f9cdcdb2af2b7d0e5330aab0d73479a91480731e86370d63af708d641f903 %hash sha512 0007-Added-Address-extension-instructions.patch \
8fb1c588eeae2356001d2d79e06c0a6dcd37be6411c11856b064973860139d1b87d490133fd98b5d70bea24f275bdbd5114e11a41141c0be05f23317b187e705
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0009-Add-new-bit-field-instructions.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0008-fixing-the-MAX_OPCODES-to-correct-value.patch
%hash sha512 0009-Add-new-bit-field-instructions.patch c1bcc51762b66706b286ffd50f3d55dcb99cdc43d2312e0af16b1c1444fe57cf1351d55267438cdd8c755d197646d9726873338b9f892ceb27810f324533e01c %hash sha512 0008-fixing-the-MAX_OPCODES-to-correct-value.patch \
e8227eb42b87de038430ddf79bf9f7e58deee0ed263ce521512b0568456f36aab16f9cdcdb2af2b7d0e5330aab0d73479a91480731e86370d63af708d641f903
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0010-fixing-the-imm-bug.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0009-Add-new-bit-field-instructions.patch
%hash sha512 0010-fixing-the-imm-bug.patch 15ae27cae58d375e74468bede264450b944c698e9e67fda41ba8044826695b7790f1b5b28d9484e016b49accaebfc9002e7a724854147ab2986deafb9557694c %hash sha512 0009-Add-new-bit-field-instructions.patch \
c1bcc51762b66706b286ffd50f3d55dcb99cdc43d2312e0af16b1c1444fe57cf1351d55267438cdd8c755d197646d9726873338b9f892ceb27810f324533e01c
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0011-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0010-fixing-the-imm-bug.patch
%hash sha512 0011-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch 3d4c21f650c18771f202d9e9b858a4f93ee1848328eaa4b55c62f4cff86e45aa62d94b323c60ba759160d086800ae039f62236c041fede5347a91ef3467a03cc %hash sha512 0010-fixing-the-imm-bug.patch \
15ae27cae58d375e74468bede264450b944c698e9e67fda41ba8044826695b7790f1b5b28d9484e016b49accaebfc9002e7a724854147ab2986deafb9557694c
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0012-fixing-the-constant-range-check-issue.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0011-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch
%hash sha512 0012-fixing-the-constant-range-check-issue.patch e3100a06f4a5a816dbde2af496ed0a8fbb37e94a7188fef58c9fe78212de75ddf28d45b38bd605f58157925b1f56ef137ab5f89accb6bb478b4144647416c20a %hash sha512 0011-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch \
3d4c21f650c18771f202d9e9b858a4f93ee1848328eaa4b55c62f4cff86e45aa62d94b323c60ba759160d086800ae039f62236c041fede5347a91ef3467a03cc
%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0013-Patch-Microblaze-Compiler-will-give-error-messages-i.patch %patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0012-fixing-the-constant-range-check-issue.patch
%hash sha512 0013-Patch-Microblaze-Compiler-will-give-error-messages-i.patch 7d52717cdd4680434935018edbf5b20b0a545494d33b54735238aefeb340476b7b04d40372f4c664f7cfdf346217bcbf70d1484cdcc7ffaabe74961d4be784a6 %hash sha512 0012-fixing-the-constant-range-check-issue.patch \
e3100a06f4a5a816dbde2af496ed0a8fbb37e94a7188fef58c9fe78212de75ddf28d45b38bd605f58157925b1f56ef137ab5f89accb6bb478b4144647416c20a
%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0013-Patch-Microblaze-Compiler-will-give-error-messages-i.patch
%hash sha512 0013-Patch-Microblaze-Compiler-will-give-error-messages-i.patch \
7d52717cdd4680434935018edbf5b20b0a545494d33b54735238aefeb340476b7b04d40372f4c664f7cfdf346217bcbf70d1484cdcc7ffaabe74961d4be784a6

View File

@ -1,49 +1,67 @@
%include tools/rtems-gcc-10-newlib-head.cfg %include tools/rtems-gcc-10-newlib-head.cfg
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch %define xilinx_github_url https://raw.githubusercontent.com/Xilinx/meta-xilinx
%hash sha512 0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch 5373e2a7ea6561263224e8da55318425eee7c91d633c45680183141093c2ea31aa7e7ee11a7ba3bd580a7edb405a162bc8904f48a354b154383fc938036a09c2
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch
%hash sha512 0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch 4bf9df22fe7be735deb2ee4353933eadf13fbee1f23254d4c870d8c99749e76eb8010cacb6143fad71c11b72063a774bd7ed050f61f7e75afe4cc3e945b83441 %hash sha512 0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch \
5373e2a7ea6561263224e8da55318425eee7c91d633c45680183141093c2ea31aa7e7ee11a7ba3bd580a7edb405a162bc8904f48a354b154383fc938036a09c2
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch
%hash sha512 0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch f8b8ae98a02d1aca64e3f91dad62977e006800b5b24112927fcd02a07fe40947f2209625b3b564cffb77dc6ab6e3db072cf93b26e925fed689b8d34b3cc612bf %hash sha512 0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch \
4bf9df22fe7be735deb2ee4353933eadf13fbee1f23254d4c870d8c99749e76eb8010cacb6143fad71c11b72063a774bd7ed050f61f7e75afe4cc3e945b83441
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch
%hash sha512 0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch f7823ba440cb3288fa372c690ffb878269915ee75be2693414338817e3bd8e9fd52545df4012b95c736d0a2fcca927bead86d5d9e70952af10b696299e3b2a4f %hash sha512 0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch \
f8b8ae98a02d1aca64e3f91dad62977e006800b5b24112927fcd02a07fe40947f2209625b3b564cffb77dc6ab6e3db072cf93b26e925fed689b8d34b3cc612bf
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch
%hash sha512 0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch 1d63269e9bf6eb92e6a18a371d8c89c5a7d8735f1483d798a1e486e38d98e9b72fb95515374e8f241ddfa43e6eb90ffb876b1f066fcd3fc230d1370c34db778a %hash sha512 0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch \
f7823ba440cb3288fa372c690ffb878269915ee75be2693414338817e3bd8e9fd52545df4012b95c736d0a2fcca927bead86d5d9e70952af10b696299e3b2a4f
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch
%hash sha512 0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch bf858501c97890035b05692c028c5f6fb66f1554cff59249e6af3e9882ab9a87d47e3696aa2e7a175bb1bf5dd38ba328e42474922706b5db93d2d5daaac7b620 %hash sha512 0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch \
1d63269e9bf6eb92e6a18a371d8c89c5a7d8735f1483d798a1e486e38d98e9b72fb95515374e8f241ddfa43e6eb90ffb876b1f066fcd3fc230d1370c34db778a
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0007-Patch-testsuite-Add-MicroBlaze-to-check_profiling_av.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch
%hash sha512 0007-Patch-testsuite-Add-MicroBlaze-to-check-profiling-av.patch 5d86cdf759dcf7261ec3d3665fe488a76d1dac47040fa55a9ddd5d7764d6de6ef4848467f3e41aab1ba774d7c59eb1649f7882bd9ef3bfcae84c71fcaba64d81 %hash sha512 0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch \
bf858501c97890035b05692c028c5f6fb66f1554cff59249e6af3e9882ab9a87d47e3696aa2e7a175bb1bf5dd38ba328e42474922706b5db93d2d5daaac7b620
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0008-Patch-microblaze-Fix-atomic-side-effects.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0007-Patch-testsuite-Add-MicroBlaze-to-check_profiling_av.patch
%hash sha512 0008-Patch-microblaze-Fix-atomic-side-effects.patch 422a48b95dbc4370ae2a07e90a42b7a5eca1757f5396d8c660f134629fed2cc694e2409e5d5cc835d69526a7c5316c94345acfc193faaa6b1caeab45f726bf7f %hash sha512 0007-Patch-testsuite-Add-MicroBlaze-to-check_profiling_av.patch \
5d86cdf759dcf7261ec3d3665fe488a76d1dac47040fa55a9ddd5d7764d6de6ef4848467f3e41aab1ba774d7c59eb1649f7882bd9ef3bfcae84c71fcaba64d81
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0008-Patch-microblaze-Fix-atomic-side-effects.patch
%hash sha512 0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch 4c0b452cead51332c2987150009e7c41e4609d0ecc9cb2cecc15cc84a5861787a44adc60ecf27d8314af7d164e87a49a370c398298801043a1499f12f720084d %hash sha512 0008-Patch-microblaze-Fix-atomic-side-effects.patch \
422a48b95dbc4370ae2a07e90a42b7a5eca1757f5396d8c660f134629fed2cc694e2409e5d5cc835d69526a7c5316c94345acfc193faaa6b1caeab45f726bf7f
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch
%hash sha512 0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch 5a0a0bbc9bcb16b97893f681b18900d37c572deb97eebd9849a06e481db77c37df9d2f67f9614ba02163bf7fde2be10fb7f3b43070e1728da27d52f5a0967bc2 %hash sha512 0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch \
4c0b452cead51332c2987150009e7c41e4609d0ecc9cb2cecc15cc84a5861787a44adc60ecf27d8314af7d164e87a49a370c398298801043a1499f12f720084d
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0011-Patch-microblaze-Added-ashrsi3_with_size_opt.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch
%hash sha512 0011-Patch-microblaze-Added-ashrsi3-with-size-opt.patch 104f0f80138f277ad8869a7a0261c647ee933bd053f4ce8f7f12675145ecabb1bf3015d16968534910e98cf518377beb9939721cd01de677d2c8f5bc3957373d %hash sha512 0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch \
5a0a0bbc9bcb16b97893f681b18900d37c572deb97eebd9849a06e481db77c37df9d2f67f9614ba02163bf7fde2be10fb7f3b43070e1728da27d52f5a0967bc2
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0011-Patch-microblaze-Added-ashrsi3_with_size_opt.patch
%hash sha512 0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch ad05cd7b91db89596394d538fd97833e374ae98b666e25ce5d379f16abe23acca106957404316d43e153375dde699fec8f385d1a6c54174f29649eb4d63604cd %hash sha512 0011-Patch-microblaze-Added-ashrsi3_with_size_opt.patch \
104f0f80138f277ad8869a7a0261c647ee933bd053f4ce8f7f12675145ecabb1bf3015d16968534910e98cf518377beb9939721cd01de677d2c8f5bc3957373d
%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Removed-moddi3-routinue.patch %patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch
%hash sha512 0013-Patch-microblaze-Removed-moddi3-routinue.patch 07cde4e4f5b7bfb8cd5c89c865cc4e4c36b943b5b24035df4b18c6e9b30b9513089344105d0c05a31f2c4606ab1034c5dcc3541d6792893027ad5e3dbfb04429 %hash sha512 0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch \
ad05cd7b91db89596394d538fd97833e374ae98b666e25ce5d379f16abe23acca106957404316d43e153375dde699fec8f385d1a6c54174f29649eb4d63604cd
%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Removed-moddi3-routinue.patch
%hash sha512 0013-Patch-microblaze-Removed-moddi3-routinue.patch \
07cde4e4f5b7bfb8cd5c89c865cc4e4c36b943b5b24035df4b18c6e9b30b9513089344105d0c05a31f2c4606ab1034c5dcc3541d6792893027ad5e3dbfb04429
%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4481/0001-gcc-config-aarch64-rtems.h-Define-__USE_INIT_FINI__.patch %patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4481/0001-gcc-config-aarch64-rtems.h-Define-__USE_INIT_FINI__.patch
%hash sha512 0001-gcc-config-aarch64-rtems.h-Define---USE-INIT-FINI--.patch 84253c3c180fbfc6b640ffda72e8574f95661bdf3132503acc3f1b73a8f78aeb0508c06dbb32d1c8363ff083765194eeff14e46445946969c51a4498d2b3a0e7 %hash sha512 0001-gcc-config-aarch64-rtems.h-Define-__USE_INIT_FINI__.patch \
84253c3c180fbfc6b640ffda72e8574f95661bdf3132503acc3f1b73a8f78aeb0508c06dbb32d1c8363ff083765194eeff14e46445946969c51a4498d2b3a0e7
%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4481/0002-config-microblaze-crti.S-Add-single-underscore-init-.patch %patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4481/0002-config-microblaze-crti.S-Add-single-underscore-init-.patch
%hash sha512 0002-config-microblaze-crti.S-Add-single-underscore-init-.patch bf1ec7eff0dd51d154dd0507edb085458c90a000f5a3ccefb1064147cf8fdafe0111d2094372e164976f2193c289bff9ea63dcad43555c90893272a494b7e779 %hash sha512 0002-config-microblaze-crti.S-Add-single-underscore-init-.patch \
bf1ec7eff0dd51d154dd0507edb085458c90a000f5a3ccefb1064147cf8fdafe0111d2094372e164976f2193c289bff9ea63dcad43555c90893272a494b7e779
%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4589/0001-microblaze-Define-__ELF__-for-RTEMS-target.patch %patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4589/0001-microblaze-Define-__ELF__-for-RTEMS-target.patch
%hash sha512 0001-microblaze-Define---ELF---for-RTEMS-target.patch 39c0666c2e5c560447f00ed913cd07261e9c0db05b0cc549400667013ccf1d4140c0bd7b012d60dd628235bf7ae27564460a45e969e9cff75d14ed94bfd82632 %hash sha512 0001-microblaze-Define-__ELF__-for-RTEMS-target.patch \
39c0666c2e5c560447f00ed913cd07261e9c0db05b0cc549400667013ccf1d4140c0bd7b012d60dd628235bf7ae27564460a45e969e9cff75d14ed94bfd82632

View File

@ -11,6 +11,9 @@
%define gdb_version 7.5 %define gdb_version 7.5
%hash sha512 gdb-%{gdb_version}.tar.gz \
SnVe8LjmGIwPSX86ZuTsu2eZ5ciCOrxBj8Y/J5ms72y6FM8mhgSQkZMXiC4kxN8GiDYQKhWrhRxnM94Cubvibw==
# #
# The gdb build instructions. We use 7.xx Release 1. # The gdb build instructions. We use 7.xx Release 1.
# #

View File

@ -17,7 +17,9 @@ URL: http://www.microwindows.org/
# #
# nxlib Source # nxlib Source
# #
%source set nxlib https://github.com/alex-sever-h/nxlib.git %source set nxlib \
--rsb-file=nxlib-%{nxlib_version}.tar.gz \
https://codeload.github.com/alex-sever-h/nxlib/tar.gz/%{nxlib_version}
# #
# Prepare the source code. # Prepare the source code.

View File

@ -18,7 +18,8 @@ URL: http://www.swig.org/
# #
%source set swig --rsb-file=swig-rel-%{swig_version}.tar.gz \ %source set swig --rsb-file=swig-rel-%{swig_version}.tar.gz \
https://github.com/swig/swig/archive/rel-%{swig_version}.tar.gz https://github.com/swig/swig/archive/rel-%{swig_version}.tar.gz
%source set pcre https://sourceforge.net/projects/pcre/files/pcre/%{pcre_version}/pcre-%{pcre_version}.tar.bz2/download %source set pcre --rsb-file=pcre-%{pcre_version}.tar.bz2 \
https://sourceforge.net/projects/pcre/files/pcre/%{pcre_version}/pcre-%{pcre_version}.tar.bz2/download
# #
# See if a special swig prefix is provided # See if a special swig prefix is provided