2005-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>

* rtems/Makefile.am: Reworked.
This commit is contained in:
Ralf Corsepius
2005-04-13 17:02:59 +00:00
parent 06f9fdb8ec
commit 0b1af095ef
2 changed files with 18 additions and 13 deletions

View File

@@ -1,5 +1,6 @@
2005-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/Makefile.am: Reworked.
* setup.def: Update rtems_version. Remove rpm_build_root.
2005-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>

View File

@@ -4,9 +4,22 @@
include $(top_srcdir)/common/common.am
MKBSPSPEC = $(SHELL) $(top_builddir)/mkbspspec
SUBPACKAGES = header.add
SUBPACKAGES += $(top_builddir)/common/common.add
SUBPACKAGES += rtems.add
SUBPACKAGES += $(top_builddir)/common/clean.add
SUBPACKAGES += target-rtems.add
MKBSPSPEC_DEPS = $(top_builddir)/mkbspspec rtems.spec.in \
noinst_DATA = rtems.spec.in
rtems.spec.in: $(SUBPACKAGES)
cat $^ > $@
CLEANFILES = rtems.spec.in
RPM_SPECS_DATA =
MKBSPSPEC = $(SHELL) ./mkspec
MKBSPSPEC_DEPS = $(top_builddir)/mkspec rtems.spec.in \
$(top_builddir)/setup.cache
i386-rtems-pc386-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
@@ -21,23 +34,14 @@ powerpc-rtems-mcp750-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
sh-rtems-gensh1-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems gensh1
sh-rtemself-gensh1-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself gensh1
sparc-rtems-erc32-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems erc32
TEMPLATES = rtems.spec.in
RPM_SPECS_DATA = i386-rtems-pc386-$(BSPVERS).spec \
m68k-rtems-gen68360-$(BSPVERS).spec powerpc-rtems-mcp750-$(BSPVERS).spec \
sh-rtems-gensh1-$(BSPVERS).spec sh-rtemself-gensh1-$(BSPVERS).spec \
sh-rtems-gensh1-$(BSPVERS).spec \
sparc-rtems-erc32-$(BSPVERS).spec
noinst_DATA = $(TEMPLATES)
EXTRA_DIST = $(TEMPLATES)
CLEANFILES = $(RPM_SPECS_DATA)
CLEANFILES += $(RPM_SPECS_DATA)
include $(top_srcdir)/../automake/local.am