mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Eliminate %binutils_target
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
%define binutils_version @BINUTILS_VERS@
|
%define binutils_version @BINUTILS_VERS@
|
||||||
%define binutils_rpmvers %{expand: %(echo @BINUTILS_VERS@ | tr - _)}
|
%define binutils_rpmvers %{expand: %(echo @BINUTILS_VERS@ | tr - _)}
|
||||||
%define binutils_target @target_alias@
|
|
||||||
|
|
||||||
Name: @rpmprefix@@tool_target@-binutils
|
Name: @rpmprefix@@tool_target@-binutils
|
||||||
Summary: Binutils for target @tool_target@
|
Summary: Binutils for target @tool_target@
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add
|
|||||||
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
||||||
-e "/[@]SOURCES[@]/d" \
|
-e "/[@]SOURCES[@]/d" \
|
||||||
-e '/^%define _prefix.*$$/d' \
|
-e '/^%define _prefix.*$$/d' \
|
||||||
-e '/^%define binutils_target.*$$/d' \
|
|
||||||
-e "s,[@]rpmprefix[@],,g" \
|
-e "s,[@]rpmprefix[@],,g" \
|
||||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||||
> $(TARGET)-binutils.spec.in
|
> $(TARGET)-binutils.spec.in
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add
|
|||||||
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
||||||
-e "/[@]SOURCES[@]/d" \
|
-e "/[@]SOURCES[@]/d" \
|
||||||
-e '/^%define _prefix.*$$/d' \
|
-e '/^%define _prefix.*$$/d' \
|
||||||
-e '/^%define binutils_target.*$$/d' \
|
|
||||||
-e "s,[@]rpmprefix[@],,g" \
|
-e "s,[@]rpmprefix[@],,g" \
|
||||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||||
> $(TARGET)-binutils.spec.in
|
> $(TARGET)-binutils.spec.in
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add
|
|||||||
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
||||||
-e "/[@]SOURCES[@]/d" \
|
-e "/[@]SOURCES[@]/d" \
|
||||||
-e '/^%define _prefix.*$$/d' \
|
-e '/^%define _prefix.*$$/d' \
|
||||||
-e '/^%define binutils_target.*$$/d' \
|
|
||||||
-e "s,[@]rpmprefix[@],,g" \
|
-e "s,[@]rpmprefix[@],,g" \
|
||||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||||
> $(TARGET)-binutils.spec.in
|
> $(TARGET)-binutils.spec.in
|
||||||
|
|||||||
@@ -71,7 +71,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add
|
|||||||
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
||||||
-e "/[@]SOURCES[@]/d" \
|
-e "/[@]SOURCES[@]/d" \
|
||||||
-e '/^%define _prefix.*$$/d' \
|
-e '/^%define _prefix.*$$/d' \
|
||||||
-e '/^%define binutils_target.*$$/d' \
|
|
||||||
-e "s,[@]rpmprefix[@],,g" \
|
-e "s,[@]rpmprefix[@],,g" \
|
||||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||||
> $(TARGET)-binutils.spec.in
|
> $(TARGET)-binutils.spec.in
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add
|
|||||||
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
||||||
-e "/[@]SOURCES[@]/d" \
|
-e "/[@]SOURCES[@]/d" \
|
||||||
-e '/^%define _prefix.*$$/d' \
|
-e '/^%define _prefix.*$$/d' \
|
||||||
-e '/^%define binutils_target.*$$/d' \
|
|
||||||
-e "s,[@]rpmprefix[@],,g" \
|
-e "s,[@]rpmprefix[@],,g" \
|
||||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||||
> $(TARGET)-binutils.spec.in
|
> $(TARGET)-binutils.spec.in
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add
|
|||||||
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
||||||
-e "/[@]SOURCES[@]/d" \
|
-e "/[@]SOURCES[@]/d" \
|
||||||
-e '/^%define _prefix.*$$/d' \
|
-e '/^%define _prefix.*$$/d' \
|
||||||
-e '/^%define binutils_target.*$$/d' \
|
|
||||||
-e "s,[@]rpmprefix[@],,g" \
|
-e "s,[@]rpmprefix[@],,g" \
|
||||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||||
> $(TARGET)-binutils.spec.in
|
> $(TARGET)-binutils.spec.in
|
||||||
|
|||||||
Reference in New Issue
Block a user