From patchwork Tue Feb 19 09:33:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 158705 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3450905jaa; Tue, 19 Feb 2019 01:33:28 -0800 (PST) X-Google-Smtp-Source: AHgI3IYLWEoYkeViefwq2GWDZFTuu8p9FJIySABJvuTEdddv8JGVaA9sfmmh4opbM/xbJuAQGDOJ X-Received: by 2002:a65:4b83:: with SMTP id t3mr23014485pgq.417.1550568807932; Tue, 19 Feb 2019 01:33:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550568807; cv=none; d=google.com; s=arc-20160816; b=Ovv7078PvaYxL+Noo5xj1ohpZOvhVFBbJYICYLaECbGMEYp7J8xbUa1F2TrZQgLpHG MlZzRCw10yuefB6UTfkjgA91sHbgAwn1xLIvrSJX+PbgpZmTt6cKLaukBCz07drkjmop 0veCH2eQxRvppYQ5ZUt8BreKKTJCfd09naz1nlswT+J/4d4hBDnpi0DsJK9mVxfbsmBG YMdh7Tbc0DVYEdzdGO8YhKKmuW1RnTQtmMHypAoL9oJ73eE9M45baF/D/mw++0XbhNqw FPoNLPTwDyk7Gbo8gRL4CMZELl88IKkA8mQQ7n4Ho/pIgrBjFsn9v2K5UMAT9+OmgIbz ABQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=7gGXpYHokVbBLif6nFDQjQ8PsczV06ea6Pz4i46Teys=; b=wD7jIFMgjDvvvhwp2ClyqOGnw3KHr+3BV2V3bKYmyybtQhLGcxulYKCHcZ2ebJwuw1 +TyzyNetiYMZ76zPTLonFNRfFvYuIw2xIPQKGr6rxkT2AITn93ODv860T3iZjOrAvQRT 9T/pQ+Wk3reuGejpP3lvS9MdtlRLbo1Mw9yfAPSKyhXqjhXmvTbXBbDk6+irNtY4ZRu6 6bsX6r7vo2g5qdjV1nfCbqBPG919zlGb4ceq7sR4ZwJvsBdHl3zlAyosJ7aJlt5y30Lv wrTHZx+Ih8l8lknYHgHKIniHmShokFBGfJ2ThG7oWakq7j4mLDiDEuKawZywkp59JqVI JlHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=NBtDSjoa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5si14898159pgq.535.2019.02.19.01.33.27; Tue, 19 Feb 2019 01:33:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=NBtDSjoa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728063AbfBSJdZ (ORCPT + 32 others); Tue, 19 Feb 2019 04:33:25 -0500 Received: from conuserg-09.nifty.com ([210.131.2.76]:52670 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725767AbfBSJdZ (ORCPT ); Tue, 19 Feb 2019 04:33:25 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id x1J9XBkN002572; Tue, 19 Feb 2019 18:33:13 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com x1J9XBkN002572 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1550568793; bh=7gGXpYHokVbBLif6nFDQjQ8PsczV06ea6Pz4i46Teys=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NBtDSjoaKI9YCnanZOAMfXNl7l+Krp0LfVGtm2Nx1oIoWIy83i0AA+zYPonFcriDR wqemtThqdUEfaUHh4RG7mxtORkPOI7GfBL13sgTAVNobW0hVSjOor8AYo4jpP0ktq4 zin/vnfEuEhsz034eFCYk6anhtQ+UsVmIkwrpqppIYrvjhGZ+iVUK/79ifzoa2zKHn fkS2Jd6NLFKvQc133jTVulKaee5ltE1wXgFQ/TaynGI9klzbdBRRlwmLGxsra8UHO4 4Q8cVCkFx3s6bP5KxduKezmIPR51qe021OZEugZoFHe55fUnijzJEdhpifhUe92Due wmHqbJXU608Pg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Kieran Bingham , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 4/5] kbuild: create symlink to vmlinux-gdb.py in scripts_gdb target Date: Tue, 19 Feb 2019 18:33:05 +0900 Message-Id: <1550568787-18710-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550568787-18710-1-git-send-email-yamada.masahiro@socionext.com> References: <1550568787-18710-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It is weird to create gdb stuff as a side-effect of vmlinux. Move it to a more relevant place. Signed-off-by: Masahiro Yamada --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.7.4 Reviewed-by: Kieran Bingham diff --git a/Makefile b/Makefile index a5762c6..0459260 100644 --- a/Makefile +++ b/Makefile @@ -1015,9 +1015,6 @@ cmd_link-vmlinux = \ $(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true) vmlinux: scripts/link-vmlinux.sh autoksyms_recursive $(vmlinux-deps) FORCE -ifdef CONFIG_GDB_SCRIPTS - $(Q)ln -fsn $(abspath $(srctree)/scripts/gdb/vmlinux-gdb.py) -endif +$(call if_changed,link-vmlinux) targets := vmlinux @@ -1519,6 +1516,7 @@ $(DOC_TARGETS): scripts_basic FORCE PHONY += scripts_gdb scripts_gdb: prepare $(Q)$(MAKE) $(build)=scripts/gdb + $(Q)ln -fsn $(abspath $(srctree)/scripts/gdb/vmlinux-gdb.py) ifdef CONFIG_GDB_SCRIPTS all: scripts_gdb