From patchwork Tue Oct 4 13:01:15 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: 612258 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp191288pvb; Tue, 4 Oct 2022 06:59:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5qkRSGPSpn2D5TG3s4QayPSL0bw+a/OVTMoo8IjsJ0RC5KlajiFDOck04PReZnBKsOLulT X-Received: by 2002:a05:620a:15e7:b0:6cb:e3bc:5844 with SMTP id p7-20020a05620a15e700b006cbe3bc5844mr16728140qkm.774.1664891969532; Tue, 04 Oct 2022 06:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664891969; cv=none; d=google.com; s=arc-20160816; b=xk8KkuJU5bMSfI8b+sbwb22tbZ5LhOUc1z3/Jmj0MrTBG1Y7n8dMtUXO9e2G5FA4V9 F9M+dk0KJRwVrrEXUwuTJADuJosMBL1PIQ/XAFLsHya1oVr5UZ34ebgptRKflzzXSFW6 6h+qFkY720W+N9HrxK//fJ/rAaJ9WhIG7eoVZgqIKyThfhom/zDx+Xiu4BRv+NlK3S6b Msrs+GRkvMBJfk+OAnwfXdZ/7Ngveh3naCu+Hp3JOVYEkQuNnqBo5mm6Yt8VdYdUJgef xRyPPqQFHMchPHfwHaIXguLQ1STY2DHygxXxZyGFHl4iql7K8B/mA4NVD5T9q9CJI+vt SPnQ== 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=3LTggSEZatvPcBvFCXmvKoMFx3yNgp223ZmA4XoxSHQ=; b=P2+qecGcZpeYfthQEZJgclPNGJmOsAoxmXuzw72DSWJkKC9pU4Sz4SHRzyOVhCfXNg 7eIpQDKzne1oTidUHKyxnhnQvF83nGXo0IAXXmizPLKEtMikshfdSnLcwhF1mNLh/cpD egLAiEaiSP0yL+xCChimsk9anJB7PaPNgdVKD5hnDnkFPJrlRkM1CcCUS0mCddz9xBir 01d4UgOjxi2ckfvNKQs0UdczJxck0SAob2mQhH8eg6r/td1tNudy5z8lyvk5rC6yIW69 MXiOI/WI/MCCKt7j2a25Fl9hp0lznU6ekWrcwIvQZDHU5oEDiMPtmSjb8O2h6muBQ/hZ G97w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i1fwKlOp; 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 a188-20020a3798c5000000b006cea1c17127si4966903qke.713.2022.10.04.06.59.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Oct 2022 06:59:29 -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=i1fwKlOp; 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]:56156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofiSH-0003HL-2R for patch@linaro.org; Tue, 04 Oct 2022 09:59:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofhq7-0001JT-Up for qemu-devel@nongnu.org; Tue, 04 Oct 2022 09:20:06 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:41964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofhq3-0001rI-8Y for qemu-devel@nongnu.org; Tue, 04 Oct 2022 09:20:03 -0400 Received: by mail-wm1-x32e.google.com with SMTP id fn7-20020a05600c688700b003b4fb113b86so7532079wmb.0 for ; Tue, 04 Oct 2022 06:19:58 -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=3LTggSEZatvPcBvFCXmvKoMFx3yNgp223ZmA4XoxSHQ=; b=i1fwKlOpgHlAe/QlLoLxvxCNoSDEJnQQO0CdfdWbm2XYcKvT2Dr1uDTvOH4K5bC3u0 vPMkYl5af4FnpnPyyrv0IXtJD6gS8gmC47GgWY8Mx0+oc+mUfWsT480cElKvqbhUGqcJ 2kj+G+lxE9tO+SwMomNBKAIkc7m2qEdkwp+BMOA9uFqceSQEIHgtm3bFlI/t1hz98V6z OMlSzfko8eM+NhGfppa4iP8TxHdRkjPf+iS962NTgi41dBpK8pC7JEIfAF6u3w/ppg4B QWu3HZ1v983rnAVMd1Bbk0Jaw4Y/+yRaeScu1x2CrHrHN5V8qr7Tk2i8slGiGVQUEdCS 2Imw== 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=3LTggSEZatvPcBvFCXmvKoMFx3yNgp223ZmA4XoxSHQ=; b=zFyWoHUv99+ZwCvIwKSjXxKtWQg3k7/fJWV6unDgDETheSkzr3BlesgjdtX1o5qD5r M03Tj5SnZqq4rRngdutID1rP5cX16tNiesF22UQj5yF7vHBWsGHaa+YPc3IhXII+LIwf xisQNt+7ytVQHv3ZUHQDa3pqS0YKiT1W11Nkio5lVmVYg56MIJf2V30HwA2vwrysTFpW biIUJtYqCCMUVkCUKwhiIqePrZgyFqarJjagrgOnRLBUChBd6xnBZ2hlfk0oaZwRbxCT 0BBaiDeYf2ssl/pn31NiaOGTfgps3Osd+ShbM0qTLqPAvQmf8DrcHWcnHfXTrJUj0RRm gGVg== X-Gm-Message-State: ACrzQf2+v4JvehIPgOi+Y8hs97ag3+pfEd5KC4JZpHnRUIwWhXX0OIVi qQUgfYweblv7YLnKOlUYgKbvyg== X-Received: by 2002:a05:600c:3515:b0:3b4:a0fa:c4e1 with SMTP id h21-20020a05600c351500b003b4a0fac4e1mr10406242wmq.191.1664889597187; Tue, 04 Oct 2022 06:19:57 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id bw15-20020a0560001f8f00b0022cdeba3f83sm12897189wrb.84.2022.10.04.06.19.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 06:19:54 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id CF0531FFD3; Tue, 4 Oct 2022 14:01:41 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, Paolo Bonzini , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , Alexey Kardashevskiy , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Daniel Henrique Barboza , David Gibson , Greg Kurz , qemu-ppc@nongnu.org (open list:Virtual Open Firm...) Subject: [PULL 31/54] pc-bios/vof: Adopt meson style Make output Date: Tue, 4 Oct 2022 14:01:15 +0100 Message-Id: <20221004130138.2299307-32-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221004130138.2299307-1-alex.bennee@linaro.org> References: <20221004130138.2299307-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32e.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 Message-Id: <20220929114231.583801-32-alex.bennee@linaro.org> diff --git a/pc-bios/vof/Makefile b/pc-bios/vof/Makefile index 4e59009e67..d1eb6ced7e 100644 --- a/pc-bios/vof/Makefile +++ b/pc-bios/vof/Makefile @@ -2,19 +2,26 @@ include config.mak VPATH=$(SRC_DIR) all: vof.bin +NULL := +SPACE := $(NULL) # +TARGET_PREFIX := $(patsubst %/,%:$(SPACE),$(TARGET_DIR)) + +quiet-@ = $(if $(V),,@$(if $1,,printf "%s\n" "$(TARGET_PREFIX)$1" && )) +quiet-command = $(call quiet-@,$2 $@)$1 + EXTRA_CFLAGS += -mcpu=power4 %.o: %.S - $(CC) $(EXTRA_CFLAGS) -c -o $@ $< + $(call quiet-command, $(CC) $(EXTRA_CFLAGS) -c -o $@ $<,Assembling) %.o: %.c - $(CC) $(EXTRA_CFLAGS) -c -fno-stack-protector -o $@ $< + $(call quiet-command, $(CC) $(EXTRA_CFLAGS) -c -fno-stack-protector -o $@ $<,Compiling) vof.elf: entry.o main.o ci.o bootmem.o libc.o - $(LD) -nostdlib -e_start -T$(SRC_DIR)/vof.lds -EB -o $@ $^ + $(call quiet-command, $(LD) -nostdlib -e_start -T$(SRC_DIR)/vof.lds -EB -o $@ $^,Linking) %.bin: %.elf - $(OBJCOPY) -O binary -j .text -j .data -j .toc -j .got2 $^ $@ + $(call quiet-command, $(OBJCOPY) -O binary -j .text -j .data -j .toc -j .got2 $^ $@,Extracting raw object) clean: rm -f *.o vof.bin vof.elf *~