From patchwork Thu Sep 29 11:42:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 610607 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp914832pvb; Thu, 29 Sep 2022 07:09:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5VzFXfBzd0yDRBTsCinFOHTElJzG1U8mKgC4Boyej1jqYjN74sMEW0Q22B3nQxoVwcQFIV X-Received: by 2002:ad4:5ec5:0:b0:49c:cf39:d4d2 with SMTP id jm5-20020ad45ec5000000b0049ccf39d4d2mr2664498qvb.6.1664460575714; Thu, 29 Sep 2022 07:09:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664460575; cv=none; d=google.com; s=arc-20160816; b=taTrkgrZ/IBdUZVWG9Gf/hYqViqJY2d+Vfalw+DGIKSYg97vgnyN77LH6gDMF6q8l4 BPyi7Ai+5gvud4p/VtWARWJ108LHqzHeQUZOJgMDmO9gb2CMzdsX3j/T3rn7aUD3E5gq NQSZnzVrCwO44zDnfAOZanzSbRceyvzA50Iqvjv1SphA70m5CPx4nfmTtdZMnDvC+3GF vd4TGKzN0juVeSu2iKnuhjvAlmnif9efCMGrS5Gly6wqni6+bUCcftEC09vx3GZk0EtB GBbr4Pd5o2w6fWZVbmxIaqugNj7etPf/dvMZy8++mV8t7QI6zDGVmAlxmzoJ2yUIkNCA E0Bw== 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=iRY+rdLsNzUlIPl9aP+Ctca98eiNinjQ4tNo5/5rKPg=; b=AtuvaooHUzwwFvPvTBFqiOE1TtXMvhLn2uv1d+zlY7E5nzkj8N5EHNh8MN3QjB9Ota mlwNNIzugVPp9/zQYrgd0FGUR0kaGHV0EOFa0/cwLGw75M4xoJOgVxinM2cZtXtWrFND HbXItH9sBIfte/yz2CNcOuwc75GRxHb4nswNM8CGUp/k2vPiFig2an8f/oPsZQBC8Pks YH6bKkWoQfuQJVzXBJGCxMw7OmLlrl3kBmaxL90T6Jq1ju9sGwR8QzDXeqWxumqli/// ESCKgx8EQK02aRXr79C1C7TMo/WVyrvlY8YSlOYLQKuHcxInJXnzCVJJeBw13f4d3zBf mzWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Ec/1wt1E"; 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 q7-20020a05621419e700b004a8ee66c84asi5111121qvc.169.2022.09.29.07.09.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Sep 2022 07:09:35 -0700 (PDT) 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="Ec/1wt1E"; 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]:38648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oduEH-0003uA-7S for patch@linaro.org; Thu, 29 Sep 2022 10:09:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ods3C-0000N9-7P for qemu-devel@nongnu.org; Thu, 29 Sep 2022 07:50:05 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:42519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ods38-0002NK-3w for qemu-devel@nongnu.org; Thu, 29 Sep 2022 07:49:56 -0400 Received: by mail-wr1-x42d.google.com with SMTP id l18so1768036wrw.9 for ; Thu, 29 Sep 2022 04:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=iRY+rdLsNzUlIPl9aP+Ctca98eiNinjQ4tNo5/5rKPg=; b=Ec/1wt1EKGzFt4Zq8wq+TJ/jeVyX7t4uxYd5N9CVf5ruf9MgAcutNPPdSqr01RrVq2 0ZUFVfSxCrsgBD/PD8LwEag/hMPZMp20CZ7VNHpomxszzyitJofkJLx7LzbijIz2dC7C EbkL+SP3JjIF6MO/Ky51BqDjVRuHwt9ecifCu0prIBDqrdz295kHXQCveI/Vg7j+EXIY hp7i9wUzMgvg8J0Qnc9N8uJfgfLNrhrBmYEtJvShzD2Zd0KQaZO7OVsrc5Btutal4JTv eXfXX4T5gKzN9/BcKKkqRC2p0gP/ZwRUw4iqc+LJgpgFlQqCWOdkETmo81rxaGDI0hmV A6OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=iRY+rdLsNzUlIPl9aP+Ctca98eiNinjQ4tNo5/5rKPg=; b=ZNSI+oJnliFWQEhdngjtk1PCapFT/9OosMoSxbfoqTjZfIaE+FKz75tPKIRB7n2qcg 0SkrIH2Sc/lR01Cl9zKmsWvm5oO+oLI9Vl42aTBqUtsYL9SMJQ+uEDvYcqrhCAzWeUB/ 90i+oJ3vGx1cS6WIqoFOBAyGL00piisId5ChuVk3nGpGN2rcGZKgRUms4/vjIo8au2Kb 3j8+tQwloXhr1nTdUyAveborQ+EKT5TGje3DcE3EUB3bJQo4UtAzNDX2AZxOzDefKkSy 5IzA7vmXBosMr9ZGpTJ/0+6jTTzATDXfFtUwiUAq2CaENIw2mv7gGErIDerKVjcRwve2 ofCQ== X-Gm-Message-State: ACrzQf1ZrOW7KRWNIan4TJehkCIkZoZ/9W7XY/X5hhe9XiuA9t+qdMC8 IjBG1feIzam5LfrIV3LKkheWQQ== X-Received: by 2002:adf:d1ef:0:b0:228:a9ee:8f13 with SMTP id g15-20020adfd1ef000000b00228a9ee8f13mr1900280wrd.686.1664452192529; Thu, 29 Sep 2022 04:49:52 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id m13-20020a5d4a0d000000b0021e43b4edf0sm6419674wrq.20.2022.09.29.04.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 04:49:51 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 96C951FFD1; Thu, 29 Sep 2022 12:42:34 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, minyihh@uci.edu, ma.mandourr@gmail.com, Luke.Craig@ll.mit.edu, cota@braap.org, aaron@os.amperecomputing.com, kuhn.chenqun@huawei.com, robhenry@microsoft.com, mahmoudabdalghany@outlook.com, =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PATCH v1 29/51] pc-bios/optionrom: Adopt meson style Make output Date: Thu, 29 Sep 2022 12:42:09 +0100 Message-Id: <20220929114231.583801-30-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220929114231.583801-1-alex.bennee@linaro.org> References: <20220929114231.583801-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42d.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 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" From: Paolo Bonzini Signed-off-by: Paolo Bonzini Signed-off-by: Alex Bennée --- pc-bios/optionrom/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile index f514e4f84b..b1fff0ba6c 100644 --- a/pc-bios/optionrom/Makefile +++ b/pc-bios/optionrom/Makefile @@ -12,8 +12,8 @@ NULL := SPACE := $(NULL) # TARGET_PREFIX := $(patsubst %/,%:$(SPACE),$(TARGET_DIR)) -quiet-@ = $(if $(V),,@) -quiet-command = $(if $(V),$1,$(if $(2),@printf " %-7s %s\n" $2 $3 && $1, @$1)) +quiet-@ = $(if $(V),,@$(if $1,printf "%s\n" "$(TARGET_PREFIX)$1" && )) +quiet-command = $(call quiet-@,$2 $@)$1 # Flags for dependency generation override CPPFLAGS += -MMD -MP -MT $@ -MF $(@D)/$(*F).d @@ -41,19 +41,19 @@ override LDFLAGS = -nostdlib -Wl,-T,$(SRC_DIR)/flat.lds pvh.img: pvh.o pvh_main.o %.o: %.S - $(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<,"AS","$@") + $(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<,Assembling) %.o: %.c - $(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@,"CC","$@") + $(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@,Compiling) %.img: %.o - $(call quiet-command,$(CC) $(CFLAGS) $(LDFLAGS) -s -o $@ $^,"BUILD","$@") + $(call quiet-command,$(CC) $(CFLAGS) $(LDFLAGS) -s -o $@ $^,Linking) %.raw: %.img - $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@,"BUILD","$@") + $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@,Extracting raw object) %.bin: %.raw - $(call quiet-command,$(PYTHON) $(TOPSRC_DIR)/scripts/signrom.py $< $@,"SIGN","$@") + $(call quiet-command,$(PYTHON) $(TOPSRC_DIR)/scripts/signrom.py $< $@,Computing checksum into) include $(wildcard *.d)