mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
gdb: unbreak host-gdb with python support if python3 is enabled
Fixes http://autobuild.buildroot.net/results/ef4/ef487b495e57f098af0fe9508d430b56b0750339/ Explicitly pass the path to host-python to ensure it gets used. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
@@ -146,7 +146,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_HOST_GDB_PYTHON),y)
|
ifeq ($(BR2_PACKAGE_HOST_GDB_PYTHON),y)
|
||||||
HOST_GDB_CONF_OPTS += --with-python
|
HOST_GDB_CONF_OPTS += --with-python=$(HOST_DIR)/usr/bin/python2
|
||||||
HOST_GDB_DEPENDENCIES += host-python
|
HOST_GDB_DEPENDENCIES += host-python
|
||||||
else
|
else
|
||||||
HOST_GDB_CONF_OPTS += --without-python
|
HOST_GDB_CONF_OPTS += --without-python
|
||||||
|
|||||||
Reference in New Issue
Block a user