4.104.115
Last change
on this file since 1bb1f322 was
aa941f8,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/19/09 at 16:49:02
|
Move %{?dist} handling to rtems4.10/*.am.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | EXTRA_DIST += binutils-sources.add |
---|
2 | |
---|
3 | BINUTILS_OPTS = |
---|
4 | |
---|
5 | BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add |
---|
6 | BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/binutils.add |
---|
7 | BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/prep.add |
---|
8 | BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/build.add |
---|
9 | BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/install.add |
---|
10 | BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/rpm-install.add |
---|
11 | BINUTILS_SUBPACKAGES += $(top_srcdir)/common/clean.add |
---|
12 | BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/target-binutils.add |
---|
13 | BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/base-binutils.add |
---|
14 | |
---|
15 | $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am $(srcdir)/binutils-sources.add |
---|
16 | cat $(BINUTILS_SUBPACKAGES) | sed \ |
---|
17 | -e "/[@]SOURCES[@]/r $(srcdir)/binutils-sources.add" \ |
---|
18 | -e "/[@]SOURCES[@]/d" \ |
---|
19 | -e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \ |
---|
20 | -e "s/[@]BINUTILS_PKGVERS[@]/$(BINUTILS_PKGVERS)/g" \ |
---|
21 | -e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)%{?dist}/g" \ |
---|
22 | -e "/--with-sysroot/d" \ |
---|
23 | | $(MKSPEC0) > $(TARGET)-binutils.spec.in |
---|
24 | CLEANFILES += $(TARGET)-binutils.spec.in |
---|
25 | |
---|
26 | @rpmprefix@$(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in |
---|
27 | $(MKSPEC) $(TARGET)-binutils.spec.in | $(SPECSTRIP) $(BINUTILS_OPTS) > $@ |
---|
28 | CLEANFILES += @rpmprefix@$(TARGET)-binutils.spec |
---|
29 | noinst_DATA += @rpmprefix@$(TARGET)-binutils.spec |
---|
30 | |
---|
31 | EXTRA_DIST += $(BINUTILS_SUBPACKAGES) |
---|
Note: See
TracBrowser
for help on using the repository browser.