From 1de9228fda28826c337ac09201586de1f2f248b9 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 22 Apr 2025 21:29:06 +0200 Subject: riscv: user: Force LINUX_HEADERS on hwprobe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- arch/riscv/user/hwprobe/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/riscv/user/hwprobe/Makefile') diff --git a/arch/riscv/user/hwprobe/Makefile b/arch/riscv/user/hwprobe/Makefile index 6c47002..67053a8 100644 --- a/arch/riscv/user/hwprobe/Makefile +++ b/arch/riscv/user/hwprobe/Makefile @@ -24,7 +24,7 @@ ISA ?= rv64imafdc_zicntr_zicsr_zifencei_zihpm_zca_zcd_zba_zbb WARNINGS = -Werror -Wpedantic -Wall -Wextra -Wcast-align -Wcast-qual -Winit-self \ -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wsign-conversion \ -Wswitch-default -Wundef -Wunreachable-code -Wmissing-noreturn -CCFLAGS = $(WARNINGS) -march=$(ISA) -static +CCFLAGS = $(WARNINGS) -march=$(ISA) -static -I$(LINUX_HEADERS) LDFLAGS = -- cgit v1.2.3