From patchwork Tue May 15 02:52:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135813 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp413728lji; Mon, 14 May 2018 19:54:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqOR7vTJFJT8DQ+Ua5x1HecdN2JsQP5u1qeegTmC1xZk5UuLS1D17C8PWiUBgb6ME7ug08w X-Received: by 2002:aa7:83c7:: with SMTP id j7-v6mr13029957pfn.50.1526352850393; Mon, 14 May 2018 19:54:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526352850; cv=none; d=google.com; s=arc-20160816; b=cD+pv9RdWfrI6y60OdYa9J2nzTMpM0F3j0H1sCM2QbKCD838H1izMz2E6BtVLQxjV9 eWvAE9ybPiWv3fepkjS6sWOPTHZ5x/WEAYzfx2NK6CXw/HpHG3AmBZRmQ5zGOI6cmaMG nGlLiZb2qhCIacKH8L+6hpvSzs2BaehUL2JGKReZancDm7ioT+JW7oJukp4cXwaKuyGS C6/WtmAaddkefUfDd9xeJjRFWG+PUbguEIK82md5gg7dqs/oAYk2UGXzkp/WRWsKNyC1 AyRD1Oo+WHQACm9NJEtkPieExglvQpmyfvkfrF0uuys8Pz3SkJMs++swXg6HbAXSnnMX /YaA== 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 :arc-authentication-results; bh=UE0etjuhjiNWU3Tk9dEbl9FFlCDGTMCvMRC7h77e3tA=; b=BhoD7b4C0BwiRO/11EWAX0Gm02VwpC6sjKOBfga86LGy5jtHnzASz0CUKT413PI6ZY Hc4mRI+MXkP/BoKLhJtKFwC7ebi7kWendcAfw4Y5SCueKHTywKcqVd39RIHcLlZofPcC avN+yH61omxAMfo3yPnMUXZvCmMe1AwQUQgJPrjblU73SNPRKESh+aC7/f9GQFNx691o 0j1NxFY2ksU2FbrEL2LzZO3XhDQDhhVaTcYraYjGPVCdcy5czJ3MBv2IZ2wqEr47L1dH yHfX8AXduFq/5l4wO+1yJULpJ2LAc6dNMgEc51p2wn8MnoX8GpCAbgni7VTTICVZaWSA tmGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=lKdlUwa4; 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 p1-v6si4267504pgr.402.2018.05.14.19.54.10; Mon, 14 May 2018 19:54:10 -0700 (PDT) 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=lKdlUwa4; 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 S1752247AbeEOCxy (ORCPT + 29 others); Mon, 14 May 2018 22:53:54 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:48189 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752057AbeEOCxv (ORCPT ); Mon, 14 May 2018 22:53:51 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id w4F2qVSv002191; Tue, 15 May 2018 11:52:34 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com w4F2qVSv002191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1526352754; bh=UE0etjuhjiNWU3Tk9dEbl9FFlCDGTMCvMRC7h77e3tA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lKdlUwa4jbDyZi8C/BvQVC7o4NImvBeX35B6P9qUNzzs88nvuxRQW4c9QdO53jsY1 q8J8e0dQ3DWcPPs8blb0EoKSF0/TjObjcZqryJnss75EmCcA4fEelAiTFhDTsDWUiD clI8OzY3TdxWPmSld1KwbPsLiem1Fe0sm4nQp11xDwH49w2iIekXyhssx3ddp0/Bt4 LAV1pX4MxJ6Ln4IZekdElQaU4QkFazwk5fzOOuNx0EfEEKbq4JLR5Xguo7Tp+yt6Fs Ji0DJhpMQCQY7qxxOjYn7qR7Q5ztrdqmpOKVzi+thX6QA0Lx49lyKUTm9HVxzdILwC z1XMEya8cUniQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Ingo Molnar , Thomas Gleixner , x86@kernel.org Cc: Masahiro Yamada , "H. Peter Anvin" , user-mode-linux-user@lists.sourceforge.net, user-mode-linux-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Richard Weinberger , Andy Lutomirski , Jeff Dike Subject: [PATCH 3/3] x86/build: vdso: put generated linker scripts to $(obj)/ Date: Tue, 15 May 2018 11:52:24 +0900 Message-Id: <1526352744-28229-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526352744-28229-1-git-send-email-yamada.masahiro@socionext.com> References: <1526352744-28229-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 Let's put generated files to $(obj)/ rather than $(src)/ although this is just a matter of taste because both are the same. Signed-off-by: Masahiro Yamada --- arch/x86/entry/vdso/Makefile | 4 ++-- arch/x86/um/vdso/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.7.4 diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 690df4c..261802b 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile @@ -51,7 +51,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 \ $(DISABLE_LTO) -$(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE +$(obj)/vdso64.so.dbg: $(obj)/vdso.lds $(vobjs) FORCE $(call if_changed,vdso) HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi -I$(srctree)/arch/$(SUBARCH)/include/uapi @@ -119,7 +119,7 @@ $(obj)/%.so: OBJCOPYFLAGS := -S $(obj)/%.so: $(obj)/%.so.dbg $(call if_changed,objcopy) -$(obj)/vdsox32.so.dbg: $(src)/vdsox32.lds $(vobjx32s) FORCE +$(obj)/vdsox32.so.dbg: $(obj)/vdsox32.lds $(vobjx32s) FORCE $(call if_changed,vdso) CPPFLAGS_vdso32.lds = $(CPPFLAGS_vdso.lds) diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index 3af55cd..822ccdb 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile @@ -30,7 +30,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ $(obj)/vdso.o: $(src)/vdso.S $(obj)/vdso.so -$(obj)/vdso.so.dbg: $(src)/vdso.lds $(vobjs) FORCE +$(obj)/vdso.so.dbg: $(obj)/vdso.lds $(vobjs) FORCE $(call if_changed,vdso) $(obj)/%.so: OBJCOPYFLAGS := -S