[rtems-release commit] kernel: Update the README with release details.

Chris Johns chrisj at rtems.org
Mon Apr 27 07:07:02 UTC 2020


Module:    rtems-release
Branch:    master
Commit:    3cd2246410314fc715edf258a689076c9e3371dc
Changeset: http://git.rtems.org/rtems-release/commit/?id=3cd2246410314fc715edf258a689076c9e3371dc

Author:    Chris Johns <chrisj at rtems.org>
Date:      Mon Apr 27 17:06:44 2020 +1000

kernel: Update the README with release details.

Closes #3231

---

 rtems-release-kernel | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/rtems-release-kernel b/rtems-release-kernel
index 8db3c0e..b3a8290 100755
--- a/rtems-release-kernel
+++ b/rtems-release-kernel
@@ -84,7 +84,7 @@ export XPATH=$PATH
 export PATH=${top}/at/bin:$PATH
 
 #
-# Bootstrap RTEMS.
+# Bootstrap RTEMS, collect the BSPs, and update the README.
 #
 cd ${prefix}
  echo "Set the version in the build system.."
@@ -112,6 +112,13 @@ EOF
  echo "Generate ARCH-BSP.txt"
  ./rtems-bsps > ARCH-BSP.txt
  cp ARCH-BSP.txt ${toptop}
+ echo "Generate README"
+ cp README README.tmp
+ cat README.tmp | \
+  sed -e "s|docs\.rtems\.org\/branches\/master\/|docs\.rtems\.org\/releases\/rtems-docs-${release}\/|g" | \
+  sed -e "s|docs\.rtems\.org\/doxygen\/branches\/master\/|docs\.rtems\.org\/doxygen\/releases\/rtems-doxygen-${release}\/|g" | \
+  awk "/https:\/\/git\.rtems\.org\/rtems/{\$0=\$0\"?h=${version}\"}{print}" > README
+ rm -r README.tmp
  cd ..
 
 #



More information about the vc mailing list