mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
RISC-V: selftests: Statically link hwprobe test
Statically linking makes it more convenient to copy the test to a minimal busybox environment. Signed-off-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20230918131518.56803-12-ajones@ventanamicro.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
parent
9c7646d5ff
commit
fc9fdf2c5a
|
|
@ -7,4 +7,4 @@ TEST_GEN_PROGS := hwprobe
|
|||
include ../../lib.mk
|
||||
|
||||
$(OUTPUT)/hwprobe: hwprobe.c sys_hwprobe.S
|
||||
$(CC) -o$@ $(CFLAGS) $(LDFLAGS) $^
|
||||
$(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user