source: rtems-source-builder/source-builder/config/dtc-1-1.cfg @ 158ad68

4.11
Last change on this file since 158ad68 was 158ad68, checked in by Chris Johns <chrisj@…>, on 10/03/20 at 11:53:04

sb: Back port the RTEMS 5 and 6 RSB engine.

  • Build GDb first as we do for RTEMS 5 and later
  • Update GDB to 9.1 for all archs expect SPARC. The SIS patches only apply to 7.9. Disable Python for SPARC

Closes #4111

  • Property mode set to 100644
File size: 900 bytes
Line 
1#
2# DTC 1.x.x Version 1.
3#
4# This configuration file configure's, make's and install's DTC.
5#
6
7%if %{release} == %{nil}
8%define release 1
9%endif
10
11Name:      dtc-%{dtc_version}-%{_host}-%{release}
12Summary:   Device Tree Compiler v%{dtc_version} for target %{_target} on host %{_host}
13Version:   %{dtc_version}
14Release:   %{release}
15URL:       https://www.devicetree.org/
16
17#
18# Source
19#
20%source set dtc https://www.kernel.org/pub/software/utils/dtc/dtc-%{dtc_version}.tar.gz
21
22#
23# Prepare the source code.
24#
25%prep
26  build_top=$(pwd)
27
28  %source setup dtc -q -n dtc-%{dtc_version}
29  %patch setup dtc -p1
30
31  cd ${build_top}
32
33%build
34  build_top=$(pwd)
35
36  cd dtc-%{dtc_version}
37
38  %{build_build_flags}
39
40  %{__make} PREFIX=%{_prefix}
41
42  cd ${build_top}
43
44%install
45  build_top=$(pwd)
46
47  rm -rf $SB_BUILD_ROOT
48
49  cd dtc-%{dtc_version}
50  %{__make} DESTDIR=$SB_BUILD_ROOT PREFIX=%{_prefix} install
51
52  cd ${build_top}
Note: See TracBrowser for help on using the repository browser.