Browse files

compile-miplymist-firmware.sh: apply werner's patch in build host

  • Loading branch information...
1 parent 7c48525 commit 1593a357a68c975d4430175667d0a56576c269e9 Xiangfu Liu committed Nov 28, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 scripts/compile-milkymist-firmware.sh
View
7 scripts/compile-milkymist-firmware.sh
@@ -53,6 +53,13 @@ if [ "$?" != "0" ]; then
abort "ERROR: milkymist-git-update"
fi
+#this needs you manully clont the wernermisc.git to MILKYMIST_GIT_DIR
+echo "handle cvs rtems and werner's patch ..."
+rm -rf $(MILKYMIST_GIT_DIR)/rtems
+(cd $(MILKYMIST_GIT_DIR) && cvs -d :pserver:anoncvs@www.rtems.com:/usr1/CVS co rtems)
+(cd $(MILKYMIST_GIT_DIR)/rtems && rm -f patches && ln -s ../wernermisc.git/m1/patches/rtems/ patches)
+(cd $(MILKYMIST_GIT_DIR)/rtems/patches && git fetch -a && git reset --hard origin/master)
+(cd $(MILKYMIST_GIT_DIR)/rtems && quilt push -a)
echo "get git versions ..."
get-feeds-revision ${MILKYMIST_GIT_DIR}/autotest-m1.git

0 comments on commit 1593a35

Please sign in to comment.