mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fix the building of the RTEMS Tools from a tar file.
This commit is contained in:
parent
e33968ac4c
commit
00b60d74b2
@ -4,4 +4,14 @@
|
|||||||
|
|
||||||
%define release 1
|
%define release 1
|
||||||
|
|
||||||
|
#
|
||||||
|
# We need an arch defined for the common RTEMS files to work.
|
||||||
|
#
|
||||||
|
%define rtems_arch tools
|
||||||
|
|
||||||
|
#
|
||||||
|
# The RTEMS 4.11 base defines.
|
||||||
|
#
|
||||||
|
%include rtems-4.11-base.bset
|
||||||
|
|
||||||
tools/rtems-tools-4.11-1
|
tools/rtems-tools-4.11-1
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# RTEMS Tools from git://git.rtems.org/rtems-tools.git
|
# RTEMS Tools from git for a release.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -42,7 +42,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# The RTEMS Tools build instructions. We use GIT Release 1.
|
# The RTEMS Tools build instructions.
|
||||||
#
|
#
|
||||||
%include tools/rtems-tools-common-1.cfg
|
%include tools/rtems-tools-common-1.cfg
|
||||||
%endif
|
%endif
|
||||||
|
@ -21,10 +21,13 @@ License: BSD-2-Caluse + GPL-2.0
|
|||||||
# target location and 'cd ..' fails.
|
# target location and 'cd ..' fails.
|
||||||
build_top=$(pwd)
|
build_top=$(pwd)
|
||||||
|
|
||||||
source_dir_rtems_tools="%{name}"
|
rtems_tools_source="rtems-tools-%{rtems_tools_version}"
|
||||||
%source setup rtems-tools -q -D -n %{name}
|
|
||||||
|
%source setup rtems-tools -q -n ${rtems_tools_source}
|
||||||
%patch setup rtems-tools -p1
|
%patch setup rtems-tools -p1
|
||||||
|
|
||||||
|
source_dir_rtems_tools=${rtems_tools_source}
|
||||||
|
|
||||||
cd ${build_top}
|
cd ${build_top}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user