Use CFLAGS_MODULE instead of EXTRA_CFLAGS

Fixes the build in Linux 6.15.6, as it was not able to find the include
files.

Reviewed-by: Aleix Boné <abonerib@bsc.es>
This commit is contained in:
Rodrigo Arias 2025-09-04 12:00:33 +02:00
parent 3ab0e13960
commit b021789a6e

View File

@ -33,7 +33,7 @@
- if [ $$SIGSTATUS3 -eq 0 ]; then \ - if [ $$SIGSTATUS3 -eq 0 ]; then \
- ./AMDPPcert.sh 1 $(MODULE_NAME_KO); \ - ./AMDPPcert.sh 1 $(MODULE_NAME_KO); \
- fi - fi
+ make -C $(KERNEL_DIR) M=$(PWD) $(MAKE_OPTS) EXTRA_CFLAGS="$(EXTRA_CFLAGS)" modules + make -C $(KERNEL_DIR) M=$(PWD) $(MAKE_OPTS) CFLAGS_MODULE="$(EXTRA_CFLAGS)" modules
# make clean # make clean
clean: clean: