From patchwork Mon Feb 26 16:49:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 775877 Delivered-To: patch@linaro.org Received: by 2002:a5d:6103:0:b0:33d:da16:65b6 with SMTP id v3csp427624wrt; Mon, 26 Feb 2024 08:51:11 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXJ1LCgSAPNX3D2LtjKsb4tMvdvFqAJ/MWVgQjKBCduhwJ6h6xomwKWchk4pmras9/DvRZp9TfSwrfw0duditIS X-Google-Smtp-Source: AGHT+IFNDlU0CO6TLpQ+Mpv5WaoP3Qt5vxTFTvUTp0ZkZ8rSZHtZZZo/1EqKw+7TVsqcEJRUioBn X-Received: by 2002:ae9:e604:0:b0:787:199f:23b8 with SMTP id z4-20020ae9e604000000b00787199f23b8mr8196358qkf.64.1708966271531; Mon, 26 Feb 2024 08:51:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708966271; cv=none; d=google.com; s=arc-20160816; b=OWZlyvoNn+dcK8suf85eDpwt3Zwd6qdLuhCfqZPX8Gtqc9yB6O3gs5tp6gY2OP4N8q Cgkyhv/qmSUQuWfc55Ucsfg9q13WZjvx1x1wWfJGSAEaoSSlYgZbXixPSipTW3MCbXr0 63u7HWiq9xJBk/DclTIZpr+NfvLYroWNrM4RivHSN2gmnZz9nfaIBTk6IYYOy8qPido7 kQW0dHaffk9Pe70cCLN1a7IGIvmd9KjW0lKf+/PPEtrG535/lS+ek0OEJ4XQsjvExzjk CHfCnYvZtb4LY9QHoH+InhhZx9kSlCWWJw/EmRznhqZByXHPxekQWP04I+XoEoBQ0v5i 52xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=O9EOnAK3G1S7aJVMzq+KHRG4+8D5fltRUtqq+3DIXP0=; fh=afD/k2HZXMBaufC+DpUvb9x31uKmY7+wEY31QP4pBTk=; b=POm0B1R5AKKOZIoP74f/xt3RWh/M3RV5oeld9tiM0W/J5VF6Y+tJsajdUuJUCRYuM6 KDsOjXyB3HhYoOxg7bXo44DZxcNAdu1buS4VPjwiaot8DNI/VNtrQ9c1grfid5lzDxzG uJ6zJT3yRB8gSJAQXDa9jjSlaaAdxs2UwS3KPAyKDbcxYoHZ/VHAWBPTKRnXLTZi4jwP mzhg5NUp3+CaQmhcE8RDzDRZ+tDbuebmjpZ29vXiKFDeObnMNmzvCc0xcU9OMNlFq5QY Guzx6hZOReL1FBNEcPhZmdvwcasJ5KV4tHZ5E1oXrkSF4a8RLXP3PTgA7Nt/oju/oFzx xhTQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="x6/Lrd1o"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m10-20020a05620a214a00b00787b85281e2si5175981qkm.312.2024.02.26.08.51.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Feb 2024 08:51:11 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="x6/Lrd1o"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reeAr-0006H2-Pa; Mon, 26 Feb 2024 11:49:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1reeAq-0006Gg-O2 for qemu-devel@nongnu.org; Mon, 26 Feb 2024 11:49:52 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1reeAp-0006Hh-5N for qemu-devel@nongnu.org; Mon, 26 Feb 2024 11:49:52 -0500 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-33d0a7f2424so2237839f8f.0 for ; Mon, 26 Feb 2024 08:49:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708966189; x=1709570989; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=O9EOnAK3G1S7aJVMzq+KHRG4+8D5fltRUtqq+3DIXP0=; b=x6/Lrd1owNB+jwKi2KoKD4r40dk9XP8Ho7rH5dfjkyfBhg4Z8NszuA77V/Lw6it9Ad 5yenYEJHZKbbkKW+g09Q1SLvngfTc6n+FiU6ixWFU9N05rGJQIN2PGsBqEEfOREqE9ln aexM6nm24NDMMgY4A1xLDjeK0rbUNe4c3gMFjKx/NCqcXwbhbkeF3vIUeSXGYgduMewD 08qGHoMuORLzRsclJeTnM6JdRrYWO6OD2rYHMKRzzvr5UClBPhPbO8wxNOWw4hGj4Ff2 HLHCDEm9Y2n2Q+Ub46DLM7Nfd5KBnXkKvCsswoxJ/CocVV4k5LYN0k2cbjKSeUDh5FY4 pTKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708966189; x=1709570989; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O9EOnAK3G1S7aJVMzq+KHRG4+8D5fltRUtqq+3DIXP0=; b=LJc/yZzYK2K+Mn1LErnVNjEwi0iy1mba9PQhJzkFC6pRv0y4J1c3Tevnm70cqAy/g8 hCnByI1HndDSbYLOe/I1AiUGFY0uUxW8249bK4dBSwFHpNWDr8qSPsOJue9u0Rkp5Auc MpKEISem5zXgOfpXhkeW6cliY1cmtKKAHbV9koW0MiFvcFTUDtduRo5tSCMkTXivqcz5 cIPdJfL8VRjH54q2c3ZQA/sNSONPcapYwCJ8jqATECGd7t1lAe1XCKkIouCozwip6l1G 49aA8RQtAPNZpgmcJvb1tuNwxqj4wX/SNCk/UqKZYS+hlM3aAk0ws/1nAnat95T1reOq P8MA== X-Gm-Message-State: AOJu0Yw/OWjSy7ni/TDSi/P2B0g2FHIyoADm/QzVxbymLh1aI4lBBGun fEit1EVd26J2gAeAVkVKs4DX53kgOhOSYwUrVD0uj2BqyycUoMk+OPvfj/oIBt/o3fiRJ6mEf8E 8 X-Received: by 2002:a5d:6649:0:b0:33d:aa78:ed82 with SMTP id f9-20020a5d6649000000b0033daa78ed82mr5311945wrw.34.1708966188918; Mon, 26 Feb 2024 08:49:48 -0800 (PST) Received: from m1x-phil.lan ([176.187.223.153]) by smtp.gmail.com with ESMTPSA id bv20-20020a0560001f1400b0033d73e1505bsm8884920wrb.18.2024.02.26.08.49.47 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 26 Feb 2024 08:49:48 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , "Edgar E . Iglesias" , Anton Johansson , Mark Cave-Ayland , Peter Maydell , Zhao Liu , Eduardo Habkost , Marcel Apfelbaum , Igor Mammedov , Richard Henderson , Ani Sinha , Bernhard Beschow , =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , "Michael S. Tsirkin" , Laszlo Ersek , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [RFC PATCH 5/5] hw/isa: Build ich9_lpc.c once Date: Mon, 26 Feb 2024 17:49:12 +0100 Message-ID: <20240226164913.94077-6-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240226164913.94077-1-philmd@linaro.org> References: <20240226164913.94077-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=philmd@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org ich9_lpc.c doesn't contain any target-specific calls, lets build it once. Signed-off-by: Philippe Mathieu-Daudé --- hw/isa/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/isa/meson.build b/hw/isa/meson.build index 3b5504f78d..df58287d62 100644 --- a/hw/isa/meson.build +++ b/hw/isa/meson.build @@ -3,9 +3,8 @@ system_ss.add(when: 'CONFIG_FDC37M81X', if_true: files('fdc37m81x-superio.c')) system_ss.add(when: 'CONFIG_I82378', if_true: files('i82378.c')) system_ss.add(when: 'CONFIG_ISA_BUS', if_true: files('isa-bus.c')) system_ss.add(when: 'CONFIG_ISA_SUPERIO', if_true: files('isa-superio.c')) +system_ss.add(when: 'CONFIG_LPC_ICH9', if_true: files('ich9_lpc.c')) system_ss.add(when: 'CONFIG_PC87312', if_true: files('pc87312.c')) system_ss.add(when: 'CONFIG_PIIX', if_true: files('piix.c')) system_ss.add(when: 'CONFIG_SMC37C669', if_true: files('smc37c669-superio.c')) system_ss.add(when: 'CONFIG_VT82C686', if_true: files('vt82c686.c')) - -specific_ss.add(when: 'CONFIG_LPC_ICH9', if_true: files('ich9_lpc.c'))