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.
This commit is contained in:
Rodrigo Arias 2025-09-04 12:00:33 +02:00
parent 9c32f54bf4
commit e0e74abfaa

View File

@ -33,7 +33,7 @@
- if [ $$SIGSTATUS3 -eq 0 ]; then \
- ./AMDPPcert.sh 1 $(MODULE_NAME_KO); \
- 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
clean: