From patchwork Tue Mar 23 15:51:19 2021 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: 12158755 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BD4BC433DB for ; Tue, 23 Mar 2021 16:27:49 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF8B76198C for ; Tue, 23 Mar 2021 16:27:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF8B76198C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:46654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOjsi-0005R0-1P for qemu-devel@archiver.kernel.org; Tue, 23 Mar 2021 12:27:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOjJo-00050G-VI for qemu-devel@nongnu.org; Tue, 23 Mar 2021 11:51:45 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:36807) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOjJj-0003O1-1G for qemu-devel@nongnu.org; Tue, 23 Mar 2021 11:51:42 -0400 Received: by mail-wr1-x435.google.com with SMTP id k8so21275650wrc.3 for ; Tue, 23 Mar 2021 08:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GTHORnB8GNFhRLeDkVGvcV7KBq/1cths7rE32mWJo3E=; b=YiWtCPDU2vhHPlBVW5Hi74JHJb1bGGyRcS8XKfzX4oOvb+EfnJAk3bstZnIMo3izD+ Q5jq//7I6sl58r3w9vksm3xnMjEcBuiJRxmMnDLwrrW7jDI+FDUiG5y7ZJe4RwPmi3Vh CqNY4Bz9joHUh8FZPWRAHFKivFi+TYkX+2LnlaUktiko6uKltoZJT1fcxxh1MJfaTDoc E8m8Syz+Bm8BbcRCpUl4z5qTE/4oFAiqLDtu2y0rCFuKFWY+68w03pJGxZrsnr6o96ko Lo4XxYwebXFPV/JBmSELaz4u2NzOHSdvzCEcL/cxs17WngvP5PaFq0us0hYOuwNmQBXT ikww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=GTHORnB8GNFhRLeDkVGvcV7KBq/1cths7rE32mWJo3E=; b=nJLgG+1POJ291+rRSSyQkL97y/H+XM9oZzPR1WcvMrtdE65j1FdBusv5EGxTRfUI8b crtlmyTLT9LJUN+wDIpG3Qw69JKYNBMCw19R568zsVFHYtzFc7UN0WneATs150ieHykj DlZhih6g861gntICYAADkhiAw0KD9SwJ6DYoU7Do5DivTVUYbil1fEZxbaT/bqmdqRJ6 iD+AbNlscnzOYSaryJwSfCed1mK3mxqOCD2/3mgJUllH8F9mGRV+5l6zymH2ATqB+n0c oFUANvvV35qVMlU3u4aaUHTMr0mZHg2se2l2xMOk7oipchC+ywIi1HfH8nQPuFq6X+Ay IN9Q== X-Gm-Message-State: AOAM5319xc6P6EgVNYBfumyPtJ3BZaydzVz4w8UOiZMhhVouiGqwHahR Np0oAyg+/5zKbVnwDKki/0rIdLzy8BW6DQ== X-Google-Smtp-Source: ABdhPJwHwG58qs/gjVOm+DToAfk9CZjiIVC1zVPvMB0Lb50l0EhvFsdG9wodCAP/HJDbcqW6y9ud2g== X-Received: by 2002:adf:e412:: with SMTP id g18mr4841051wrm.159.1616514694063; Tue, 23 Mar 2021 08:51:34 -0700 (PDT) Received: from localhost.localdomain (17.red-88-21-201.staticip.rima-tde.net. [88.21.201.17]) by smtp.gmail.com with ESMTPSA id d204sm3116255wmc.17.2021.03.23.08.51.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 08:51:33 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [RFC PATCH 00/13] blobs: Only install required (system emulation) files Date: Tue, 23 Mar 2021 16:51:19 +0100 Message-Id: <20210323155132.238193-1-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" When building a subset of targets, we don't need to install a bunch of unrelated files. This series restrict the installed blobs to what is simply required. Combined with Paolo's series converting pc-bios/Makefile to Meson, this should reduce the (CI) build cycles some more. RFC because there is probably a nicer way to do this with Meson. Philippe Mathieu-Daudé (13): blobs: Use Meson source_set to store blob files blobs: Only install EDK2 license file if EDK2 blobs are installed blobs: Only install qemu-nsis.bmp on Windows host blobs: Only install PALcode blob if alpha system target is built blobs: Only install npcm7xx bootrom if ARM system targets are built blobs: Only install PA-RISC SeaBIOS if hppa system target is built blobs: Only install DT blobs if microblaze system targets are built blobs: Only install blobs if powerpc system targets are built blobs: Only install firmware blobs if riscv system targets are built blobs: Only install s390x firmwares if s390x system target is built blobs: Only install SPARC firmwares if sparc system targets are built blobs: Only install x86 blobs if x86 system targets are built meson: Only build ROM/BIOS when system emulation is built meson.build | 22 +++++++- pc-bios/meson.build | 125 +++++++++++++++++++++++++++++++------------- 2 files changed, 111 insertions(+), 36 deletions(-)