Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3339747imj; Tue, 19 Feb 2019 01:34:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IYEtsImqABddzd3oErtoiHZNhh2kTDm/AgFNF870jK35OlnMhwg2cPZKTnR0tIP/m3E0Etr X-Received: by 2002:a62:6f49:: with SMTP id k70mr28308837pfc.7.1550568853398; Tue, 19 Feb 2019 01:34:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550568853; cv=none; d=google.com; s=arc-20160816; b=hH+5ggf4eAFkDFG9WA2fGR+Fo7eVFO17Pa890HAVq6PGAXgOcilZkEhqSu/zehanxW CtXKVfGQGNSIOfsNtyi43Qv+sDqdNlUZw1BlhfoMAf7Ijkkk+7oMXPlfloRzv+TAjlbO 5pI9BDAd4FaIo3FyWof5LVGwD4duTFPSbQq0dqBMwHIKPUWLo9m8IP5xwCwrmJ35YLj2 y0GPh0uCVfO7W3urdjTakFt57I+Tz696CvEf6JYjgUEoL8oyMJZSOU9bp43JVRmRORdT mnCU3GCe+FDbuSys6rYVY2WenTr7RaGwkY/F+1vFmkhcDOaqSIGjViACRU15fJP9jKse QzDQ== 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 y9si14408374pgv.134.2019.02.19.01.33.58; Tue, 19 Feb 2019 01:34:13 -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 S1728023AbfBSJdZ (ORCPT + 99 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(-) 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 -- 2.7.4