1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

openocd: upgrade to 0.5.0

Upgrade is needed to support STM32F2 chip on the new boards.

Use 'openocd_install' to download/build the new version
on Linux.
This commit is contained in:
Stacey Sheldon 2011-08-27 10:41:53 -04:00
parent 5a51077493
commit 8198cc881f

View File

@ -202,8 +202,8 @@ arm_sdk_clean:
OPENOCD_DIR := $(TOOLS_DIR)/openocd OPENOCD_DIR := $(TOOLS_DIR)/openocd
.PHONY: openocd_install .PHONY: openocd_install
openocd_install: OPENOCD_URL := http://sourceforge.net/projects/openocd/files/openocd/0.4.0/openocd-0.4.0.tar.bz2/download openocd_install: OPENOCD_URL := http://sourceforge.net/projects/openocd/files/openocd/0.5.0/openocd-0.5.0.tar.bz2/download
openocd_install: OPENOCD_FILE := openocd-0.4.0.tar.bz2 openocd_install: OPENOCD_FILE := openocd-0.5.0.tar.bz2
# order-only prereq on directory existance: # order-only prereq on directory existance:
openocd_install: | $(DL_DIR) $(TOOLS_DIR) openocd_install: | $(DL_DIR) $(TOOLS_DIR)
openocd_install: openocd_clean openocd_install: openocd_clean
@ -218,8 +218,8 @@ openocd_install: openocd_clean
# build and install # build and install
$(V1) mkdir -p "$(OPENOCD_DIR)" $(V1) mkdir -p "$(OPENOCD_DIR)"
$(V1) ( \ $(V1) ( \
cd $(DL_DIR)/openocd-build/openocd-0.4.0 ; \ cd $(DL_DIR)/openocd-build/openocd-0.5.0 ; \
./configure --prefix="$(OPENOCD_DIR)" --enable-ft2232_libftdi ; \ ./configure --prefix="$(OPENOCD_DIR)" --enable-ft2232_libftdi --enable-buspirate; \
$(MAKE) ; \ $(MAKE) ; \
$(MAKE) install ; \ $(MAKE) install ; \
) )