forked from Imagelibrary/rtems
New.
This commit is contained in:
3
contrib/crossrpms/mingw32/.cvsignore
Normal file
3
contrib/crossrpms/mingw32/.cvsignore
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
*.spec
|
||||||
41
contrib/crossrpms/mingw32/Makefile.am
Normal file
41
contrib/crossrpms/mingw32/Makefile.am
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# $Id$
|
||||||
|
|
||||||
|
TARGET = i686-pc-mingw32
|
||||||
|
|
||||||
|
noinst_DATA =
|
||||||
|
CLEANFILES =
|
||||||
|
|
||||||
|
|
||||||
|
BINUTILS_VERS = 2.16.91-20060119-1
|
||||||
|
BINUTILS_RPMREL = 0.20060214.0
|
||||||
|
|
||||||
|
BINUTILS_SUBPACKAGES = $(top_builddir)/common/common.add
|
||||||
|
BINUTILS_SUBPACKAGES += ../binutils/binutils.add
|
||||||
|
BINUTILS_SUBPACKAGES += ../binutils/rpm-install.add
|
||||||
|
BINUTILS_SUBPACKAGES += $(top_builddir)/common/clean.add
|
||||||
|
BINUTILS_SUBPACKAGES += ../binutils/target-binutils.add
|
||||||
|
BINUTILS_SUBPACKAGES += ../binutils/base-binutils.add
|
||||||
|
|
||||||
|
$(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES)
|
||||||
|
cat $^ | sed \
|
||||||
|
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
|
||||||
|
-e "/[@]SOURCES[@]/d" \
|
||||||
|
-e '/^%define _prefix.*$$/d' \
|
||||||
|
-e '/^%define rpmgroup.*$$/d' \
|
||||||
|
-e '/^%define binutils_target.*$$/d' \
|
||||||
|
-e "s,[@]rpmprefix[@],,g" \
|
||||||
|
-e "s,rtems[@]osversion[@],rtems,g" \
|
||||||
|
-e "s,%{rpmgroup},Development/Tools,g" \
|
||||||
|
> $(TARGET)-binutils.spec.in
|
||||||
|
CLEANFILES += $(TARGET)-binutils.spec.in
|
||||||
|
|
||||||
|
|
||||||
|
$(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
|
||||||
|
sed \
|
||||||
|
-e "s/[@]tool_target[@]/$(TARGET)/g" \
|
||||||
|
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
|
||||||
|
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||||
|
-e "s,[@]PATCH0[@],," \
|
||||||
|
$(srcdir)/$(TARGET)-binutils.spec.in > $@
|
||||||
|
CLEANFILES += $(TARGET)-binutils.spec
|
||||||
|
noinst_DATA += $(TARGET)-binutils.spec
|
||||||
3
contrib/crossrpms/mingw32/binutils-sources.add
Normal file
3
contrib/crossrpms/mingw32/binutils-sources.add
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Source0: http://dl.sourceforge.net/sourceforge/mingw/binutils-%{binutils_version}-src.tar.gz
|
||||||
|
%{?!_with_sources:NoSource: 0}
|
||||||
|
@PATCH0@
|
||||||
Reference in New Issue
Block a user