Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9120577ybl; Fri, 17 Jan 2020 06:41:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwm4md+VZlPQbqMEW04E5P9q29pOZqHc0KA+C8dlMBgzJimfd+CCbnYcmGWqlPq8X2+m1il X-Received: by 2002:a9d:7501:: with SMTP id r1mr6457074otk.196.1579272090788; Fri, 17 Jan 2020 06:41:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579272090; cv=none; d=google.com; s=arc-20160816; b=cDxXjnOc1WZbX++vWByGbDVp6wmscKooav73ufqH7eShI5SUIRHPwtRKZ78/CrAN9S wpr7QozzjOKASvefyNE/HFgK4cH7lo5DPNKVffGl895xzUAqEguHr0Gd3C/uZL7HRNMf mDOv1PNAwXc5Ygm+BPbBEeYgcrZvBLx0f4Xl3Z5Xdn5RaaHa5/uwJx1adB4CsvGP+eSJ /pGPz6qhgkQfaJV+6asECpf3lOU0jMJnjNaATP3qgYkYOYjo2Tvq/yf/j8UKZAKPCSmT G1GKtsM9lESt3CcRIVmk7WBYDqGMXFgb4yxQj2zRNB5WWWP+3sAV0/6DoSdy6wY0p1dt Zvsw== 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; bh=A3RRqLTsCqS7kPQo412reQM7KJqU+++gEWMFtq/fffc=; b=IRUEUMG+vgNjYrJOvPa2JIEwzwIVSRWVGrravxD8jEDnqkwSyg3lY7Equ9T67dxotV OzM9MHLY+6pxJCy9UTqVdTu242TxnVENwtY/nu07ReqBy3TIwSlwhBcAL7G9eKI0yHFp UJxtIb5hKw0XMQyXoH4bSBmH+HK7iTvQhH7cEn95c2znDhSSnaDFTgjo0McwYqIP2yjt 2eNIisMKjyq/HMOm9fCpe69qgHJXj2kRqLrXzeXMb0NtEXtBv8wEMb3WeWQPXYln5Svs sjnCb+VGVlSGkbGVAvLCB/ih4LPKLUTgkF8qpdqzW4dgsFdiz3ExbTf0rpP/PuC7SY4R OM9Q== ARC-Authentication-Results: i=1; mx.google.com; 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 i25si13617362oii.259.2020.01.17.06.41.18; Fri, 17 Jan 2020 06:41:30 -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; 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 S1728935AbgAQOjt (ORCPT + 99 others); Fri, 17 Jan 2020 09:39:49 -0500 Received: from mx2.suse.de ([195.135.220.15]:57462 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727043AbgAQOjF (ORCPT ); Fri, 17 Jan 2020 09:39:05 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 5C30FACD6; Fri, 17 Jan 2020 14:39:04 +0000 (UTC) From: Mian Yousaf Kaukab To: linux-arm-kernel@lists.infradead.org, mathieu.poirier@linaro.org Cc: linux-kernel@vger.kernel.org, paul.gortmaker@windriver.com, suzuki.poulose@arm.com, alexander.shishkin@linux.intel.com, Mian Yousaf Kaukab Subject: [PATCH RFC 07/15] coresight: Makefile: regroup object files Date: Fri, 17 Jan 2020 15:40:02 +0100 Message-Id: <20200117144010.11149-8-ykaukab@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20200117144010.11149-1-ykaukab@suse.de> References: <20200117144010.11149-1-ykaukab@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Group object files based on the intended module structure. Signed-off-by: Mian Yousaf Kaukab --- drivers/hwtracing/coresight/Makefile | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/hwtracing/coresight/Makefile b/drivers/hwtracing/coresight/Makefile index c7e8a183af14..c1e978397967 100644 --- a/drivers/hwtracing/coresight/Makefile +++ b/drivers/hwtracing/coresight/Makefile @@ -2,18 +2,25 @@ # # Makefile for CoreSight drivers. # -obj-$(CONFIG_CORESIGHT) += coresight-bus.o coresight-etm-perf.o coresight-platform.o -obj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o \ - coresight-tmc-etf.o \ - coresight-tmc-etr.o + +obj-$(CONFIG_CORESIGHT) += coresight.o +coresight-y := coresight-bus.o coresight-etm-perf.o coresight-platform.o + +obj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc-etx.o +coresight-tmc-etx-y := coresight-tmc.o coresight-tmc-etf.o coresight-tmc-etr.o + obj-$(CONFIG_CORESIGHT_SINK_TPIU) += coresight-tpiu.o obj-$(CONFIG_CORESIGHT_SINK_ETBV10) += coresight-etb10.o obj-$(CONFIG_CORESIGHT_LINKS_AND_SINKS) += coresight-funnel.o \ coresight-replicator.o -obj-$(CONFIG_CORESIGHT_SOURCE_ETM3X) += coresight-etm3x.o coresight-etm-cp14.o \ - coresight-etm3x-sysfs.o -obj-$(CONFIG_CORESIGHT_SOURCE_ETM4X) += coresight-etm4x.o \ - coresight-etm4x-sysfs.o + +obj-$(CONFIG_CORESIGHT_SOURCE_ETM3X) += coresight-etm3.o +coresight-etm3-y := coresight-etm3x.o coresight-etm-cp14.o \ + coresight-etm3x-sysfs.o + +obj-$(CONFIG_CORESIGHT_SOURCE_ETM4X) += coresight-etm4.o +coresight-etm4-y := coresight-etm4x.o coresight-etm4x-sysfs.o + obj-$(CONFIG_CORESIGHT_STM) += coresight-stm.o obj-$(CONFIG_CORESIGHT_CPU_DEBUG) += coresight-cpu-debug.o obj-$(CONFIG_CORESIGHT_CATU) += coresight-catu.o -- 2.16.4