|
@@ -194,6 +194,9 @@ GDB_CONF_OPTS += --disable-tui
|
|
endif
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GDB_PYTHON),y)
|
|
ifeq ($(BR2_PACKAGE_GDB_PYTHON),y)
|
|
|
|
+# CONF_ENV: for top-level configure; MAKE_ENV: for sub-projects' configure.
|
|
|
|
+GDB_CONF_ENV += BR_PYTHON_VERSION=$(PYTHON_VERSION_MAJOR)
|
|
|
|
+GDB_MAKE_ENV += BR_PYTHON_VERSION=$(PYTHON_VERSION_MAJOR)
|
|
GDB_CONF_OPTS += --with-python=$(TOPDIR)/package/gdb/gdb-python-config
|
|
GDB_CONF_OPTS += --with-python=$(TOPDIR)/package/gdb/gdb-python-config
|
|
GDB_DEPENDENCIES += python
|
|
GDB_DEPENDENCIES += python
|
|
else
|
|
else
|