Skip to content

Commit

Permalink
compile-flickernoise: copy softusb-input firmware to rtems
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangfu Liu committed Jan 27, 2012
1 parent 6b0b6f8 commit e3f089a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions compile-flickernoise/Makefile
Expand Up @@ -197,6 +197,11 @@ milkymist-git-update:
done

#You will need Lemon and RE2C to compile libFPVM.
softusb-input:
make -C $(MILKYMIST_GIT_DIR)/milkymist/ sdk
cp ${MILKYMIST_GIT_DIR}/milkymist/software/libhal/softusb-input.h \
${MILKYMIST_GIT_DIR}/rtems/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/softusb-input.h

libfpvm:
make -C $(MILKYMIST_GIT_DIR)/milkymist/software/libfpvm/ install

Expand All @@ -209,7 +214,7 @@ liboscparse:
rtems-yaffs2:
(cd $(MILKYMIST_GIT_DIR)/$@ && make -f Makefile.rtems all install)

rtems: $(BUILD_DIR)/bsp-milkymist/Makefile
rtems: $(BUILD_DIR)/bsp-milkymist/Makefile softusb-input
(cd $(BUILD_DIR)/bsp-milkymist && make all install)
touch $@

Expand Down Expand Up @@ -287,7 +292,7 @@ $(DL)/$(EXPAT).ok:
project/expat/expat/$(EXPAT_VERSION)/expat-$(EXPAT_VERSION).tar.gz"
touch $@

.PHONY: clean clean-rtems boot.crc.bin
.PHONY: clean clean-rtems boot.crc.bin softusb-input

clean:
rm -rf build_dir/*
Expand Down

0 comments on commit e3f089a

Please sign in to comment.