[rtems-source-builder commit] sb/gdb: Add further getting source checks.
Chris Johns
chrisj at rtems.org
Sat Oct 26 23:40:13 UTC 2019
Module: rtems-source-builder
Branch: master
Commit: 8de6b678e8268ded9571d2e1b6ef737e839ebe66
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=8de6b678e8268ded9571d2e1b6ef737e839ebe66
Author: Chris Johns <chrisj at rtems.org>
Date: Sun Oct 27 10:35:30 2019 +1100
sb/gdb: Add further getting source checks.
---
source-builder/config/gdb-common-1.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source-builder/config/gdb-common-1.cfg b/source-builder/config/gdb-common-1.cfg
index 87b9d0a..40cba4b 100644
--- a/source-builder/config/gdb-common-1.cfg
+++ b/source-builder/config/gdb-common-1.cfg
@@ -95,7 +95,7 @@
%else
%define gdb-python-header-check %(%{_sbdir}/sb/rtems-build-dep -c %{__cc} %{gdb-host-incs} -H %{gdb-python-ver-header})
%endif
-%if %{gdb-python-header-check} == not-found
+%if %{gdb-python-header-check} == not-found && !%{_rsb_getting_source}
%error "gdb: python: header file not found: %{gdb-python-ver-header}, please install"
%endif
#
More information about the vc
mailing list