From patchwork Tue May 15 02:52:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135812 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp413603lji; Mon, 14 May 2018 19:54:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrhjZtTtVKP36vixUBailSVWJgdFKd6idtPytnpuzQDO8N6pmicLV5tprmmxq3w1u76SRLa X-Received: by 2002:a65:4d8a:: with SMTP id p10-v6mr10482492pgq.21.1526352840120; Mon, 14 May 2018 19:54:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526352840; cv=none; d=google.com; s=arc-20160816; b=vemMr/BTZSjG0cMMs3pa1IZaghoj7ltPBHlKjE/zqpLHuD9g86S+++lVa6B1TBQirz r6TudQYQTpif5Wm1V8RW47AsvVaB205D7K5kThXH8n4XWx1O4Ir1IMg0CsgSp5KUFKBM zvDWsFjuM2d/8LbBiCg61CSYmwt/ojTQ7M3PQ/iyYDOegIGdpZEN3wNWsu077U11qL8B 3RSHRA5hO20ejLTpvQQq9tvFQWwlXrP4LFvFNM0YMeosBRdkbhe4j88L+Xs7AY7Aji7d Hsdkj4M0jSg32yDftF35XZXFK74nADEJMkAr+Bpcs7GHIyseKvEWUbE6lvpAkeVOc70f xDVw== 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=yIULNy7PPQJD4JWXFV3ywdLNyqqx0H2bIb7wgUFuvs0=; b=0MsgGMrB2cZuzhwx9CjJ0W+nTWrXTZwKPstuldyWlGu2OQcEhtvzFqRiH1cRf91ZlG kITD3sQU8SQoh3MdGX2qZzzekcZPYjqpUJ/V1TY4gdmx5XrLaQJ9yynGfEbKIJRhYuNV tU4IUzT79gMT0f05iZjPcz3AT+y3OQtukfX+lcHFbXDpe1eowcb+sYRMw3xO/N8vxVmm SvDt4DII+byGWZJwTMDMoVkItF4F+u88flt/fqLooQ9LWQ0e8upwpMDuVaGJpoG7wjiq K9ugGVynFS4SlOLlDlz7TxRwL6GtT+iOnuGnGAr22MxaeNpzJgA6IHfwNKsbbVWDmlZB 8hJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xk+b+TJT; 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 u7-v6si10969785plq.160.2018.05.14.19.53.59; Mon, 14 May 2018 19:54:00 -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=xk+b+TJT; 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 S1752284AbeEOCx4 (ORCPT + 29 others); Mon, 14 May 2018 22:53:56 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:48183 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752031AbeEOCxv (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 w4F2qVSu002191; Tue, 15 May 2018 11:52:33 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com w4F2qVSu002191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1526352753; bh=yIULNy7PPQJD4JWXFV3ywdLNyqqx0H2bIb7wgUFuvs0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xk+b+TJT8DWP2+judgutlcaOUnXkZJdlSG9vhzXkPANQQz5dyDVWydmAzN06x+lpi eFT1/gytLhwTusDpOkW82rNpzZaig3X35DvgqzufIXRd3yZcQbHkG7z9Nq/UwOKXQQ kRfzNbgniVDahqPzmsU4bBQkjgpnj6WOIzixnHnP2DGueRN0SBGOZu82/TsbOIR3ks fp1L0O6ejwEzYDq5UI+y8a7mpvkoQjHxkru1ysbwsc0qRbtBtY2+eYL6Fvm9w2eieG YYk3fL15xJWvGh1srAkOApu+e/h/ElyK3tIRY1YuPnbMFfxXE3ZLBcRo7eUoJne5WX 6FHbYi4wleFTg== 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 2/3] x86/build: vdso: remove unnecessary export in Makefile Date: Tue, 15 May 2018 11:52:23 +0900 Message-Id: <1526352744-28229-3-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 CPPFLAGS_vdso.lds is assigned and referenced internally in each Makefile. No need to export it. Signed-off-by: Masahiro Yamada --- arch/x86/entry/vdso/Makefile | 2 +- arch/x86/um/vdso/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 2988506..690df4c 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile @@ -44,7 +44,7 @@ obj-y += $(vdso_img_objs) targets += $(vdso_img_cfiles) targets += $(vdso_img_sodbg) $(vdso_img-y:%=vdso%.so) -export CPPFLAGS_vdso.lds += -P -C +CPPFLAGS_vdso.lds += -P -C VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ -Wl,--no-undefined \ diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index 426681e..3af55cd 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile @@ -23,7 +23,7 @@ $(obj)/vdso.o: $(obj)/vdso.so targets += vdso.so vdso.so.dbg vdso.lds $(vobjs-y) -export CPPFLAGS_vdso.lds += -P -C +CPPFLAGS_vdso.lds += -P -C VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096