24 lines
627 B
Makefile
24 lines
627 B
Makefile
DISABLE_NETWORK := 1
|
|
ENABLE_GDB = 1
|
|
|
|
ENABLE_GDB_CONSOLE ?= 1
|
|
|
|
ifeq ($(ENABLE_GDB_CONSOLE), 1)
|
|
USER_CFLAGS := -DGDBSTUB_ENABLE_SYSCALL
|
|
|
|
App-build: gdb-console-warning
|
|
|
|
.PHONY: gdb-console-warning
|
|
gdb-console-warning:
|
|
$(warning WARNING! Enabling the GDB console may interfere with visual debuggers, like eclipse)
|
|
$(warning If required, please build with `make ENABLE_GDB_CONSOLE=0`)
|
|
endif
|
|
|
|
|
|
# Emulate UART 0
|
|
ENABLE_HOST_UARTID := 0
|
|
|
|
# Sample doesn't use network so don't bother initialising it
|
|
# Also add a short delay so telnet client has time to start before we start printing stuff
|
|
HOST_NETWORK_OPTIONS = --nonet --pause=1
|