From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6574 invoked by alias); 15 Aug 2014 22:21:42 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 6380 invoked by uid 89); 15 Aug 2014 22:21:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f180.google.com Received: from mail-pd0-f180.google.com (HELO mail-pd0-f180.google.com) (209.85.192.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 15 Aug 2014 22:21:40 +0000 Received: by mail-pd0-f180.google.com with SMTP id v10so4038510pde.39 for ; Fri, 15 Aug 2014 15:21:38 -0700 (PDT) X-Received: by 10.66.141.39 with SMTP id rl7mr1286467pab.8.1408141298611; Fri, 15 Aug 2014 15:21:38 -0700 (PDT) Received: from localhost.localdomain ([50.245.130.35]) by mx.google.com with ESMTPSA id xc5sm8920918pbc.66.2014.08.15.15.21.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Aug 2014 15:21:38 -0700 (PDT) From: Bryan Hundven To: "Yann E. MORIN" Cc: crossgcc@sourceware.org, Bryan Hundven Subject: [PATCH 3/3] [config/gdb] Add GDB_HAS_PYTHON Date: Fri, 15 Aug 2014 22:21:00 -0000 Message-Id: <1408141290-19515-4-git-send-email-bryanhundven@gmail.com> In-Reply-To: <1408141290-19515-1-git-send-email-bryanhundven@gmail.com> References: <1408141290-19515-1-git-send-email-bryanhundven@gmail.com> X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00021.txt.bz2 Add a Kconfig boolean to enable python, only if GDB_7_0_or_later. Signed-off-by: Bryan Hundven --- config/debug/gdb.in | 4 ++++ config/debug/gdb.in.cross | 1 + 2 files changed, 5 insertions(+) diff --git a/config/debug/gdb.in b/config/debug/gdb.in index 26884ab..6f39196 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -176,6 +176,7 @@ config GDB_7_1_or_later config GDB_7_0_or_later bool select GDB_HAS_PKGVERSION_BUGURL + select GDB_HAS_PYTHON select GDB_INSTALL_GDBINIT select GDB_6_8_or_later @@ -185,6 +186,9 @@ config GDB_6_8_or_later config GDB_HAS_PKGVERSION_BUGURL bool +config GDB_HAS_PYTHON + bool + config GDB_INSTALL_GDBINIT bool diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross index 7e66ce5..549cba2 100644 --- a/config/debug/gdb.in.cross +++ b/config/debug/gdb.in.cross @@ -35,6 +35,7 @@ config GDB_CROSS_SIM config GDB_CROSS_PYTHON bool prompt "Enable python scripting" + depends on GDB_HAS_PYTHON depends on ! GDB_CROSS_STATIC default y help -- 2.1.0.rc1 -- For unsubscribe information see http://sourceware.org/lists.html#faq