Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CAC9AC433EF for ; Sun, 10 Oct 2021 08:44:48 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4A00260EBB for ; Sun, 10 Oct 2021 08:44:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4A00260EBB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=free.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=buildroot.org Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 13D428275A; Sun, 10 Oct 2021 08:44:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sVn56u9DDSeJ; Sun, 10 Oct 2021 08:44:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 8257782741; Sun, 10 Oct 2021 08:44:46 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 0136E1BF285 for ; Sun, 10 Oct 2021 08:44:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E35B640116 for ; Sun, 10 Oct 2021 08:44:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ku_CSkfvx-uf for ; Sun, 10 Oct 2021 08:44:43 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp2.osuosl.org (Postfix) with ESMTP id DFA43400B9 for ; Sun, 10 Oct 2021 08:44:43 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4049) id 239059133F; Sun, 10 Oct 2021 08:41:59 +0000 (UTC) From: Yann E. MORIN To: buildroot@buildroot.org Date: Sun, 10 Oct 2021 10:44:33 +0200 X-Git-Refname: refs/heads/master X-Git-Oldrev: a81b797f1cf3ad9451a5167fd067f053c470943e X-Git-Newrev: 97f3ad7af3dd54a15a10aa35786e7fa08cf5e7b1 X-Patchwork-Hint: ignore Message-Id: <20211010084159.239059133F@busybox.osuosl.org> Subject: [Buildroot] [git commit] package/gdb: append to dependencies in conditional X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=97f3ad7af3dd54a15a10aa35786e7fa08cf5e7b1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Repeat after me: "Forcing the value of _DEPENDENCIES inside a conditional is the root of all evil." Repeat after me: "Forcing the value of _DEPENDENCIES inside a conditional is the root of all evil." Repeat after me: "Forcing the value of _DEPENDENCIES inside a conditional is the root of all evil." Repeat after me: "Forcing the value of _DEPENDENCIES inside a conditional is the root of all evil." Enough? :-) Due to this mistake, any other GDB_DEPENDENCIES defined before this assignment were lost. For example, the host-flex host-bison added inside the GDB_FROM_GIT==y condition were ignored if BR2_PACKAGE_GDB_DEBUGGER. Fixes the build of all ARC configurations that have BR2_PACKAGE_GDB_DEBUGGER enabled. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- package/gdb/gdb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index f9010019f5..4ead75289e 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -147,7 +147,7 @@ ifeq ($(BR2_PACKAGE_GDB_DEBUGGER),y) GDB_CONF_OPTS += \ --enable-gdb \ --with-curses -GDB_DEPENDENCIES = ncurses \ +GDB_DEPENDENCIES += ncurses \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) else GDB_CONF_OPTS += \ _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot