5
Line | |
---|
1 | # |
---|
2 | # GDB 7.9 |
---|
3 | # |
---|
4 | |
---|
5 | %include %{_configdir}/checks.cfg |
---|
6 | %include %{_configdir}/base.cfg |
---|
7 | |
---|
8 | %define gdb_version 7.9 |
---|
9 | %define gdb_src_ext xz |
---|
10 | %hash sha256 gdb-%{gdb_version}.tar.xz 9b315651a16528f7af8c7d8284699fb0c965df316cc7339bb0b7bae335848392 |
---|
11 | |
---|
12 | # |
---|
13 | # Clean up the sim-arange inline code so it builds. |
---|
14 | # |
---|
15 | %patch add gdb %{rtems_gdb_patches}/gdb-sim-arange-inline.diff |
---|
16 | %hash sha256 gdb-sim-arange-inline.diff d20d509942c9f9a69d191b8d8c1546e27d78768dba10b339acad708cf9997d81 |
---|
17 | %patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff |
---|
18 | %hash sha256 gdb-sim-cgen-inline.diff 0ec465d3c5ae967d125409488a1d24fda90b361051adebee32b7512a4031606e |
---|
19 | |
---|
20 | # |
---|
21 | # Fix building on Windows. Download the patches from GDB git repo. |
---|
22 | # |
---|
23 | #%define sourceware_binutils_gdb http://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch |
---|
24 | #%patch add gdb %{sourceware_binutils_gdb};h=63413d85873c450fa4ed2494f21fb1a65bdaf554 |
---|
25 | #%patch add gdb %{sourceware_binutils_gdb};h=03b7960334677d33ee7410f2c819f78820c32024 |
---|
26 | |
---|
27 | # |
---|
28 | # aarch64 and x86_64 support. |
---|
29 | # |
---|
30 | %patch add gdb -p1 %{rtems_gdb_patches}/gdb-7.9-aarch64-x86_64.patch |
---|
31 | %hash sha256 gdb-7.9-aarch64-x86_64.patch e809ccb4fffa0188cb985512695e0f48 |
---|
32 | |
---|
33 | |
---|
34 | %if %{_build_os} == freebsd |
---|
35 | %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py |
---|
36 | %hash sha256 patch-gdb-python-python-config.py c06cafc9370063b6f966c68973434f9cce6227c96e22f8ea23f156126f0b33d3 |
---|
37 | %endif |
---|
38 | |
---|
39 | # |
---|
40 | # The gdb build instructions. We use 7.xx Release 1. |
---|
41 | # |
---|
42 | %include %{_configdir}/gdb-7-1.cfg |
---|
Note: See
TracBrowser
for help on using the repository browser.