Commit bedab4c2 authored by Eric Andersen's avatar Eric Andersen
Browse files

depend on ncurses

parent e697a16e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7,12 +7,14 @@ comment "Gdb Options"
config BR2_PACKAGE_GDB
	bool "Build gdb debugger for the Target"
	default n
	select BR2_PACKAGE_NCURSES
	help
	    Enable the gdb debugger.

config BR2_PACKAGE_GDB_SERVER
	bool "Build gdb server for the Target"
	default n
	select BR2_PACKAGE_NCURSES
	help
	    Enable the gdb debugger.

+8 −8
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ $(GDB_TARGET_DIR)/gdb/gdb: $(GDB_TARGET_DIR)/.configured
$(TARGET_DIR)/usr/bin/gdb: $(GDB_TARGET_DIR)/gdb/gdb
	install -c $(GDB_TARGET_DIR)/gdb/gdb $(TARGET_DIR)/usr/bin/gdb

gdb_target: $(TARGET_DIR)/usr/bin/gdb
gdb_target: ncurses-headers $(TARGET_DIR)/usr/bin/gdb

gdb_target-source: $(DL_DIR)/$(GDB_SOURCE)

@@ -135,7 +135,7 @@ $(GDB_SERVER_DIR)/gdbserver: $(GDB_SERVER_DIR)/.configured
$(TARGET_DIR)/usr/bin/gdbserver: $(GDB_SERVER_DIR)/gdbserver
	install -c $(GDB_SERVER_DIR)/gdbserver $(TARGET_DIR)/usr/bin/gdbserver

gdbserver: $(TARGET_DIR)/usr/bin/gdbserver
gdbserver: ncurses-headers $(TARGET_DIR)/usr/bin/gdbserver

gdbserver-clean:
	$(MAKE) -C $(GDB_SERVER_DIR) clean