From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27032 invoked by alias); 17 Aug 2014 22:10:16 -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 26895 invoked by uid 89); 17 Aug 2014 22:10:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f176.google.com Received: from mail-pd0-f176.google.com (HELO mail-pd0-f176.google.com) (209.85.192.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 17 Aug 2014 22:10:09 +0000 Received: by mail-pd0-f176.google.com with SMTP id y10so6252376pdj.7 for ; Sun, 17 Aug 2014 15:10:08 -0700 (PDT) X-Received: by 10.68.239.201 with SMTP id vu9mr30449690pbc.35.1408313408281; Sun, 17 Aug 2014 15:10:08 -0700 (PDT) Received: from fuzzy.hsd1.wa.comcast.net (c-50-135-131-187.hsd1.wa.comcast.net. [50.135.131.187]) by mx.google.com with ESMTPSA id br1sm14259380pbc.6.2014.08.17.15.10.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 17 Aug 2014 15:10:07 -0700 (PDT) From: Bryan Hundven To: "Yann E. MORIN" Cc: crossgcc@sourceware.org, Bryan Hundven Subject: [PATCH 2/2] [config/gdb] Add GDB_HAS_PYTHON Date: Sun, 17 Aug 2014 22:10:00 -0000 Message-Id: <1408313401-3640-3-git-send-email-bryanhundven@gmail.com> In-Reply-To: <1408313401-3640-1-git-send-email-bryanhundven@gmail.com> References: <1408141290-19515-1-git-send-email-bryanhundven@gmail.com> <1408313401-3640-1-git-send-email-bryanhundven@gmail.com> X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00027.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 3aaff8e..a3f1930 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -147,11 +147,15 @@ config GDB_7_2_or_later config GDB_7_0_or_later bool select GDB_HAS_PKGVERSION_BUGURL + select GDB_HAS_PYTHON select GDB_INSTALL_GDBINIT 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