Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

compile-milkymist-firmware.sh: copy the rtems patches when there is a…

… build
  • Loading branch information...
commit a5c1d6318381df01feec2fffc1b35e364948bf4b 1 parent 78c2c5b
Xiangfu Liu authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 scripts/compile-milkymist-firmware.sh
View
4 scripts/compile-milkymist-firmware.sh
@@ -60,7 +60,6 @@ if [ ! -e ${MILKYMIST_GIT_DIR}/wernermisc ]; then
fi
(cd ${MILKYMIST_GIT_DIR}/wernermisc && git fetch -a && git reset --hard origin/master)
(cd ${MILKYMIST_GIT_DIR}/rtems && rm -f patches && ln -s ${MILKYMIST_GIT_DIR}/wernermisc/m1/patches/rtems patches && quilt push -a)
-cp -a ${MILKYMIST_GIT_DIR}/wernermisc/m1/patches/rtems ${IMAGES_DIR}/rtems-patches
echo "get git versions ..."
@@ -156,6 +155,9 @@ echo "generate md5sum ..."
(cd ${IMAGES_DIR} && md5sum --binary ${MD5_BINARIES} > ${IMAGES_DIR}/md5sums)
+echo "copy rtems patches ..."
+cp -a ${MILKYMIST_GIT_DIR}/wernermisc/m1/patches/rtems ${IMAGES_DIR}/rtems-patches
+
echo "create SDK ..."
(cd /opt/ && tar cjvf ${IMAGES_DIR}/Flickernoise-lm32-rtems-4.11-SDK-for-Linux-x86_64.tar.bz2 rtems-4.11/)
Please sign in to comment.
Something went wrong with that request. Please try again.