mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
Made the RTEMS version get substituted properly even though it is
not right yet. Now can specify rpm_build_root via setup.
This commit is contained in:
5
scripts/configure
vendored
5
scripts/configure
vendored
@@ -769,6 +769,7 @@ fi
|
||||
|
||||
|
||||
# RTEMS_CHECK_VERSION(..)
|
||||
RTEMS_VERSION=GET_RTEMS_VERSION_XXX
|
||||
|
||||
test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
|
||||
. ./setup.cache
|
||||
@@ -777,7 +778,7 @@ test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
|
||||
# redhat uses /usr/src/redhat
|
||||
# others might use /usr/src
|
||||
echo $ac_n "checking for rpm SPECS directory""... $ac_c" 1>&6
|
||||
echo "configure:781: checking for rpm SPECS directory" >&5
|
||||
echo "configure:782: checking for rpm SPECS directory" >&5
|
||||
if test -d /usr/src/packages/SPECS;
|
||||
then
|
||||
RPM_SPECSdir=/usr/src/packages/SPECS;
|
||||
@@ -803,6 +804,7 @@ GDBVERS="gdb-${gdb_version}"
|
||||
BSPVERS="${RTEMS_VERSION}"
|
||||
|
||||
|
||||
|
||||
trap '' 1 2 15
|
||||
cat > confcache <<\EOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
@@ -973,6 +975,7 @@ s%@RPM_SPECSdir@%$RPM_SPECSdir%g
|
||||
s%@GCCNEWLIBVERS@%$GCCNEWLIBVERS%g
|
||||
s%@BINUTILSVERS@%$BINUTILSVERS%g
|
||||
s%@GDBVERS@%$GDBVERS%g
|
||||
s%@RTEMS_VERSION@%$RTEMS_VERSION%g
|
||||
s%@BSPVERS@%$BSPVERS%g
|
||||
|
||||
CEOF
|
||||
|
||||
Reference in New Issue
Block a user