mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Add the host name to the package name.
Adding the host name results in the tar files created by the --bset-tar-file and --pkg-tar-files to contain the host name. This is useful when building Cxc packages.
This commit is contained in:
parent
818ea245da
commit
8197b8ea04
@ -4,7 +4,7 @@
|
||||
|
||||
%define release 1
|
||||
|
||||
package: gnu-tool-%{_target}-%{release}
|
||||
package: gnu-tool-%{_target}-%{_host}-%{release}
|
||||
|
||||
#
|
||||
# Project custom message
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
%define release 1
|
||||
|
||||
package: gnu-tools-%{_target}-%{release}
|
||||
package: gnu-tools-%{_target}-%{_host}-%{release}
|
||||
|
||||
#
|
||||
# Project custom message
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
%define release 1
|
||||
|
||||
package: gcc491-%{_target}-%{release}
|
||||
package: gcc491-%{_target}-%{_host}-%{release}
|
||||
|
||||
#
|
||||
# Project custom message
|
||||
|
@ -14,7 +14,7 @@
|
||||
#
|
||||
# The autotoolspackage.
|
||||
#
|
||||
package: rtems-%{rtems_version}-autotools-%{release}
|
||||
package: rtems-%{rtems_version}-autotools-%{_host}-%{release}
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
|
@ -14,7 +14,7 @@
|
||||
#
|
||||
# The autotools package.
|
||||
#
|
||||
package: rtems-%{rtems_version}-autotools-%{release}
|
||||
package: rtems-%{rtems_version}-autotools-%{_host}-%{release}
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
|
@ -14,7 +14,7 @@
|
||||
#
|
||||
# The autotoolspackage.
|
||||
#
|
||||
package: rtems-%{rtems_version}-autotools-%{release}
|
||||
package: rtems-%{rtems_version}-autotools-%{_host}-%{release}
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
|
@ -10,7 +10,7 @@
|
||||
#
|
||||
# The generic package name.
|
||||
#
|
||||
package: rtems-%{rtems_version}-%{_target}-%{release}
|
||||
package: rtems-%{rtems_version}-%{_target}-%{_host}-%{release}
|
||||
|
||||
#
|
||||
# Project custom message
|
||||
|
@ -14,7 +14,7 @@
|
||||
#
|
||||
# The description.
|
||||
#
|
||||
Name: %{_target}-binutils-%{binutils_version}-%{release}
|
||||
Name: %{_target}-binutils-%{binutils_version}-%{_host}-%{release}
|
||||
Summary: Binutils v%{binutils_version} for target %{_target} on host %{_host}
|
||||
Version: %{binutils_version}
|
||||
Release: %{release}
|
||||
|
@ -14,7 +14,7 @@
|
||||
#
|
||||
# The package description.
|
||||
#
|
||||
Name: %{_target}-gcc-%{gcc_version}-newlib-%{newlib_version}-%{release}
|
||||
Name: %{_target}-gcc-%{gcc_version}-newlib-%{newlib_version}-%{_host}-%{release}
|
||||
Summary: GCC v%{gcc_version} and Newlib v%{newlib_version} for target %{_target} on host %{_host}
|
||||
Version: %{gcc_version}
|
||||
Release: %{release}
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
%include %{_configdir}/checks.cfg
|
||||
|
||||
Name: %{_target}-gdb-%{gdb_version}-%{release}
|
||||
Name: %{_target}-gdb-%{gdb_version}-%{_host}-%{release}
|
||||
Summary: GDB v%{gdb_version} for target %{_target} on host %{_host}
|
||||
Version: %{gdb_version}
|
||||
Release: %{release}
|
||||
|
@ -33,7 +33,7 @@
|
||||
#
|
||||
# The description.
|
||||
#
|
||||
Name: %{_target}-gdb-%{gdb_version}-%{release}
|
||||
Name: %{_target}-gdb-%{gdb_version}-%{_host}-%{release}
|
||||
Summary: GDB v%{gdb_version} for target %{_target} on host %{_host}
|
||||
Version: %{gdb_version}
|
||||
Release: %{release}
|
||||
|
@ -8,7 +8,7 @@
|
||||
%define release 1
|
||||
%endif
|
||||
|
||||
Name: or1ksim-1.1.0
|
||||
Name: or1ksim-%{or1ksim_version}-%{_host}-%{release}
|
||||
Summary: or1ksim-github
|
||||
Version: %{or1ksim_version}
|
||||
Release: %{release}
|
||||
@ -18,7 +18,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
#
|
||||
# Source
|
||||
#
|
||||
%source set or1ksim https://github.com/openrisc/or1ksim/archive/or1k-master.zip
|
||||
%source set or1ksim https://github.com/openrisc/or1ksim/archive/or1k-master.zip
|
||||
|
||||
#
|
||||
# Prepare the source code.
|
||||
@ -33,7 +33,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
%build
|
||||
build_top=$(pwd)
|
||||
|
||||
cd or1ksim-or1k-master/
|
||||
cd or1ksim-or1k-master/
|
||||
|
||||
../or1ksim-or1k-master/configure \
|
||||
--target=or1k-elf \
|
||||
|
Loading…
x
Reference in New Issue
Block a user