depend on ncurses
This commit is contained in:
parent
e697a16e5a
commit
bedab4c26f
@ -7,12 +7,14 @@ comment "Gdb Options"
|
|||||||
config BR2_PACKAGE_GDB
|
config BR2_PACKAGE_GDB
|
||||||
bool "Build gdb debugger for the Target"
|
bool "Build gdb debugger for the Target"
|
||||||
default n
|
default n
|
||||||
|
select BR2_PACKAGE_NCURSES
|
||||||
help
|
help
|
||||||
Enable the gdb debugger.
|
Enable the gdb debugger.
|
||||||
|
|
||||||
config BR2_PACKAGE_GDB_SERVER
|
config BR2_PACKAGE_GDB_SERVER
|
||||||
bool "Build gdb server for the Target"
|
bool "Build gdb server for the Target"
|
||||||
default n
|
default n
|
||||||
|
select BR2_PACKAGE_NCURSES
|
||||||
help
|
help
|
||||||
Enable the gdb debugger.
|
Enable the gdb debugger.
|
||||||
|
|
||||||
|
@ -82,14 +82,14 @@ $(GDB_TARGET_DIR)/gdb/gdb: $(GDB_TARGET_DIR)/.configured
|
|||||||
$(TARGET_DIR)/usr/bin/gdb: $(GDB_TARGET_DIR)/gdb/gdb
|
$(TARGET_DIR)/usr/bin/gdb: $(GDB_TARGET_DIR)/gdb/gdb
|
||||||
install -c $(GDB_TARGET_DIR)/gdb/gdb $(TARGET_DIR)/usr/bin/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)
|
gdb_target-source: $(DL_DIR)/$(GDB_SOURCE)
|
||||||
|
|
||||||
gdb_target-clean:
|
gdb_target-clean:
|
||||||
$(MAKE) -C $(GDB_DIR) clean
|
$(MAKE) -C $(GDB_DIR) clean
|
||||||
|
|
||||||
gdb_target-dirclean:
|
gdb_target-dirclean:
|
||||||
rm -rf $(GDB_DIR)
|
rm -rf $(GDB_DIR)
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
@ -135,12 +135,12 @@ $(GDB_SERVER_DIR)/gdbserver: $(GDB_SERVER_DIR)/.configured
|
|||||||
$(TARGET_DIR)/usr/bin/gdbserver: $(GDB_SERVER_DIR)/gdbserver
|
$(TARGET_DIR)/usr/bin/gdbserver: $(GDB_SERVER_DIR)/gdbserver
|
||||||
install -c $(GDB_SERVER_DIR)/gdbserver $(TARGET_DIR)/usr/bin/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:
|
gdbserver-clean:
|
||||||
$(MAKE) -C $(GDB_SERVER_DIR) clean
|
$(MAKE) -C $(GDB_SERVER_DIR) clean
|
||||||
|
|
||||||
gdbserver-dirclean:
|
gdbserver-dirclean:
|
||||||
rm -rf $(GDB_SERVER_DIR)
|
rm -rf $(GDB_SERVER_DIR)
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
@ -179,10 +179,10 @@ $(TARGET_CROSS)gdb: $(GDB_CLIENT_DIR)/gdb/gdb
|
|||||||
|
|
||||||
gdbclient: $(TARGET_CROSS)gdb
|
gdbclient: $(TARGET_CROSS)gdb
|
||||||
|
|
||||||
gdbclient-clean:
|
gdbclient-clean:
|
||||||
$(MAKE) -C $(GDB_CLIENT_DIR) clean
|
$(MAKE) -C $(GDB_CLIENT_DIR) clean
|
||||||
|
|
||||||
gdbclient-dirclean:
|
gdbclient-dirclean:
|
||||||
rm -rf $(GDB_CLIENT_DIR)
|
rm -rf $(GDB_CLIENT_DIR)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user