From patchwork Fri Jan 25 06:54:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156537 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp11732jaa; Thu, 24 Jan 2019 22:55:10 -0800 (PST) X-Google-Smtp-Source: ALg8bN5fvx9hksE8gSQLDSVek0k8O+NQcD+RJIZ8oHsQ/5KHY/MSChgsy3lYP8xt6HJWLhPFrysL X-Received: by 2002:a17:902:9a02:: with SMTP id v2mr9953152plp.180.1548399310207; Thu, 24 Jan 2019 22:55:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548399310; cv=none; d=google.com; s=arc-20160816; b=M5dRN3l64JerYNuAI9YooOzqemcsq+ecBgerTdXO+q/YtVM+sBd8WSh6YS51/GYwfR J9qK7+umMIa9lB84Ou5iqf8OrYAf98gqZL6nqKoNr5JGt/i1knhHpD/m7moGkSbojkPj CzEdqCoBfJN6RApGS5weoQ8/oBlsbyrOqhQQXNlOl10BF/lE/07KALp8kWuO9mnbgyb9 5LXNSxhdZJgjnYzk8tbAwnQleHBSteSMqkpPWOaXSs1zd3oPM1eNY3WA7+ozEi4FzQmM q6HHu4fNbHK3l/6qgWqoq/wlCVEXq5z6L3LLadwyAG+nqcyihXtHTOxo1ZzGndAaULyu /VrQ== 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=h8rpwS53NnS4Ivs3ONGYw2ef3dhr+vT5OXxbzo4VzEE=; b=ST9YHEkOZhVsHh0VK2BvdCVTeyLXNoSPwRqV9ngFc49kUH9Rr5GiQExuoQR/cmWF4Q Wi0yKBWSYxudsjlNIgKAb0vamy6P+muCSZmuuAy8Jn64NIJL1qi+v9MGF3Pj8hwVGjuk yLoU3baypoyOWpdkuM+IHTXIXPcucl0Gqcp+8w11F3diktHpbBJM0tSnl1azBw7se02G 92FJBAPr4NSJY170A7S2OrEmrpoRkqT4T5PViVVHy5+1xm9ynQ2EmWGKjcG22xi7VPyn n5JnTJpWPd2oxWdfl1juoCVvWtrmSCEkGri1lGDnB3o6SL+1WKmJpt6DdVxLcNWr5dGw 2LlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ttfxxIIE; 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 g10si25931356plm.1.2019.01.24.22.55.09; Thu, 24 Jan 2019 22:55:10 -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=ttfxxIIE; 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 S1727918AbfAYGyw (ORCPT + 31 others); Fri, 25 Jan 2019 01:54:52 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:57090 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726271AbfAYGyv (ORCPT ); Fri, 25 Jan 2019 01:54:51 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id x0P6sNWo014857; Fri, 25 Jan 2019 15:54:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x0P6sNWo014857 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548399265; bh=h8rpwS53NnS4Ivs3ONGYw2ef3dhr+vT5OXxbzo4VzEE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ttfxxIIEC9VRTaHkxy3jHaGEmmQ+s3S73dyShdyF/XBPk3a7QfwYsWILcDtFbVmpa xyb5k5OWUYqUezi6vxhUOXRaweIC1gnWpk88wiOtxG5P3fojrV2geLAjvQC1RgnsBo 3H/tY9ZU3YGXbQ7odfMX3sa0y+EzuOnolkFZtK18+J+pqNRpz0CLCIZGPYOLG+EXNS gm2V9nz2kWB6WmumIxxdTYvCKvGpevxGmd+qynciPLewRgCwDAnq1F01SaREfTykwY fO//Nu08MSmODhsxWKm7CvQsVd4hQju7GR92rDoiQ8OvTK0N6gU6qHGl0KFdjytJNq jPw+d76yXtrFg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Mauro Carvalho Chehab , linux-media@vger.kernel.org Cc: Masahiro Yamada , Philipp Zabel , linux-kernel@vger.kernel.org Subject: [PATCH 1/3] media: coda: remove -I$(src) header search path Date: Fri, 25 Jan 2019 15:54:17 +0900 Message-Id: <1548399259-17750-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548399259-17750-1-git-send-email-yamada.masahiro@socionext.com> References: <1548399259-17750-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 Remove the header search path to the current directory. The compiler will search headers in the current directory by using #include "..." instead of #include <...> Also, change TRACE_INCLUDE_PATH to point to the location of trace.h. Signed-off-by: Masahiro Yamada --- drivers/media/platform/coda/Makefile | 2 -- drivers/media/platform/coda/coda-h264.c | 3 ++- drivers/media/platform/coda/trace.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/drivers/media/platform/coda/Makefile b/drivers/media/platform/coda/Makefile index 8582843..3eed821 100644 --- a/drivers/media/platform/coda/Makefile +++ b/drivers/media/platform/coda/Makefile @@ -1,5 +1,3 @@ -ccflags-y += -I$(src) - coda-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-jpeg.o obj-$(CONFIG_VIDEO_CODA) += coda.o diff --git a/drivers/media/platform/coda/coda-h264.c b/drivers/media/platform/coda/coda-h264.c index 635356a..6da82d1 100644 --- a/drivers/media/platform/coda/coda-h264.c +++ b/drivers/media/platform/coda/coda-h264.c @@ -14,7 +14,8 @@ #include #include #include -#include + +#include "coda.h" static const u8 coda_filler_size[8] = { 0, 7, 14, 13, 12, 11, 10, 9 }; diff --git a/drivers/media/platform/coda/trace.h b/drivers/media/platform/coda/trace.h index a672bfc..6cf5823 100644 --- a/drivers/media/platform/coda/trace.h +++ b/drivers/media/platform/coda/trace.h @@ -157,7 +157,7 @@ DEFINE_EVENT(coda_buf_meta_class, coda_dec_rot_done, #endif /* __CODA_TRACE_H__ */ #undef TRACE_INCLUDE_PATH -#define TRACE_INCLUDE_PATH . +#define TRACE_INCLUDE_PATH ../../drivers/media/platform/coda #undef TRACE_INCLUDE_FILE #define TRACE_INCLUDE_FILE trace From patchwork Fri Jan 25 06:54:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156538 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp11956jaa; Thu, 24 Jan 2019 22:55:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN5Ytvms1NhAuZjVGhQDsKT/6XK1q/5482iUDW/t3E5wSuXlfzHP83euAJiegAFvaNg4NTD7 X-Received: by 2002:a17:902:d697:: with SMTP id v23mr9618912ply.261.1548399327596; Thu, 24 Jan 2019 22:55:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548399327; cv=none; d=google.com; s=arc-20160816; b=ITMTq3zyCZrCYpgeWi/ILIp4rr64Cgn0yEnYySj9f/ayttY4t4R2qgUOHOaWvmyHlT 5UOPF6SPEkgTShRSB8U6SE3SD5Fz7U1jzxsKXfAnpX2VKCtSlHKQtGBLErr3qRR2fBdO FsHedL4BXcqCv4Dlzymirul7rZaRek0t95m+lROJqN2q+TJtbsYihc2CAUtYG4euR9jw DFwY42Wo1NG02nHf0loDE6pmBRDPCv33si7XR7e9l+c9J+BfcA1pAu5Gii7DJNJDYI3M 2eqVFHtSWofkmuWBIiUJae951bFuQvR6HYpi/++1HILQRIGPBKwiFi7Msp0ctX4uIO1S hM5A== 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=PzesMvB7iVXqa+zKaWBiL5i327PsGVECtcZjeWDDDyQ=; b=vAZNCz4GEDVliNCJPwvaRe42pRZj2fGJFKQoyVdz43amstdOa70u0Q3dxJ/aFuRf31 l7hUUTwBvO4+pyaORL9aqpQmhy1s8lvx9bg1JJUYbzT7nAhZlWE7MBj5Hbtho6xzA9um vJ/r/ZYCWn6unMHnFY0UMPa+lgzDV4AbUcFJecgHOBt5FVX6VqTDCBl5hLt6TxbT44VN ar6YD/UPhREw9jmn2ZzDQjMRHhJUESPTUQiJKG3tZ8/evF9IS9FjKlEPihUuT0XcrDoT pqGwIR6XgVs7mCOFuqEzwXY1IB2wP9i9XPQdpioNiK9FJBgdMG4z2cvQsSIYsbcg6qUj UGjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=mJqUj6Fu; 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 g4si24891612pfm.85.2019.01.24.22.55.27; Thu, 24 Jan 2019 22:55: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=mJqUj6Fu; 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 S1728007AbfAYGzM (ORCPT + 31 others); Fri, 25 Jan 2019 01:55:12 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:57845 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbfAYGzM (ORCPT ); Fri, 25 Jan 2019 01:55:12 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id x0P6sNWp014857; Fri, 25 Jan 2019 15:54:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x0P6sNWp014857 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548399266; bh=PzesMvB7iVXqa+zKaWBiL5i327PsGVECtcZjeWDDDyQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mJqUj6Fuyw6P/cc1PDpJ/S/k1Qa+PCwARq9gPHLLgURSIOeFTIod25K/+g7m7QOWZ MD7cia77PUls8xAHTydMSOpRAQoAn3+YO7bIeHRNnZt57J++ZcMfsmd/I1xRe1XhWz uKjGI3zSEBU4/oUf2GcrhEadq7HIIiJr5Ga2SO5oiNva2ovEgjHzYzLzJOl5wRJRCI vGEaq+kj97zPrvY4O/y+rwCVbisSngd0ETN8nDaRyWz2JfrL24XYhPSyrgdlFzWurX j/6QoCoW4AWDRDR9wHW6Uc12T+H/JLdEkf+NpvJvpwmnNQplRdb/35IRtwv3maIJk/ FiX2H7zyrGH8A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Mauro Carvalho Chehab , linux-media@vger.kernel.org Cc: Masahiro Yamada , Patrice Chotard , linux-kernel@vger.kernel.org, Hans Verkuil , Yasunari Takiguchi , linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] media: remove unneeded header search paths Date: Fri, 25 Jan 2019 15:54:18 +0900 Message-Id: <1548399259-17750-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548399259-17750-1-git-send-email-yamada.masahiro@socionext.com> References: <1548399259-17750-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 I was able to build without these extra header search paths. Signed-off-by: Masahiro Yamada --- 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.7.4 diff --git a/drivers/media/dvb-frontends/cxd2880/Makefile b/drivers/media/dvb-frontends/cxd2880/Makefile index c6baa4c..646598b 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 7f1c3be..0b5032c 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 34d6947..4bf0c6b 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 37e6e82..53c7ae1 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 9e53677..c254e2a 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 c023d97..af824fd 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 494d030..e8e5eda 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 From patchwork Fri Jan 25 06:54:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156539 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp12771jaa; Thu, 24 Jan 2019 22:56:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN4uNIiTVj3XA2mgV1++B3ulzx/ONdgIlFmsP1yKTvFsCdT2gHrPXAtUL816U5U26Kgfrj/M X-Received: by 2002:a17:902:70c6:: with SMTP id l6mr3425827plt.30.1548399398349; Thu, 24 Jan 2019 22:56:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548399398; cv=none; d=google.com; s=arc-20160816; b=aZjzvI9dy0z7kmxQwhGZgenivo3yLUxHH8bOBTuYbpci+890vILbbEPwbnECLnZ2Eo 6tPKGnFYdbbITO5voeJJQpcgid0DrciV1TZLDGcbtb/J8TuzyP/WNnTVpicwGYjPfXCV lHQjYEXznavrp22DbfRaPw6DLDgTL1rkKZyCmUkFy1sA4MsNCzbal0hAWj/RwjiBg0AT 74NsAhc57NNo0aI0qN/TdITTl7WEskxGyxHskXw0kOTxw33gFksFf5MFicA8ZMmANzTn fVffqYq1GOybaqTb/uFpXBgVJsR1yEjnKeciwz1ITzMV8AXcvJDkyaMuVgJMNXWkUuE8 XAFA== 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=JpjYnlzbJzFxJppLI7k9UasCvqng+Fbq9QF1FVS+cPA=; b=YNDy91nZst/pA7jUqnQA8HvTRAYX0wDXX73/KczC6TMZhbp4cFqmhUSxagOITco5w4 Hgp7FiQpwYFDYdg1TZxzqKBDeBCIETHYjspzS+kW0z5z5fY9wM3zOAVYNadD9xpR1Tio /4l4hGPD5T4sV6GvtQ0Qju8iKfKlfsAZLiFb13qtKwvcQT8sN12GMGVMYXmm+NoYAKen lpgTbLKyq09hh/wuW05hwxCDvgerAF3x37A6i6fvuQzn0n/mkGnc5V5MJe/rTGAI4jIa VCiGlIIufhsB3HySbkkh5LLxOBLFTzevrmNGWj0+Gb/gg1IRPHTSUz8uvFzikt8RQnV9 q/Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="aIaUgUV/"; 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 w5si22683544plp.208.2019.01.24.22.56.37; Thu, 24 Jan 2019 22:56:38 -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="aIaUgUV/"; 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 S1728162AbfAYG4f (ORCPT + 31 others); Fri, 25 Jan 2019 01:56:35 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:60389 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbfAYG4e (ORCPT ); Fri, 25 Jan 2019 01:56:34 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id x0P6sNWq014857; Fri, 25 Jan 2019 15:54:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x0P6sNWq014857 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548399267; bh=JpjYnlzbJzFxJppLI7k9UasCvqng+Fbq9QF1FVS+cPA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aIaUgUV/z3tnO3OqYn0P4UjD6wtahh3E/fv3BlrP+MViv7Dxdc2ZhUfeV1c7xr7rf 25rTAQrWUTXkOTOgHRw7IAWFzmXKP5C5Us3NjpSAur8puItZullTdtXHc0xtLQWBh7 TM+55q+xXanH5sUgNd2FBfJuFyHvEOB6dp1qEAcqxHBU2SJS5UoOWTL3rEhm8NojWf X11WYfUI9rq+vY1IpSZsmrZLKToWM1/CfSrzE7J592J35bu4faRwpn9lEWMV8EHw0J D8Y8br/JpNC6/YAeZUP2fMpwAuxV3Jpo2OQRbPKRoPuHUxUVNA2xifj1RrCimZHZ+J Spf2FMAKBcNkA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Mauro Carvalho Chehab , linux-media@vger.kernel.org Cc: Masahiro Yamada , Sakari Ailus , Patrice Chotard , Akihiro Tsukada , linux-kernel@vger.kernel.org, Abylay Ospan , Hans Verkuil , Sergey Kozlov , Mike Isely , Andy Walls , linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] media: prefix header search paths with $(srctree)/ Date: Fri, 25 Jan 2019 15:54:19 +0900 Message-Id: <1548399259-17750-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548399259-17750-1-git-send-email-yamada.masahiro@socionext.com> References: <1548399259-17750-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/media/common/b2c2/Makefile | 4 ++-- drivers/media/i2c/smiapp/Makefile | 2 +- drivers/media/mmc/siano/Makefile | 3 +-- drivers/media/pci/b2c2/Makefile | 2 +- drivers/media/pci/bt8xx/Makefile | 4 ++-- drivers/media/pci/cx18/Makefile | 4 ++-- drivers/media/pci/cx23885/Makefile | 4 ++-- drivers/media/pci/cx88/Makefile | 4 ++-- drivers/media/pci/ddbridge/Makefile | 4 ++-- drivers/media/pci/dm1105/Makefile | 2 +- drivers/media/pci/mantis/Makefile | 2 +- drivers/media/pci/netup_unidvb/Makefile | 2 +- drivers/media/pci/ngene/Makefile | 4 ++-- drivers/media/pci/pluto2/Makefile | 2 +- drivers/media/pci/pt1/Makefile | 4 ++-- drivers/media/pci/pt3/Makefile | 4 ++-- drivers/media/pci/smipcie/Makefile | 5 ++--- drivers/media/pci/ttpci/Makefile | 4 ++-- drivers/media/platform/sti/c8sectpfe/Makefile | 4 ++-- drivers/media/spi/Makefile | 2 +- drivers/media/usb/as102/Makefile | 2 +- drivers/media/usb/au0828/Makefile | 4 ++-- drivers/media/usb/b2c2/Makefile | 2 +- drivers/media/usb/cx231xx/Makefile | 4 ++-- drivers/media/usb/em28xx/Makefile | 4 ++-- drivers/media/usb/go7007/Makefile | 2 +- drivers/media/usb/pvrusb2/Makefile | 4 ++-- drivers/media/usb/siano/Makefile | 2 +- drivers/media/usb/tm6000/Makefile | 4 ++-- drivers/media/usb/ttusb-budget/Makefile | 2 +- 30 files changed, 47 insertions(+), 49 deletions(-) -- 2.7.4 diff --git a/drivers/media/common/b2c2/Makefile b/drivers/media/common/b2c2/Makefile index aa2dc24..0e32b77 100644 --- a/drivers/media/common/b2c2/Makefile +++ b/drivers/media/common/b2c2/Makefile @@ -4,5 +4,5 @@ b2c2-flexcop-objs += flexcop-sram.o flexcop-eeprom.o flexcop-misc.o b2c2-flexcop-objs += flexcop-hw-filter.o obj-$(CONFIG_DVB_B2C2_FLEXCOP) += b2c2-flexcop.o -ccflags-y += -Idrivers/media/dvb-frontends/ -ccflags-y += -Idrivers/media/tuners/ +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ +ccflags-y += -I $(srctree)/drivers/media/tuners/ diff --git a/drivers/media/i2c/smiapp/Makefile b/drivers/media/i2c/smiapp/Makefile index f45a003..9f03aef 100644 --- a/drivers/media/i2c/smiapp/Makefile +++ b/drivers/media/i2c/smiapp/Makefile @@ -2,4 +2,4 @@ smiapp-objs += smiapp-core.o smiapp-regs.o \ smiapp-quirk.o smiapp-limits.o obj-$(CONFIG_VIDEO_SMIAPP) += smiapp.o -ccflags-y += -Idrivers/media/i2c +ccflags-y += -I $(srctree)/drivers/media/i2c diff --git a/drivers/media/mmc/siano/Makefile b/drivers/media/mmc/siano/Makefile index 5fc3456..848548f 100644 --- a/drivers/media/mmc/siano/Makefile +++ b/drivers/media/mmc/siano/Makefile @@ -1,4 +1,3 @@ obj-$(CONFIG_SMS_SDIO_DRV) += smssdio.o -ccflags-y += -Idrivers/media/common/siano - +ccflags-y += -I $(srctree)/drivers/media/common/siano diff --git a/drivers/media/pci/b2c2/Makefile b/drivers/media/pci/b2c2/Makefile index b43b916..14ed6e4 100644 --- a/drivers/media/pci/b2c2/Makefile +++ b/drivers/media/pci/b2c2/Makefile @@ -6,4 +6,4 @@ endif b2c2-flexcop-pci-objs += flexcop-pci.o obj-$(CONFIG_DVB_B2C2_FLEXCOP_PCI) += b2c2-flexcop-pci.o -ccflags-y += -Idrivers/media/common/b2c2/ +ccflags-y += -I $(srctree)/drivers/media/common/b2c2/ diff --git a/drivers/media/pci/bt8xx/Makefile b/drivers/media/pci/bt8xx/Makefile index 0b5032c..69bc0d9 100644 --- a/drivers/media/pci/bt8xx/Makefile +++ b/drivers/media/pci/bt8xx/Makefile @@ -6,5 +6,5 @@ bttv-objs := bttv-driver.o bttv-cards.o bttv-if.o \ 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/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners diff --git a/drivers/media/pci/cx18/Makefile b/drivers/media/pci/cx18/Makefile index 9c82c2d..df00ef8 100644 --- a/drivers/media/pci/cx18/Makefile +++ b/drivers/media/pci/cx18/Makefile @@ -9,5 +9,5 @@ cx18-alsa-objs := cx18-alsa-main.o cx18-alsa-pcm.o obj-$(CONFIG_VIDEO_CX18) += cx18.o obj-$(CONFIG_VIDEO_CX18_ALSA) += cx18-alsa.o -ccflags-y += -Idrivers/media/dvb-frontends -ccflags-y += -Idrivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners diff --git a/drivers/media/pci/cx23885/Makefile b/drivers/media/pci/cx23885/Makefile index 130f0aa..a785169 100644 --- a/drivers/media/pci/cx23885/Makefile +++ b/drivers/media/pci/cx23885/Makefile @@ -8,7 +8,7 @@ cx23885-objs := cx23885-cards.o cx23885-video.o cx23885-vbi.o \ obj-$(CONFIG_VIDEO_CX23885) += cx23885.o obj-$(CONFIG_MEDIA_ALTERA_CI) += altera-ci.o -ccflags-y += -Idrivers/media/tuners -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends ccflags-y += $(extra-cflags-y) $(extra-cflags-m) diff --git a/drivers/media/pci/cx88/Makefile b/drivers/media/pci/cx88/Makefile index d0f45d6..c2a0158 100644 --- a/drivers/media/pci/cx88/Makefile +++ b/drivers/media/pci/cx88/Makefile @@ -10,5 +10,5 @@ obj-$(CONFIG_VIDEO_CX88_ALSA) += cx88-alsa.o obj-$(CONFIG_VIDEO_CX88_BLACKBIRD) += cx88-blackbird.o obj-$(CONFIG_VIDEO_CX88_DVB) += cx88-dvb.o obj-$(CONFIG_VIDEO_CX88_VP3054) += cx88-vp3054-i2c.o -ccflags-y += -Idrivers/media/tuners -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends diff --git a/drivers/media/pci/ddbridge/Makefile b/drivers/media/pci/ddbridge/Makefile index 5b6d5bb..2b77c8d 100644 --- a/drivers/media/pci/ddbridge/Makefile +++ b/drivers/media/pci/ddbridge/Makefile @@ -9,5 +9,5 @@ ddbridge-objs := ddbridge-main.o ddbridge-core.o ddbridge-ci.o \ obj-$(CONFIG_DVB_DDBRIDGE) += ddbridge.o -ccflags-y += -Idrivers/media/dvb-frontends/ -ccflags-y += -Idrivers/media/tuners/ +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ +ccflags-y += -I $(srctree)/drivers/media/tuners/ diff --git a/drivers/media/pci/dm1105/Makefile b/drivers/media/pci/dm1105/Makefile index d22c254..87e8e80 100644 --- a/drivers/media/pci/dm1105/Makefile +++ b/drivers/media/pci/dm1105/Makefile @@ -1,3 +1,3 @@ obj-$(CONFIG_DVB_DM1105) += dm1105.o -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends diff --git a/drivers/media/pci/mantis/Makefile b/drivers/media/pci/mantis/Makefile index b5ef396..49e8224 100644 --- a/drivers/media/pci/mantis/Makefile +++ b/drivers/media/pci/mantis/Makefile @@ -26,4 +26,4 @@ obj-$(CONFIG_MANTIS_CORE) += mantis_core.o obj-$(CONFIG_DVB_MANTIS) += mantis.o obj-$(CONFIG_DVB_HOPPER) += hopper.o -ccflags-y += -Idrivers/media/dvb-frontends/ +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ diff --git a/drivers/media/pci/netup_unidvb/Makefile b/drivers/media/pci/netup_unidvb/Makefile index 944c3e1..215bdaf 100644 --- a/drivers/media/pci/netup_unidvb/Makefile +++ b/drivers/media/pci/netup_unidvb/Makefile @@ -6,4 +6,4 @@ netup-unidvb-objs += netup_unidvb_spi.o obj-$(CONFIG_DVB_NETUP_UNIDVB) += netup-unidvb.o -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends diff --git a/drivers/media/pci/ngene/Makefile b/drivers/media/pci/ngene/Makefile index ec450ad..5d16090 100644 --- a/drivers/media/pci/ngene/Makefile +++ b/drivers/media/pci/ngene/Makefile @@ -7,5 +7,5 @@ ngene-objs := ngene-core.o ngene-i2c.o ngene-cards.o ngene-dvb.o obj-$(CONFIG_DVB_NGENE) += ngene.o -ccflags-y += -Idrivers/media/dvb-frontends/ -ccflags-y += -Idrivers/media/tuners/ +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ +ccflags-y += -I $(srctree)/drivers/media/tuners/ diff --git a/drivers/media/pci/pluto2/Makefile b/drivers/media/pci/pluto2/Makefile index 3c2aea1..4d21a2c 100644 --- a/drivers/media/pci/pluto2/Makefile +++ b/drivers/media/pci/pluto2/Makefile @@ -1,3 +1,3 @@ obj-$(CONFIG_DVB_PLUTO2) += pluto2.o -ccflags-y += -Idrivers/media/dvb-frontends/ +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ diff --git a/drivers/media/pci/pt1/Makefile b/drivers/media/pci/pt1/Makefile index bc491e0..f80a1cd 100644 --- a/drivers/media/pci/pt1/Makefile +++ b/drivers/media/pci/pt1/Makefile @@ -2,5 +2,5 @@ earth-pt1-objs := pt1.o obj-$(CONFIG_DVB_PT1) += earth-pt1.o -ccflags-y += -Idrivers/media/dvb-frontends -ccflags-y += -Idrivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners diff --git a/drivers/media/pci/pt3/Makefile b/drivers/media/pci/pt3/Makefile index 8698d5d..da6b265 100644 --- a/drivers/media/pci/pt3/Makefile +++ b/drivers/media/pci/pt3/Makefile @@ -4,5 +4,5 @@ earth-pt3-objs += pt3.o pt3_i2c.o pt3_dma.o obj-$(CONFIG_DVB_PT3) += earth-pt3.o -ccflags-y += -Idrivers/media/dvb-frontends -ccflags-y += -Idrivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners diff --git a/drivers/media/pci/smipcie/Makefile b/drivers/media/pci/smipcie/Makefile index 214ebfe..2426b75 100644 --- a/drivers/media/pci/smipcie/Makefile +++ b/drivers/media/pci/smipcie/Makefile @@ -4,6 +4,5 @@ smipcie-objs := smipcie-main.o smipcie-ir.o obj-$(CONFIG_DVB_SMIPCIE) += smipcie.o -ccflags-y += -Idrivers/media/tuners -ccflags-y += -Idrivers/media/dvb-frontends - +ccflags-y += -I $(srctree)/drivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends diff --git a/drivers/media/pci/ttpci/Makefile b/drivers/media/pci/ttpci/Makefile index 58ca127..9b44c47 100644 --- a/drivers/media/pci/ttpci/Makefile +++ b/drivers/media/pci/ttpci/Makefile @@ -18,5 +18,5 @@ obj-$(CONFIG_DVB_BUDGET_CI) += budget-ci.o obj-$(CONFIG_DVB_BUDGET_PATCH) += budget-patch.o obj-$(CONFIG_DVB_AV7110) += dvb-ttpci.o -ccflags-y += -Idrivers/media/dvb-frontends/ -ccflags-y += -Idrivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ +ccflags-y += -I $(srctree)/drivers/media/tuners diff --git a/drivers/media/platform/sti/c8sectpfe/Makefile b/drivers/media/platform/sti/c8sectpfe/Makefile index 4bf0c6b..aedfc72 100644 --- a/drivers/media/platform/sti/c8sectpfe/Makefile +++ b/drivers/media/platform/sti/c8sectpfe/Makefile @@ -4,5 +4,5 @@ c8sectpfe-y += c8sectpfe-core.o c8sectpfe-common.o c8sectpfe-dvb.o \ obj-$(CONFIG_DVB_C8SECTPFE) += c8sectpfe.o -ccflags-y += -Idrivers/media/dvb-frontends/ -ccflags-y += -Idrivers/media/tuners/ +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ +ccflags-y += -I $(srctree)/drivers/media/tuners/ diff --git a/drivers/media/spi/Makefile b/drivers/media/spi/Makefile index c254e2a..446e6c5 100644 --- a/drivers/media/spi/Makefile +++ b/drivers/media/spi/Makefile @@ -1,4 +1,4 @@ obj-$(CONFIG_VIDEO_GS1662) += gs1662.o obj-$(CONFIG_CXD2880_SPI_DRV) += cxd2880-spi.o -ccflags-y += -Idrivers/media/dvb-frontends/cxd2880 +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/cxd2880 diff --git a/drivers/media/usb/as102/Makefile b/drivers/media/usb/as102/Makefile index b0b3196..de671ae 100644 --- a/drivers/media/usb/as102/Makefile +++ b/drivers/media/usb/as102/Makefile @@ -4,4 +4,4 @@ dvb-as102-objs := as102_drv.o as102_fw.o as10x_cmd.o as10x_cmd_stream.o \ obj-$(CONFIG_DVB_AS102) += dvb-as102.o -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends diff --git a/drivers/media/usb/au0828/Makefile b/drivers/media/usb/au0828/Makefile index 5691881..4347812 100644 --- a/drivers/media/usb/au0828/Makefile +++ b/drivers/media/usb/au0828/Makefile @@ -11,7 +11,7 @@ endif obj-$(CONFIG_VIDEO_AU0828) += au0828.o -ccflags-y += -Idrivers/media/tuners -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends ccflags-y += $(extra-cflags-y) $(extra-cflags-m) diff --git a/drivers/media/usb/b2c2/Makefile b/drivers/media/usb/b2c2/Makefile index f3cef05..e7f949d 100644 --- a/drivers/media/usb/b2c2/Makefile +++ b/drivers/media/usb/b2c2/Makefile @@ -1,4 +1,4 @@ b2c2-flexcop-usb-objs := flexcop-usb.o obj-$(CONFIG_DVB_B2C2_FLEXCOP_USB) += b2c2-flexcop-usb.o -ccflags-y += -Idrivers/media/common/b2c2/ +ccflags-y += -I $(srctree)/drivers/media/common/b2c2/ diff --git a/drivers/media/usb/cx231xx/Makefile b/drivers/media/usb/cx231xx/Makefile index af824fd..8acbbcb 100644 --- a/drivers/media/usb/cx231xx/Makefile +++ b/drivers/media/usb/cx231xx/Makefile @@ -9,5 +9,5 @@ obj-$(CONFIG_VIDEO_CX231XX) += cx231xx.o obj-$(CONFIG_VIDEO_CX231XX_ALSA) += cx231xx-alsa.o obj-$(CONFIG_VIDEO_CX231XX_DVB) += cx231xx-dvb.o -ccflags-y += -Idrivers/media/tuners -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends diff --git a/drivers/media/usb/em28xx/Makefile b/drivers/media/usb/em28xx/Makefile index 8a22400..8c2fc31 100644 --- a/drivers/media/usb/em28xx/Makefile +++ b/drivers/media/usb/em28xx/Makefile @@ -11,5 +11,5 @@ obj-$(CONFIG_VIDEO_EM28XX_ALSA) += em28xx-alsa.o obj-$(CONFIG_VIDEO_EM28XX_DVB) += em28xx-dvb.o obj-$(CONFIG_VIDEO_EM28XX_RC) += em28xx-rc.o -ccflags-y += -Idrivers/media/tuners -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends diff --git a/drivers/media/usb/go7007/Makefile b/drivers/media/usb/go7007/Makefile index 3d95bbc..712a350 100644 --- a/drivers/media/usb/go7007/Makefile +++ b/drivers/media/usb/go7007/Makefile @@ -9,4 +9,4 @@ go7007-y := go7007-v4l2.o go7007-driver.o go7007-i2c.o go7007-fw.o \ s2250-y := s2250-board.o -ccflags-$(CONFIG_VIDEO_GO7007_LOADER:m=y) += -Idrivers/media/common +ccflags-$(CONFIG_VIDEO_GO7007_LOADER:m=y) += -I $(srctree)/drivers/media/common diff --git a/drivers/media/usb/pvrusb2/Makefile b/drivers/media/usb/pvrusb2/Makefile index 9facf68..2e71afc 100644 --- a/drivers/media/usb/pvrusb2/Makefile +++ b/drivers/media/usb/pvrusb2/Makefile @@ -17,5 +17,5 @@ pvrusb2-objs := pvrusb2-i2c-core.o \ obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2.o -ccflags-y += -Idrivers/media/tuners -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends diff --git a/drivers/media/usb/siano/Makefile b/drivers/media/usb/siano/Makefile index 7d48864..ba56e98 100644 --- a/drivers/media/usb/siano/Makefile +++ b/drivers/media/usb/siano/Makefile @@ -1,5 +1,5 @@ obj-$(CONFIG_SMS_USB_DRV) += smsusb.o -ccflags-y += -Idrivers/media/common/siano +ccflags-y += -I $(srctree)/drivers/media/common/siano ccflags-y += $(extra-cflags-y) $(extra-cflags-m) diff --git a/drivers/media/usb/tm6000/Makefile b/drivers/media/usb/tm6000/Makefile index 744c039..75247a0 100644 --- a/drivers/media/usb/tm6000/Makefile +++ b/drivers/media/usb/tm6000/Makefile @@ -10,5 +10,5 @@ obj-$(CONFIG_VIDEO_TM6000) += tm6000.o obj-$(CONFIG_VIDEO_TM6000_ALSA) += tm6000-alsa.o obj-$(CONFIG_VIDEO_TM6000_DVB) += tm6000-dvb.o -ccflags-y += -Idrivers/media/tuners -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/tuners +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends diff --git a/drivers/media/usb/ttusb-budget/Makefile b/drivers/media/usb/ttusb-budget/Makefile index fe4372d..37847d7 100644 --- a/drivers/media/usb/ttusb-budget/Makefile +++ b/drivers/media/usb/ttusb-budget/Makefile @@ -1,3 +1,3 @@ obj-$(CONFIG_DVB_TTUSB_BUDGET) += dvb-ttusb-budget.o -ccflags-y += -Idrivers/media/dvb-frontends +ccflags-y += -I $(srctree)/drivers/media/dvb-frontends