From patchwork Mon May 13 06:22:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 163997 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp948287ili; Sun, 12 May 2019 23:22:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9DjC/jOJPIUJcdSKJYo7QznDnpjPCmThcpK3Nsqcsz4Kt5CQXWtv/L6RJPJ8D1NzkKSHO X-Received: by 2002:a17:902:8f98:: with SMTP id z24mr16724963plo.101.1557728557469; Sun, 12 May 2019 23:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557728557; cv=none; d=google.com; s=arc-20160816; b=CCHcrlDISMUaf0YQ+3FXlo+EyrWsoApwx2qc4Nf7B+97YVoa9EFnDTFA/68gVZrUat 3Unf0oG0f3G6gjIs3SouImnlHeDy7B/ssetNxUb1939m4Uy0xoKZCyMTqLiDNbVhJZmj w5EFjpAoBPELFqNAs9GIxVyEnsWcn7vStEQvF3WRMC3VDFWsxZmY0QfTTd4oC885OZmQ wcgeSz5To+nQHNyMeCuIkFHDXUEcg8voEYFVhQo6u6E0ddT0ekovCNO0q34GGSXJmv0j aMQ8tQA45AhWEvqzHetnHDhrI/XgofPbYhhax0Ch1GWm/VdCB2up8vpfZw3DA4OqdB9A FeGA== 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=9WmgoZ6MOoUcNdNy3f/mHVIMz/MpA2ctylEVPm/El5c=; b=l0SXG2QIhcn0edb9ilmnit5NWf8L//jvtltOxSBx4rTvZE8JX9QkdfD9eo085nI3i9 zUjCqz4RRA5j6WIdnbe5XEx4r1roOpL2k+tJnF0l13GN6y8x329mhfHsddc6ue3aRK3M KWgoKNLvHZHD4bhXeY7TrYGcnfMFlOoKQjiZUIohqrWq0wpEql8fpoE+Mb2x/laKJaXG rhEV4ltE5ga8LgPQ/d/fuJ6I9KhdvyJ2lqGFnOtrGeEN6zVJY5WdxPrC9eR8Va9Qw6tO WNS2+lmvOme/PT8fgYJIMTtCEMH5Yk2hBZlFd0Xi5OamIKFOdSWolYKO14THkRVohvre ukBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=spGrzAge; 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 b12si17437737pge.261.2019.05.12.23.22.37; Sun, 12 May 2019 23:22:37 -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=spGrzAge; 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 S1727528AbfEMGW3 (ORCPT + 30 others); Mon, 13 May 2019 02:22:29 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:39677 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726642AbfEMGW3 (ORCPT ); Mon, 13 May 2019 02:22:29 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id x4D6MKME031944; Mon, 13 May 2019 15:22:22 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x4D6MKME031944 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1557728543; bh=9WmgoZ6MOoUcNdNy3f/mHVIMz/MpA2ctylEVPm/El5c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=spGrzAgeORLNZynLGITRRbr1n+792X7Scys3nwwD1XnBuur4ixM3QvVdszjGVvCtj 3XI1mCr1eGp8gxk4kKUGUiJb1keRKWnAFMsCY1Tfk9Nwqf1yR8cdWcj5bJaSJXmZP0 cKU0jDAdRgScevMPnGnHY9SOlR0FwtC7x7hYC+vennalEaqdNVwG/OHz0vSZ3logTg SVLxCJQzdKUaQQ3uB19H0LnhCqcIhe219ZwuzES5LQa56mY/4d/CaV9pNbINuM/8dk rxMsjY3oezw8XmDkzRZcpTVD/Ns4S6Wp4P90TphFnILyJq6V7THLNg2FCbtSR0Pt0a xMWSnuc9gxPSQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Mauro Carvalho Chehab , linux-media@vger.kernel.org Subject: [PATCH 1/4] media: remove unneeded header search paths Date: Mon, 13 May 2019 15:22:14 +0900 Message-Id: <20190513062217.20750-2-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190513062217.20750-1-yamada.masahiro@socionext.com> References: <20190513062217.20750-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I was able to build without these extra header search paths. Signed-off-by: Masahiro Yamada --- I split this kind of cleanups per-subsystem, and all of them were merged, except the media subsystem. I sent ping several times to the media subsystem but I could not get response at all. https://lkml.org/lkml/2019/4/11/1040 It is almost 4 months since the submission. Meanwhile, I asked 0day bot to test this, and I did not get any problem report. I am going to apply this to kbuild tree since this is a prerequisite for the Kbuild core change. drivers/media/dvb-frontends/cxd2880/Makefile | 2 -- drivers/media/pci/bt8xx/Makefile | 1 - drivers/media/platform/sti/c8sectpfe/Makefile | 1 - drivers/media/radio/Makefile | 2 -- drivers/media/spi/Makefile | 2 -- drivers/media/usb/cx231xx/Makefile | 1 - drivers/media/usb/usbvision/Makefile | 2 -- 7 files changed, 11 deletions(-) -- 2.17.1 diff --git a/drivers/media/dvb-frontends/cxd2880/Makefile b/drivers/media/dvb-frontends/cxd2880/Makefile index c6baa4caba19..646598b556d5 100644 --- a/drivers/media/dvb-frontends/cxd2880/Makefile +++ b/drivers/media/dvb-frontends/cxd2880/Makefile @@ -14,5 +14,3 @@ cxd2880-objs := cxd2880_common.o \ cxd2880_top.o obj-$(CONFIG_DVB_CXD2880) += cxd2880.o - -ccflags-y += -Idrivers/media/dvb-frontends diff --git a/drivers/media/pci/bt8xx/Makefile b/drivers/media/pci/bt8xx/Makefile index 7f1c3beb1bbc..0b5032c8a9c0 100644 --- a/drivers/media/pci/bt8xx/Makefile +++ b/drivers/media/pci/bt8xx/Makefile @@ -7,5 +7,4 @@ obj-$(CONFIG_VIDEO_BT848) += bttv.o obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-bt8xx.o dst.o dst_ca.o ccflags-y += -Idrivers/media/dvb-frontends -ccflags-y += -Idrivers/media/common ccflags-y += -Idrivers/media/tuners diff --git a/drivers/media/platform/sti/c8sectpfe/Makefile b/drivers/media/platform/sti/c8sectpfe/Makefile index 34d69472b6f0..4bf0c6bf20e1 100644 --- a/drivers/media/platform/sti/c8sectpfe/Makefile +++ b/drivers/media/platform/sti/c8sectpfe/Makefile @@ -4,6 +4,5 @@ c8sectpfe-y += c8sectpfe-core.o c8sectpfe-common.o c8sectpfe-dvb.o \ obj-$(CONFIG_DVB_C8SECTPFE) += c8sectpfe.o -ccflags-y += -Idrivers/media/common ccflags-y += -Idrivers/media/dvb-frontends/ ccflags-y += -Idrivers/media/tuners/ diff --git a/drivers/media/radio/Makefile b/drivers/media/radio/Makefile index 37e6e8255b57..53c7ae135460 100644 --- a/drivers/media/radio/Makefile +++ b/drivers/media/radio/Makefile @@ -36,5 +36,3 @@ obj-$(CONFIG_RADIO_TEA575X) += tea575x.o obj-$(CONFIG_USB_RAREMONO) += radio-raremono.o shark2-objs := radio-shark2.o radio-tea5777.o - -ccflags-y += -Isound diff --git a/drivers/media/spi/Makefile b/drivers/media/spi/Makefile index 9e536777a330..c254e2a70ec5 100644 --- a/drivers/media/spi/Makefile +++ b/drivers/media/spi/Makefile @@ -1,6 +1,4 @@ obj-$(CONFIG_VIDEO_GS1662) += gs1662.o obj-$(CONFIG_CXD2880_SPI_DRV) += cxd2880-spi.o -ccflags-y += -Idrivers/media/dvb-core -ccflags-y += -Idrivers/media/dvb-frontends ccflags-y += -Idrivers/media/dvb-frontends/cxd2880 diff --git a/drivers/media/usb/cx231xx/Makefile b/drivers/media/usb/cx231xx/Makefile index c023d97407de..af824fd80366 100644 --- a/drivers/media/usb/cx231xx/Makefile +++ b/drivers/media/usb/cx231xx/Makefile @@ -11,4 +11,3 @@ obj-$(CONFIG_VIDEO_CX231XX_DVB) += cx231xx-dvb.o ccflags-y += -Idrivers/media/tuners ccflags-y += -Idrivers/media/dvb-frontends -ccflags-y += -Idrivers/media/usb/dvb-usb diff --git a/drivers/media/usb/usbvision/Makefile b/drivers/media/usb/usbvision/Makefile index 494d030b4979..e8e5eda08b6f 100644 --- a/drivers/media/usb/usbvision/Makefile +++ b/drivers/media/usb/usbvision/Makefile @@ -1,5 +1,3 @@ usbvision-objs := usbvision-core.o usbvision-video.o usbvision-i2c.o usbvision-cards.o obj-$(CONFIG_VIDEO_USBVISION) += usbvision.o - -ccflags-y += -Idrivers/media/tuners