From patchwork Wed Mar 9 16:22:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12775242 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E2C8C43217 for ; Wed, 9 Mar 2022 16:33:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235501AbiCIQef (ORCPT ); Wed, 9 Mar 2022 11:34:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235339AbiCIQ13 (ORCPT ); Wed, 9 Mar 2022 11:27:29 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D847425FD; Wed, 9 Mar 2022 08:22:29 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 70A506194A; Wed, 9 Mar 2022 16:22:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3CD3C340F3; Wed, 9 Mar 2022 16:22:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646842948; bh=oo9xuTopnDeaYjwi7l3v1e6htB3VyexeBkNhxNnIHC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cy5qQKoZDRTEEzf4FZjUIjpMAYzRFS+VgoR/9wdi7RZ6ASeJeQF2+UG6GlKt8K/iv S0rBO1qOQes2p7rd6Rh654NrRcsBkaYv2CAE7GSrrt31MqUlpfhqgxpRU6PoXsArDU OgtjsKMwTxccJfs9q08mvo3yvnqOcBft24qTEsAAqtt8eTmMwdPgAp2g+0zb0rZv4P 9XCIP/7bI7wm7rvvoaAImIcAZ1S0NsmT1RBsDNfzKfKmbRyxKY8Ekvl4zZxCcNEmkV WgwXCp7O7NeFihZ4bf4F71Jm3orq9sfQYmycLu60xgb0XL6/yLv8OhzXzPZvp3dy99 okRSOUdon/ImQ== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nRz50-00E6Ai-Bh; Wed, 09 Mar 2022 17:22:26 +0100 From: Mauro Carvalho Chehab To: Laurent Pinchart Cc: Mauro Carvalho Chehab , Dmitry Osipenko , Eugen Hristev , Hans Verkuil , Jacopo Mondi , Ming Qian , Mirela Rabulea , Sakari Ailus , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH 2/5] media: platform: Makefile: group some Makefile options Date: Wed, 9 Mar 2022 17:22:22 +0100 Message-Id: <30661693e9b8f5e084bbbf96043aaf49f0b40db5.1646842741.git.mchehab@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org When there are multiple Kconfig entries inside a Makefile, just include the makefile, as the per-Kconfig option will already be inside platform/*/Makefile. Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/5] at: https://lore.kernel.org/all/cover.1646842741.git.mchehab@kernel.org/ drivers/media/platform/Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index 4032816f8e8a..764b5bf45e5a 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -7,8 +7,7 @@ obj-$(CONFIG_VIDEO_ALLEGRO_DVT) += allegro-dvt/ obj-$(CONFIG_VIDEO_ASPEED) += aspeed-video.o obj-$(CONFIG_VIDEO_CADENCE) += cadence/ obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o -obj-$(CONFIG_VIDEO_CAFE_CCIC) += marvell-ccic/ -obj-$(CONFIG_VIDEO_MMP_CAMERA) += marvell-ccic/ +obj-y += marvell-ccic/ obj-$(CONFIG_VIDEO_OMAP3) += omap3isp/ obj-$(CONFIG_VIDEO_PXA27x) += pxa_camera.o @@ -67,13 +66,9 @@ obj-$(CONFIG_VIDEO_XILINX) += xilinx/ obj-$(CONFIG_VIDEO_RCAR_ISP) += rcar-isp.o obj-$(CONFIG_VIDEO_RCAR_VIN) += rcar-vin/ -obj-$(CONFIG_VIDEO_ATMEL_ISC) += atmel/ -obj-$(CONFIG_VIDEO_ATMEL_ISI) += atmel/ -obj-$(CONFIG_VIDEO_ATMEL_XISC) += atmel/ -obj-$(CONFIG_VIDEO_MICROCHIP_CSI2DC) += atmel/ +obj-y += atmel/ -obj-$(CONFIG_VIDEO_STM32_DCMI) += stm32/ -obj-$(CONFIG_VIDEO_STM32_DMA2D) += stm32/ +obj-y += stm32/ obj-$(CONFIG_VIDEO_MEDIATEK_VPU) += mtk-vpu/