Skip to content

Commit

Permalink
compile-flickernoise: automatic download/apply werner's rtems patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangfu Liu committed Oct 29, 2012
1 parent 99de8c1 commit 553980b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compile-flickernoise/Makefile
Expand Up @@ -233,6 +233,11 @@ rtems: $(BUILD_DIR)/bsp-milkymist/Makefile

$(BUILD_DIR)/bsp-milkymist/Makefile:
mkdir -p $(BUILD_DIR)/bsp-milkymist
[ -e ${MILKYMIST_GIT_DIR}/wernermisc ] || \
git clone git://projects.qi-hardware.com/wernermisc.git ${MILKYMIST_GIT_DIR}/wernermisc
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
cd ${MILKYMIST_GIT_DIR}/rtems && quilt pop -a -f && quilt push -a
cd $(MILKYMIST_GIT_DIR)/rtems && \
./bootstrap -c && ./bootstrap -p && ./bootstrap
cd $(BUILD_DIR)/bsp-milkymist && \
Expand Down

0 comments on commit 553980b

Please sign in to comment.