mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2004-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/rtems-source.add: New. * Makefile.am: Add rtems/rtems-source.spec handling. * configure.ac: AC_SUBST(RTEMS_VERSION,[_RTEMS_VERSION]). * common/common.add.in: Use www.rtems.com as Vendor.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2004-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* rtems/rtems-source.add: New.
|
||||||
|
* Makefile.am: Add rtems/rtems-source.spec handling.
|
||||||
|
* configure.ac: AC_SUBST(RTEMS_VERSION,[_RTEMS_VERSION]).
|
||||||
|
* common/common.add.in: Use www.rtems.com as Vendor.
|
||||||
|
|
||||||
2004-01-23 Joel Sherrill <joel@OARcorp.com>
|
2004-01-23 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* setup.def: Reflect new binutils RPM revision to correct defattr.
|
* setup.def: Reflect new binutils RPM revision to correct defattr.
|
||||||
|
|||||||
@@ -18,6 +18,14 @@ CONFIG_STATUS_DEPENDENCIES = setup.cache
|
|||||||
setup.cache: setup.def
|
setup.cache: setup.def
|
||||||
cp setup.def $@
|
cp setup.def $@
|
||||||
|
|
||||||
|
noinst_DATA += rtems/rtems-source.spec
|
||||||
|
rtems/rtems-source.spec: common/common.add \
|
||||||
|
rtems/rtems-source.add \
|
||||||
|
common/clean.add
|
||||||
|
cat $^ | sed 's,[@]rtems_version[@],$(RTEMS_VERSION),g' > $@
|
||||||
|
|
||||||
|
CLEANFILES = rtems/rtems-source.spec
|
||||||
|
|
||||||
DISTCLEANFILES = setup.cache
|
DISTCLEANFILES = setup.cache
|
||||||
include $(top_srcdir)/../automake/subdirs.am
|
include $(top_srcdir)/../automake/subdirs.am
|
||||||
include $(top_srcdir)/../automake/local.am
|
include $(top_srcdir)/../automake/local.am
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
# Work around to a bug in rpm-4.2
|
# Work around to a bug in rpm-4.2
|
||||||
%define __os_install_post %{nil}
|
%define __os_install_post %{nil}
|
||||||
|
|
||||||
Vendor: OARCorp
|
Vendor: www.rtems.com
|
||||||
Distribution: Linux
|
Distribution: Linux
|
||||||
|
|
||||||
BuildRoot: %{_defaultbuildroot}
|
BuildRoot: %{_defaultbuildroot}
|
||||||
|
|||||||
@@ -12,24 +12,7 @@ AC_CANONICAL_HOST
|
|||||||
test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
|
test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
|
||||||
. ./setup.cache
|
. ./setup.cache
|
||||||
|
|
||||||
AC_ARG_ENABLE([rpmprefix],
|
RTEMS_ENABLE_RPMPREFIX
|
||||||
[ --enable-rpmprefix=<rpmprefix> prefix rpms],
|
|
||||||
[case $enable_rpmprefix in
|
|
||||||
yes ) rpmprefix="rtems-"]RTEMS_API["-";;
|
|
||||||
no ) rpmprefix="%{nil}";;
|
|
||||||
* ) AS_IF([test -z "$enable_rpmprefix"],
|
|
||||||
[rpmprefix="%{nil}"],
|
|
||||||
[rpmprefix="$enable_rpmprefix"]);;
|
|
||||||
esac],
|
|
||||||
[rpmprefix="rtems-"]RTEMS_API["-"])
|
|
||||||
|
|
||||||
AC_ARG_ENABLE([osversions],
|
|
||||||
[ --enable-osversions whether to use version numbers in os-tripples],
|
|
||||||
[case $enable_osversions in
|
|
||||||
yes ) osversion=RTEMS_API;;
|
|
||||||
* ) osversion=;;
|
|
||||||
esac],
|
|
||||||
[osversion=])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for rpm SPECS directory)
|
AC_MSG_CHECKING(for rpm SPECS directory)
|
||||||
# Allow users to override RPM_SPECSdir from the environment.
|
# Allow users to override RPM_SPECSdir from the environment.
|
||||||
@@ -82,7 +65,7 @@ AC_SUBST(BINUTILSVERS)
|
|||||||
GDBVERS="gdb-${gdb_version}"
|
GDBVERS="gdb-${gdb_version}"
|
||||||
AC_SUBST(GDBVERS)
|
AC_SUBST(GDBVERS)
|
||||||
BSPVERS="${rtems_version}"
|
BSPVERS="${rtems_version}"
|
||||||
AC_SUBST(RTEMS_VERSION)
|
AC_SUBST(RTEMS_VERSION,[_RTEMS_VERSION])
|
||||||
AC_SUBST(BSPVERS)
|
AC_SUBST(BSPVERS)
|
||||||
AC_SUBST(RPM_CPU)
|
AC_SUBST(RPM_CPU)
|
||||||
AC_SUBST(rpmprefix,$rpmprefix)
|
AC_SUBST(rpmprefix,$rpmprefix)
|
||||||
|
|||||||
Reference in New Issue
Block a user