From: Andrew Jones <andrew.jones@linux.dev>
To: "Clément Léger" <cleger@rivosinc.com>
Cc: kvm@vger.kernel.org, kvm-riscv@lists.infradead.org,
Andrew Jones <ajones@ventanamicro.com>,
Anup Patel <apatel@ventanamicro.com>,
Atish Patra <atishp@rivosinc.com>,
npiggin@gmail.com
Subject: Re: [kvm-unit-tests PATCH v7 2/6] riscv: Set .aux.o files as .PRECIOUS
Date: Thu, 27 Feb 2025 16:36:21 +0100 [thread overview]
Message-ID: <20250227-99cd90f3ad775b89fd9fc262@orel> (raw)
In-Reply-To: <20250214114423.1071621-3-cleger@rivosinc.com>
On Fri, Feb 14, 2025 at 12:44:15PM +0100, Clément Léger wrote:
> When compiling, we need to keep .aux.o file or they will be removed
> after the compilation which leads to dependent files to be recompiled.
> Set these files as .PRECIOUS to keep them.
There was a thread[1] about this 7 months ago or so. I've CC'ed Nicholas
to see if there were any more thoughts on how we should proceed.
[1] https://lore.kernel.org/all/20240612044234.212156-1-npiggin@gmail.com/
Thanks,
drew
>
> Signed-off-by: Clément Léger <cleger@rivosinc.com>
> ---
> riscv/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/riscv/Makefile b/riscv/Makefile
> index 52718f3f..ae9cf02a 100644
> --- a/riscv/Makefile
> +++ b/riscv/Makefile
> @@ -90,6 +90,7 @@ CFLAGS += -I $(SRCDIR)/lib -I $(SRCDIR)/lib/libfdt -I lib -I $(SRCDIR)/riscv
> asm-offsets = lib/riscv/asm-offsets.h
> include $(SRCDIR)/scripts/asm-offsets.mak
>
> +.PRECIOUS: %.aux.o
> %.aux.o: $(SRCDIR)/lib/auxinfo.c
> $(CC) $(CFLAGS) -c -o $@ $< \
> -DPROGNAME=\"$(notdir $(@:.aux.o=.$(exe)))\" -DAUXFLAGS=$(AUXFLAGS)
> --
> 2.47.2
>
next prev parent reply other threads:[~2025-02-27 15:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-14 11:44 [kvm-unit-tests PATCH v7 0/6] riscv: add SBI SSE extension tests Clément Léger
2025-02-14 11:44 ` [kvm-unit-tests PATCH v7 1/6] kbuild: Allow multiple asm-offsets file to be generated Clément Léger
2025-02-14 11:44 ` [kvm-unit-tests PATCH v7 2/6] riscv: Set .aux.o files as .PRECIOUS Clément Léger
2025-02-27 15:36 ` Andrew Jones [this message]
2025-02-14 11:44 ` [kvm-unit-tests PATCH v7 3/6] riscv: Use asm-offsets to generate SBI_EXT_HSM values Clément Léger
2025-02-14 11:44 ` [kvm-unit-tests PATCH v7 4/6] riscv: lib: Add SBI SSE extension definitions Clément Léger
2025-02-14 11:44 ` [kvm-unit-tests PATCH v7 5/6] lib: riscv: Add SBI SSE support Clément Léger
2025-02-27 16:03 ` Andrew Jones
2025-03-06 10:04 ` Clément Léger
2025-02-14 11:44 ` [kvm-unit-tests PATCH v7 6/6] riscv: sbi: Add SSE extension tests Clément Léger
2025-02-28 17:51 ` Andrew Jones
2025-03-06 14:32 ` Clément Léger
2025-03-06 15:15 ` Andrew Jones
2025-03-06 15:18 ` Clément Léger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250227-99cd90f3ad775b89fd9fc262@orel \
--to=andrew.jones@linux.dev \
--cc=ajones@ventanamicro.com \
--cc=apatel@ventanamicro.com \
--cc=atishp@rivosinc.com \
--cc=cleger@rivosinc.com \
--cc=kvm-riscv@lists.infradead.org \
--cc=kvm@vger.kernel.org \
--cc=npiggin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox