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:
		
							parent
							
								
									e6e4846529
								
							
						
					
					
						commit
						cf1db201b2
					
				| @ -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: | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user