mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 17:36:15 +08:00
Eliminate osversion
This commit is contained in:
@@ -48,7 +48,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am binutils-sources
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
> $(TARGET)-binutils.spec.in
|
||||
CLEANFILES += $(TARGET)-binutils.spec.in
|
||||
|
||||
@@ -78,7 +77,6 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
-e "s,[@]tool_target[@]-libc,@tool_target@-sys-root,g" \
|
||||
-e "/^%package -n @rpmprefix@@tool_target@-gcc/d" \
|
||||
-e "s/-n @rpmprefix@@tool_target@-gcc//" \
|
||||
|
||||
@@ -48,7 +48,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am binutils-sources
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
> $(TARGET)-binutils.spec.in
|
||||
CLEANFILES += $(TARGET)-binutils.spec.in
|
||||
|
||||
@@ -78,7 +77,6 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
-e "s,[@]tool_target[@]-libc,@tool_target@-sys-root,g" \
|
||||
-e "/--with-newlib/d" \
|
||||
-e "/^%package -n @rpmprefix@@tool_target@-gcc/d" \
|
||||
|
||||
@@ -48,7 +48,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am binutils-sources
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
> $(TARGET)-binutils.spec.in
|
||||
CLEANFILES += $(TARGET)-binutils.spec.in
|
||||
|
||||
@@ -78,7 +77,6 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
-e "s,[@]tool_target[@]-libc,@tool_target@-sys-root,g" \
|
||||
-e "/--with-newlib/d" \
|
||||
-e "/^%package -n @rpmprefix@@tool_target@-gcc/d" \
|
||||
|
||||
@@ -69,7 +69,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am binutils-sources
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
> $(TARGET)-binutils.spec.in
|
||||
CLEANFILES += $(TARGET)-binutils.spec.in
|
||||
|
||||
@@ -99,7 +98,6 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
-e "/[@]rpmprefix[@][@]tool_target[@]-libc/d" \
|
||||
-e "s,^%define[ ]*_cxx[ ]*1,%define _cxx 0," \
|
||||
-e "/^%package -n @rpmprefix@@tool_target@-gcc/d" \
|
||||
|
||||
@@ -24,7 +24,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am binutils-sources
|
||||
cat $(BINUTILS_SUBPACKAGES) | sed \
|
||||
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
> $(TARGET)-binutils.spec.in
|
||||
CLEANFILES += $(TARGET)-binutils.spec.in
|
||||
|
||||
@@ -55,7 +54,6 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add
|
||||
cat $(GCC_SUBPACKAGES) | sed \
|
||||
-e "/[@]SOURCES[@]/r ./gcc-sources.add" \
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
-e "/^%package -n @rpmprefix@@tool_target@-gcc/d" \
|
||||
-e "s/-n @rpmprefix@@tool_target@-gcc//" \
|
||||
-e "/--with-sysroot/d" \
|
||||
|
||||
@@ -48,7 +48,6 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am binutils-sources
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
> $(TARGET)-binutils.spec.in
|
||||
CLEANFILES += $(TARGET)-binutils.spec.in
|
||||
|
||||
@@ -78,7 +77,6 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add
|
||||
-e "/[@]SOURCES[@]/d" \
|
||||
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
|
||||
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
|
||||
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||
-e "s,[@]tool_target[@]-libc,@tool_target@-sys-root,g" \
|
||||
-e "/--with-newlib/d" \
|
||||
-e "/^%package -n @rpmprefix@@tool_target@-gcc/d" \
|
||||
|
||||
Reference in New Issue
Block a user