From patchwork Fri Jan 25 07:09:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156551 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp23611jaa; Thu, 24 Jan 2019 23:09:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN5wsr50H2NHX6Edn8mRbG5Npixe9N8SGN53FILum3+kSkW8jU3hX+qwQxg53vxeFq9PTtw9 X-Received: by 2002:a63:cd11:: with SMTP id i17mr8973727pgg.345.1548400167095; Thu, 24 Jan 2019 23:09:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548400167; cv=none; d=google.com; s=arc-20160816; b=t7Wz/gb62X0q6+7YrBXgCKXu9UCkQ4JsJqYnjMzma0JE0rCvtPJ6QZ2Br8CUJZeUoz j+v5mc2pyk2RMaeCePxvYAe2AVxPm8JOaX3A4fThm3CaWtNQkHq2Bi5VTnSFxjBdtUHE Lyip3ZhTFVq06OH2jUfcWhQRZoLGVH3m3nlcL/9biebRES4Hs0t35HUQ6lUtphR1i7HE CqDHyvdhwwkLXOJIbmpT9KNBX8xSJ9HYIDNiQkR0Ar2UISkBWg5+EZceHBVtG0ARVr9d OUxxt39JHK/Ol8C7KYUflr9rhXRhVaa/n6oL97+D9bmTR7Fi2sSQgGSuVkh5dKClEQmd viUg== 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=Vpn6bjURzAVS1rpEMtJUUe+enwqt45OopaWYKJnvavg=; b=Eo3T3boB45i8zJLH0HJQCpr/3pzrpRBprfo5pjO7GcTVyS6lvyYcLlq5ha/Yq2tJ8E O+yuumkpxrlXhGtxNkM3p437dD4nO9ngF9UdrQ7UfaoFEZe2fGlKiU4E5CpuNdicMDNm nYlYRLWKCrxAYJFaMDvwIKf58Y3V6qeOfZTGmDffjrmrvRsYfu5ysG3MK+ak2NFackWf Ystx28+ZF7NYBv7fDGauVieBGXUhYCvQl1DP/t/hgjO3yB+hgxfJW7rH6Hv3C5CmurVN cDG+0ZlOf/kVqtIjlM4DsaG/5XJuFt30vQHbyYF0ESwkfx1o/0ewB596HXQwMjwpVHtc dZyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=MQHU+TxI; 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 q16si23858409pgh.185.2019.01.24.23.09.26; Thu, 24 Jan 2019 23:09: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=MQHU+TxI; 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 S1728236AbfAYHJY (ORCPT + 31 others); Fri, 25 Jan 2019 02:09:24 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:48923 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbfAYHJY (ORCPT ); Fri, 25 Jan 2019 02:09:24 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id x0P79686005418; Fri, 25 Jan 2019 16:09:09 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com x0P79686005418 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548400150; bh=Vpn6bjURzAVS1rpEMtJUUe+enwqt45OopaWYKJnvavg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MQHU+TxIv4+a+PFQXAx/U8YFlpzc983Q1mO8xetF1ENicMLFvTRGj5A84sKjfb7o4 DslC9k8hGY1RjVcTM3qxvM5za9eyTJ/w6XIDIYbBEcyYtCvb11EN0RYLFpKhp3T5QB fNYD3lNEoiQflLz+fCXlU4LoMTUEPsxVqdFOBz1w4igO+g4MDRya73nHwKbAdM1m3P rXDXt+6KhZgxvBG156IRFVQAP/6A6qhv44g3nX7Eb/eYeVCANLM5zdocx9U8P3GXQ3 g9zkyc9Rk9sHBoJ9XPRJwuBxXczncPiy+bahuHR+kIRbMtWWRcEXcb0nNWxrR2+bzf gLjqYahSutU9w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] scsi: prefix header search paths with $(srctree)/ Date: Fri, 25 Jan 2019 16:09:04 +0900 Message-Id: <1548400144-22513-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548400144-22513-1-git-send-email-yamada.masahiro@socionext.com> References: <1548400144-22513-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 Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation consistent, and finally get rid of the gross hacks. Having whitespaces after -I does not matter since commit 48f6e3cf5bc6 ("kbuild: do not drop -I without parameter"). [1]: https://patchwork.kernel.org/patch/9632347/ Signed-off-by: Masahiro Yamada --- drivers/scsi/cxgbi/Makefile | 2 +- drivers/scsi/pcmcia/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/scsi/cxgbi/Makefile b/drivers/scsi/cxgbi/Makefile index a73781a..f78c9cc 100644 --- a/drivers/scsi/cxgbi/Makefile +++ b/drivers/scsi/cxgbi/Makefile @@ -1,4 +1,4 @@ -ccflags-y += -Idrivers/net/ethernet/chelsio/libcxgb +ccflags-y += -I $(srctree)/drivers/net/ethernet/chelsio/libcxgb obj-$(CONFIG_SCSI_CXGB3_ISCSI) += libcxgbi.o cxgb3i/ obj-$(CONFIG_SCSI_CXGB4_ISCSI) += libcxgbi.o cxgb4i/ diff --git a/drivers/scsi/pcmcia/Makefile b/drivers/scsi/pcmcia/Makefile index faa87a4..a5a24dd 100644 --- a/drivers/scsi/pcmcia/Makefile +++ b/drivers/scsi/pcmcia/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -ccflags-y := -Idrivers/scsi +ccflags-y := -I $(srctree)/drivers/scsi # 16-bit client drivers obj-$(CONFIG_PCMCIA_QLOGIC) += qlogic_cs.o