diff mbox series

[kvm-unit-tests,v1,2/2] s390x/Makefile: Add auxinfo.o to cflatobjs

Message ID 20250128100639.41779-3-mhartmay@linux.ibm.com (mailing list archive)
State New
Headers show
Series s390x: Improve out-of-source builds | expand

Commit Message

Marc Hartmayer Jan. 28, 2025, 10:06 a.m. UTC
This makes sure that the file is removed in case of `make clean` as the top
Makefile cleans all objects defined in 'cflagsobjs'.

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
--
Note: AFAICT, the computed sh256sum values of the generated .elf and .bin files
      did not change.
---
 s390x/Makefile | 1 +
 1 file changed, 1 insertion(+)

Comments

Nico Boehr Jan. 31, 2025, 8:54 a.m. UTC | #1
On Tue Jan 28, 2025 at 11:06 AM CET, Marc Hartmayer wrote:
> This makes sure that the file is removed in case of `make clean` as the top
> Makefile cleans all objects defined in 'cflagsobjs'.
>
> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>

Reviewed-by: Nico Boehr <nrb@linux.ibm.com>
diff mbox series

Patch

diff --git a/s390x/Makefile b/s390x/Makefile
index 71bfa787fe59..1b0e9d63de13 100644
--- a/s390x/Makefile
+++ b/s390x/Makefile
@@ -90,6 +90,7 @@  LDFLAGS += -Wl,--build-id=none
 asm-offsets = lib/$(ARCH)/asm-offsets.h
 include $(SRCDIR)/scripts/asm-offsets.mak
 
+cflatobjs += lib/auxinfo.o
 cflatobjs += lib/util.o
 cflatobjs += lib/alloc.o
 cflatobjs += lib/alloc_phys.o