Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1554629yba; Fri, 17 May 2019 00:56:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCqDUHUptn3uPEfb0l5n5Sfl6qRqUPPIoEtR5pXmOeEMJzMErXgP3GPBYYLoe6mL3W3HqK X-Received: by 2002:a62:4281:: with SMTP id h1mr59054711pfd.162.1558079773679; Fri, 17 May 2019 00:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558079773; cv=none; d=google.com; s=arc-20160816; b=qD5Qu0KVVnW7PBtAlWR3c6pFTZPE+1n3RHEiVg6XIQsbWYHuZjW7PNNr8F2HtzTfn1 VVGF8tK302GBoj6OaG/P19NrVGfR4pfbZcrfyuTXfltHTvWT0RHFRylDVUSGyS+51clh rFqd6oojKkD1Xg8qnSG8/8myLj6XcVW7n5nUsbzyEJeg112i4NAbG6uQmoPX76CgZlFk 9H28XVS+avwit+shDWR8sCsTo1RQ+CK4nJngbMP41kdhv8ys7eJ9IfOiDqnJPi5pC/Ng 5AusOG6L2U4+x7bG1gOEwMMzxKhTwDiVKbCNAbflIPXcYJW+6RTBrylt3Y7T2tTvg0DL j5hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=fI8geIfKcJjtLMBH2kM/GgXVcwN/IVNzAUovAe1UXsc=; b=OUOtK10BI/GdGdYjWzlrdZ+43NYvllMWcd0Fm7vjxacqmcRjfDbu2NQHoLNySrkeTo 6OF98Sp5c/+zVhe2swxccaTkqnLxuinMUBquGnUNdgHwxTlVCRwr+0SrLfI/709HMmiY Nf0RwtYQ4XBbux7bj+utVTBfVj296VFWT/ISDO/gKyGBfAhX5OKqb5P3fiWmoIH7dGVy FfLSuW+3VQ21buq0IJAc6Monq5Pf4Ru0NEt86Cu3Ajyx3UnWUMhKG934fzY1tuFFLFnl TbtQvOCQF1H3lfNC/ss0mF01SJpHAmIHx0/mxYkGYqqnb+FYq7A/Qa7Vah5A86Lda3jb ZabQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ioE8Suyz; 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 a66si8762928pfb.210.2019.05.17.00.55.58; Fri, 17 May 2019 00:56:13 -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=ioE8Suyz; 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 S1728417AbfEQHyo (ORCPT + 99 others); Fri, 17 May 2019 03:54:44 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:17218 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728007AbfEQHyo (ORCPT ); Fri, 17 May 2019 03:54:44 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id x4H7sUrb022599; Fri, 17 May 2019 16:54:31 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com x4H7sUrb022599 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1558079671; bh=fI8geIfKcJjtLMBH2kM/GgXVcwN/IVNzAUovAe1UXsc=; h=From:To:Cc:Subject:Date:From; b=ioE8SuyzTmCa9C8tzMpHQjEddblIpOXlH4wfiJXcpgYfSooooiNArigKBFgHPcSEC OekUnE3aXgK6ZEszomjBh49yRuOCqZJ7SaIDoRupSsy6lWclUqiHDOR5J2b09MjsiK GpHbz9XicohZi1yqsTvIPlvdr16YvZDFGbpSAYjEiKm7z2cYKL2m4s1PPunv++I/5P efq3ktV1at260IjTCyDBt3rJ/c/+oXDBduy/lWmtigPBaNPCAIzH7yaKvPWMdeOwi0 fx4WGmFpmd9CitA6jto8pwMMN94qBOfakpyv0+/BAKWM0HZ5ivDkZjnko3n2UITRLj +XVmGhzbLVQBQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 1/4] s390: do not pass $(LINUXINCLUDE) to gen_opcode_table.c Date: Fri, 17 May 2019 16:54:24 +0900 Message-Id: <20190517075428.13496-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I guess HOSTCFLAGS_gen_opcode_table.o was blindly copied from HOSTCFLAGS_gen_facilities.o The reason of adding $(LINUXINCLUDE) to HOSTCFLAGS_gen_facilities.o is because gen_facilities.c references some CONFIG options. (Kbuild does not cater to this for host tools automatically.) On the other hand, gen_opcode_table.c does not reference CONFIG options at all. So, there is no good reason to pass $(LINUXINCLUDE). Signed-off-by: Masahiro Yamada --- arch/s390/tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/tools/Makefile b/arch/s390/tools/Makefile index 2342b84b3386..4ff6a2124522 100644 --- a/arch/s390/tools/Makefile +++ b/arch/s390/tools/Makefile @@ -15,7 +15,7 @@ hostprogs-y += gen_facilities hostprogs-y += gen_opcode_table HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE) -HOSTCFLAGS_gen_opcode_table.o += -Wall $(LINUXINCLUDE) +HOSTCFLAGS_gen_opcode_table.o += -Wall # Ensure output directory exists _dummy := $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)') -- 2.17.1