From nobody Thu May 2 09:05:11 2024 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1557079719; cv=none; d=zoho.com; s=zohoarc; b=CbvuMbV+t7Vrbj9T65GOKxuOxUuzKbclKEzXMNKifronyFTK31SX4JHtf5kMdFrKvH2oO2yuWTNemXPMHfsCG3Bq8W9FsxJyrIortPX2IZaMi5NSomrd6gOfiNxJiiUEunrmti3FBCnCjdWOs5BKW5w6GIB05VoPRVqMf4l2jrM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557079719; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=xGhfD8UY1oe+ZRpqdXXXXCeQs4H9EhSYV2XH3vHXG1Q=; b=mOtonmWtJwS8OTvX8d0T2rVOitXOGQCWw9BUX40lkLGvpag4XEIYipp7WCYduV3vsgyliTaZFEDizEZ703Fb1dYkhqdzMzBi0Utbw1Q6BbnrSgIYco5RyDSSIwBksa8hqAwPgpwwJiC6EJim4RMHK9ab77Awzyn9DnQsyxlno18= ARC-Authentication-Results: i=1; mx.zoho.com; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1557079719435427.9712046206953; Sun, 5 May 2019 11:08:39 -0700 (PDT) Received: from localhost ([127.0.0.1]:44283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNLYs-00067y-Ja for importer@patchew.org; Sun, 05 May 2019 14:08:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNLXz-0005nB-Aa for qemu-devel@nongnu.org; Sun, 05 May 2019 14:07:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNLXy-0002ZT-ER for qemu-devel@nongnu.org; Sun, 05 May 2019 14:07:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39734) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hNLXw-0002VP-8H; Sun, 05 May 2019 14:07:32 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C5F823086220; Sun, 5 May 2019 18:07:30 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-58.brq.redhat.com [10.40.204.58]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B74B45C28D; Sun, 5 May 2019 18:07:22 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-trivial@nongnu.org, Thomas Huth , qemu-devel@nongnu.org Date: Sun, 5 May 2019 20:07:18 +0200 Message-Id: <20190505180719.31913-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Sun, 05 May 2019 18:07:30 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] hw/timer: Compile devices not target-dependent as common objects X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Aleksandar Rikalo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Magnus Damm , Beniamino Galvani , Igor Mitsyanko , qemu-arm@nongnu.org, Antony Pavlov , Aleksandar Markovic , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" All these devices do not contain any target-specific code. While most of them are arch-specific, they are shared between different targets of the same arch family (ARM and AArch64, MIPS32/MIPS64, multiple endianess, ...). Put them into common-obj-y to compile them once for all targets. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- hw/timer/Makefile.objs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hw/timer/Makefile.objs b/hw/timer/Makefile.objs index 0e9a4530f84..a92e22938cb 100644 --- a/hw/timer/Makefile.objs +++ b/hw/timer/Makefile.objs @@ -25,20 +25,20 @@ common-obj-$(CONFIG_MILKYMIST) +=3D milkymist-sysctl.o common-obj-$(CONFIG_XLNX_ZYNQMP) +=3D xlnx-zynqmp-rtc.o common-obj-$(CONFIG_NRF51_SOC) +=3D nrf51_timer.o =20 -obj-$(CONFIG_ALTERA_TIMER) +=3D altera_timer.o -obj-$(CONFIG_EXYNOS4) +=3D exynos4210_mct.o -obj-$(CONFIG_EXYNOS4) +=3D exynos4210_pwm.o -obj-$(CONFIG_EXYNOS4) +=3D exynos4210_rtc.o -obj-$(CONFIG_OMAP) +=3D omap_gptimer.o -obj-$(CONFIG_OMAP) +=3D omap_synctimer.o -obj-$(CONFIG_PXA2XX) +=3D pxa2xx_timer.o -obj-$(CONFIG_SH4) +=3D sh_timer.o -obj-$(CONFIG_DIGIC) +=3D digic-timer.o -obj-$(CONFIG_MIPS_CPS) +=3D mips_gictimer.o +common-obj-$(CONFIG_ALTERA_TIMER) +=3D altera_timer.o +common-obj-$(CONFIG_EXYNOS4) +=3D exynos4210_mct.o +common-obj-$(CONFIG_EXYNOS4) +=3D exynos4210_pwm.o +common-obj-$(CONFIG_EXYNOS4) +=3D exynos4210_rtc.o +common-obj-$(CONFIG_OMAP) +=3D omap_gptimer.o +common-obj-$(CONFIG_OMAP) +=3D omap_synctimer.o +common-obj-$(CONFIG_PXA2XX) +=3D pxa2xx_timer.o +common-obj-$(CONFIG_SH4) +=3D sh_timer.o +common-obj-$(CONFIG_DIGIC) +=3D digic-timer.o +common-obj-$(CONFIG_MIPS_CPS) +=3D mips_gictimer.o =20 obj-$(CONFIG_MC146818RTC) +=3D mc146818rtc.o =20 -obj-$(CONFIG_ALLWINNER_A10_PIT) +=3D allwinner-a10-pit.o +common-obj-$(CONFIG_ALLWINNER_A10_PIT) +=3D allwinner-a10-pit.o =20 common-obj-$(CONFIG_STM32F2XX_TIMER) +=3D stm32f2xx_timer.o common-obj-$(CONFIG_ASPEED_SOC) +=3D aspeed_timer.o --=20 2.20.1