aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-07 01:24:01 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-07 03:40:11 -0400
commit42570013c5266449f7e8512a77fe66b8e852294d (patch)
treef5e5c38175307dbda5cd13b117e6c43f3298f635 /Makefile
parent421e49046cddf786b20db35f76c2bf6edcd39ef3 (diff)
downloadlibrambutan-42570013c5266449f7e8512a77fe66b8e852294d.tar.gz
librambutan-42570013c5266449f7e8512a77fe66b8e852294d.zip
Move OpenOCD stuff into contrib/.
This has gone unmaintained for long enough. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 833799b..27e0ac8 100644
--- a/Makefile
+++ b/Makefile
@@ -93,7 +93,7 @@ $(foreach m,$(LIBMAPLE_MODULES),$(eval $(call LIBMAPLE_MODULE_template,$(m))))
# main target
include $(SRCROOT)/build-targets.mk
-.PHONY: install sketch clean help debug cscope tags ctags ram flash jtag doxygen mrproper list-boards
+.PHONY: install sketch clean help cscope tags ctags ram flash jtag doxygen mrproper list-boards
# Target upload commands
# USB ID for DFU upload -- FIXME: do something smarter with this
@@ -105,7 +105,6 @@ UPLOAD_ram := $(SUPPORT_PATH)/scripts/reset.py && \
UPLOAD_flash := $(SUPPORT_PATH)/scripts/reset.py && \
sleep 1 && \
$(DFU) -a1 -d $(BOARD_USB_VENDOR_ID):$(BOARD_USB_PRODUCT_ID) -D $(BUILD_PATH)/$(BOARD).bin -R
-UPLOAD_jtag := $(OPENOCD_WRAPPER) flash
# Conditionally upload to whatever the last build was
install: INSTALL_TARGET = $(shell cat $(BUILD_PATH)/build-type 2>/dev/null)
@@ -150,16 +149,12 @@ help:
@echo " jtag: Compile for JTAG/SWD upload (overwrites bootloader)"
@echo ""
@echo "Other targets:"
- @echo " debug: Start OpenOCD gdb server on port 3333, telnet on port 4444"
@echo " clean: Remove all build and object files"
@echo " help: Show this message"
@echo " doxygen: Build Doxygen HTML and XML documentation"
@echo " mrproper: Remove all generated files"
@echo ""
-debug:
- $(OPENOCD_WRAPPER) debug
-
cscope:
rm -rf *.cscope
find . -name '*.[hcS]' -o -name '*.cpp' | xargs cscope -b