From patchwork Fri Aug 29 12:30:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Kim_B=C3=B8ndergaard?= X-Patchwork-Id: 384219 X-Patchwork-Delegate: kiho@prevas.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id 2296314010B for ; Fri, 29 Aug 2014 22:31:08 +1000 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 90FD63FCCE for ; Fri, 29 Aug 2014 14:31:06 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail02.prevas.se (mail02.prevas.se [62.95.78.10]) by hugin.dotsrc.org (Postfix) with ESMTPS id DBC153FBF2 for ; Fri, 29 Aug 2014 14:31:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=1636; q=dns/txt; s=ironport2; t=1409315460; x=1440851460; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=zlgpoZbM1vYWZ2LUoRmuBZmAluU4Bq08aeH3K2/58Ck=; b=UY83gmBj1TcNPNLDCqvizhAB76w6vGIG4QG9pKxuk//SZZi1a4DeoTDj yZAa/i/V2Vj2iehLaMZ1bJ9U1QTMm2cVeHNLOCE3hVdDvJRw030MrUqlO lOCEQ6jUzzRXtmngX8jCj2wsFN5Ppu+whiD6EMBwZ+GLlgpDDvCrAfXXL I=; X-IronPort-AV: E=Sophos;i="5.04,424,1406584800"; d="scan'208";a="1010602" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport2.prevas.se with ESMTP/TLS/AES128-SHA; 29 Aug 2014 14:31:00 +0200 Received: from localhost (172.16.10.102) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server id 14.2.347.0; Fri, 29 Aug 2014 14:31:00 +0200 Received: by localhost (Postfix, from userid 30019) id 6C421681EB5; Fri, 29 Aug 2014 12:30:59 +0000 (UTC) From: =?UTF-8?q?Kim=20B=C3=B8ndergaard?= To: Subject: [PATCH 4/6] gdb: Various fixups Date: Fri, 29 Aug 2014 12:30:53 +0000 Message-ID: <2d02c2038e89db7b15f0a1be612bd79cd0d2619a.1409312414.git.kibo@prevas.dk> X-Mailer: git-send-email 1.8.4 In-Reply-To: References: MIME-Version: 1.0 Cc: Esben Haabendal X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Esben Haabendal * Apply proper cross-prefix to cross-gdb * Enable TUI * Use curses library instead of termcap * Drop unneeded redefinition of ${S} * Drop unneeded SUBDIRS argument to make Signed-off-by: Esben Haabendal --- recipes/gdb/gdb.inc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/recipes/gdb/gdb.inc b/recipes/gdb/gdb.inc index 4ac1d0e..ae5096b 100644 --- a/recipes/gdb/gdb.inc +++ b/recipes/gdb/gdb.inc @@ -5,7 +5,7 @@ LICENSE = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3" RECIPE_TYPES = "machine canadian-cross" GDB_DEPENDS = "host:libexpat host:libtermcap \ - host:libreadline host:libdl host:libm host:libc" + host:libncurses host:libreadline host:libdl host:libm host:libc" DEPENDS = "${GDB_DEPENDS}" RDEPENDS_${PN} = "${GDB_DEPENDS}" @@ -13,14 +13,11 @@ inherit autotools auto-package-utils require conf/fetch/gnu.conf SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz" -S = "${SRCDIR}/${PN}-${PV}" -EXTRA_OEMAKE = "'SUBDIRS=gdb'" - -EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \ - --with-curses --disable-multilib --with-system-readline --disable-sim \ - --without-lzma --without-python \ - --program-prefix='' --with-expat" +EXTRA_OECONF = "--enable-tui --disable-gdbtk --disable-x --disable-werror \ + --disable-multilib --disable-sim \ + --with-system-readline --with-curses --with-expat \ + --without-lzma --without-python" AUTO_PACKAGE_UTILS = "gdb gdbserver gcore" AUTO_PACKAGE_UTILS:canadian-cross = "gdb"