Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp598354pxp; Wed, 9 Mar 2022 08:51:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyiH7nPUg9pmvamPioT0OLWlNdcH10D0iqvYlkKLLslXapqz4nHiUg1aAdC4ZkwazufC3sA X-Received: by 2002:a63:802:0:b0:374:2e45:c6fa with SMTP id 2-20020a630802000000b003742e45c6famr530906pgi.246.1646844704613; Wed, 09 Mar 2022 08:51:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646844704; cv=none; d=google.com; s=arc-20160816; b=UmE9KUTOp6gUExOcpHLeKUXfo7PNRl7r61UaQzPO+7BoerFafcamzXD9mkVUOh4AaN JYXSQApm68jPZH2UdAicbAzPnJenxHVe8+o5XvRZWOfFOuCf8S9nqD81+zVA+VfxMJNN vrWsLCBUgpg1G7KCzr+HNjsvetRFHh+osSK4cY3CPyB/l9Oa8weNrXdUI7UODX4kITYY W9ZLq651bgIu/K0bu5AAcLwK3FiPQBbi8hS9NA6SBevMgB5zP96PP+n0OrMKTE3jPy15 UTM6kqbl1tnWJKQZvNLhx/x49xkpX/THhemVJkgLwT+E2sm/5X8ynXTxn7uFaSFvO91S fCtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9Tc4OFBC5WQ26K+DhDLvQ/xfCQ9uObqnOizpbM3SX7U=; b=m9HEVp+WESUcB61sGjbpHR/AFw2AtDHV8BBp5SkT9sMF+yGEScBCPwztnzjzeK6753 EHyeiGVve1hxUa5b2kbtrdcjm7Ih4zFlgeIPDB379DNVLKV7wIy9/ps88I3dVzi8/Y2c N2VWkKJfQPCnU3Gr6y3f8Sdqkc57ryVKmUl7e2ZO6BUEa+98Vb7zaLPf3nRIdGY/ToWN xXsy2e2AL6A6kb5XWOjmi90NsxlnmV0rzcylOjtgFh2oMIKHADU3PueS9KpOw3BZ75kH 38P6qsjdbo34cFrPK2eF7zfBL8LrV0h8dmQsXq2IybtLvfnOe30lU4ZbIlG9U2JTArzr 00eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cy5qQKoZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q203-20020a632ad4000000b003801b9bab6csi2333164pgq.779.2022.03.09.08.51.27; Wed, 09 Mar 2022 08:51:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cy5qQKoZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235841AbiCIQeB (ORCPT + 99 others); Wed, 9 Mar 2022 11:34:01 -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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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/ -- 2.35.1