mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
is built via the kbuild infastructure. In kernel version 2.6.24 (commit f77bf01425b11947eeb3b5b54685212c302741b8) the kbuild variable ccflags-y has been introduced and the use of EXTRA_CFLAGS in kbuild makefiles has been deprecated. The patch below converts SCST's in-tree makefiles such that these use ccflags-y instead of EXTRA_CFLAGS when generating kernel patches for kernel 2.6.24 or later. Additionally, this patch removes the "default n" from the file scst/kernel/in-tree/Kconfig.scst since this statement is superfluous. The patch below has been tested by verifying the output of the following command: for ((v=23;v<=32;v++)); do rm -rf re* && scripts/run-regression-tests 2.6.$v; done Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1447 d57e44dd-8a1f-0410-8b47-8ef2f437770f