mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Unify @PATCH handling.
This commit is contained in:
@@ -48,7 +48,7 @@ $(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||||
-e "s,[@]PATCH0[@],," \
|
-e "/[@]PATCH/d" \
|
||||||
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-binutils.spec
|
CLEANFILES += $(TARGET)-binutils.spec
|
||||||
noinst_DATA += $(TARGET)-binutils.spec
|
noinst_DATA += $(TARGET)-binutils.spec
|
||||||
@@ -83,6 +83,7 @@ $(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
||||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||||
|
-e "/[@]PATCH/d" \
|
||||||
$(srcdir)/$(TARGET)-gcc.spec.in > $@
|
$(srcdir)/$(TARGET)-gcc.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-gcc.spec
|
CLEANFILES += $(TARGET)-gcc.spec
|
||||||
noinst_DATA += $(TARGET)-gcc.spec
|
noinst_DATA += $(TARGET)-gcc.spec
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ $(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||||
-e "s,[@]PATCH0[@],," \
|
-e "/[@]PATCH/d" \
|
||||||
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-binutils.spec
|
CLEANFILES += $(TARGET)-binutils.spec
|
||||||
noinst_DATA += $(TARGET)-binutils.spec
|
noinst_DATA += $(TARGET)-binutils.spec
|
||||||
@@ -87,12 +87,7 @@ $(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
||||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||||
-e "/@PATCH0@/d" \
|
-e "/[@]PATCH/d" \
|
||||||
-e "/@PATCH1@/d" \
|
|
||||||
-e "/@PATCH2@/d" \
|
|
||||||
-e "/@PATCH3@/d" \
|
|
||||||
-e "/@PATCH4@/d" \
|
|
||||||
-e "/@PATCH5@/d" \
|
|
||||||
$(srcdir)/$(TARGET)-gcc.spec.in > $@
|
$(srcdir)/$(TARGET)-gcc.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-gcc.spec
|
CLEANFILES += $(TARGET)-gcc.spec
|
||||||
noinst_DATA += $(TARGET)-gcc.spec
|
noinst_DATA += $(TARGET)-gcc.spec
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ $(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||||
-e "s,[@]PATCH0[@],," \
|
-e "/[@]PATCH/d" \
|
||||||
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-binutils.spec
|
CLEANFILES += $(TARGET)-binutils.spec
|
||||||
noinst_DATA += $(TARGET)-binutils.spec
|
noinst_DATA += $(TARGET)-binutils.spec
|
||||||
@@ -87,12 +87,7 @@ $(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
||||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||||
-e "/@PATCH0@/d" \
|
-e "/[@]PATCH/d" \
|
||||||
-e "/@PATCH1@/d" \
|
|
||||||
-e "/@PATCH2@/d" \
|
|
||||||
-e "/@PATCH3@/d" \
|
|
||||||
-e "/@PATCH4@/d" \
|
|
||||||
-e "/@PATCH5@/d" \
|
|
||||||
$(srcdir)/$(TARGET)-gcc.spec.in > $@
|
$(srcdir)/$(TARGET)-gcc.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-gcc.spec
|
CLEANFILES += $(TARGET)-gcc.spec
|
||||||
noinst_DATA += $(TARGET)-gcc.spec
|
noinst_DATA += $(TARGET)-gcc.spec
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ $(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||||
-e "s,[@]PATCH0[@],," \
|
-e "/[@]PATCH/d" \
|
||||||
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-binutils.spec
|
CLEANFILES += $(TARGET)-binutils.spec
|
||||||
noinst_DATA += $(TARGET)-binutils.spec
|
noinst_DATA += $(TARGET)-binutils.spec
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ $(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||||
|
-e "/[@]PATCH/d" \
|
||||||
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-binutils.spec
|
CLEANFILES += $(TARGET)-binutils.spec
|
||||||
noinst_DATA += $(TARGET)-binutils.spec
|
noinst_DATA += $(TARGET)-binutils.spec
|
||||||
@@ -68,12 +69,7 @@ $(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
||||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||||
-e "/@PATCH0@/d" \
|
-e "/[@]PATCH/d" \
|
||||||
-e "/@PATCH1@/d" \
|
|
||||||
-e "/@PATCH2@/d" \
|
|
||||||
-e "/@PATCH3@/d" \
|
|
||||||
-e "/@PATCH4@/d" \
|
|
||||||
-e "/@PATCH5@/d" \
|
|
||||||
$(srcdir)/$(TARGET)-gcc.spec.in > $@
|
$(srcdir)/$(TARGET)-gcc.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-gcc.spec
|
CLEANFILES += $(TARGET)-gcc.spec
|
||||||
noinst_DATA += $(TARGET)-gcc.spec
|
noinst_DATA += $(TARGET)-gcc.spec
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ $(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||||
-e "s,[@]PATCH0[@],," \
|
-e "/[@]PATCH/d" \
|
||||||
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-binutils.spec
|
CLEANFILES += $(TARGET)-binutils.spec
|
||||||
noinst_DATA += $(TARGET)-binutils.spec
|
noinst_DATA += $(TARGET)-binutils.spec
|
||||||
@@ -87,12 +87,7 @@ $(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in
|
|||||||
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
||||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||||
-e "/@PATCH0@/d" \
|
-e "/[@]PATCH/d" \
|
||||||
-e "/@PATCH1@/d" \
|
|
||||||
-e "/@PATCH2@/d" \
|
|
||||||
-e "/@PATCH3@/d" \
|
|
||||||
-e "/@PATCH4@/d" \
|
|
||||||
-e "/@PATCH5@/d" \
|
|
||||||
$(srcdir)/$(TARGET)-gcc.spec.in > $@
|
$(srcdir)/$(TARGET)-gcc.spec.in > $@
|
||||||
CLEANFILES += $(TARGET)-gcc.spec
|
CLEANFILES += $(TARGET)-gcc.spec
|
||||||
noinst_DATA += $(TARGET)-gcc.spec
|
noinst_DATA += $(TARGET)-gcc.spec
|
||||||
|
|||||||
Reference in New Issue
Block a user