mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
r9586+r9587 added support for UEK 8 but broke support for UEK 7. Since as far as I know no compile-time constants are available in UEK that allow to tell the difference between the UEK 7 and UEK 8 5.4.17 kernels, extract the UEK release number from the name of the directory with the kernel build infrastructure. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9601 d57e44dd-8a1f-0410-8b47-8ef2f437770f
11 lines
323 B
Makefile
11 lines
323 B
Makefile
KBUILD_EXTRA_SYMBOLS=$(src)/../scst/src/Module.symvers
|
|
ccflags-y += -I$(src)/../scst/include $(shell ev=$$(basename $$(pwd)); echo "ev=$$ev" >&2; [ "$${ev/uek}" != "$${ev}" ] && ev=$${ev/*.el/} && echo -DUEK_RELEASE=$${ev/uek.*})
|
|
|
|
obj-$(CONFIG_FCST) += fcst.o
|
|
|
|
fcst-objs := \
|
|
ft_cmd.o \
|
|
ft_io.o \
|
|
ft_scst.o \
|
|
ft_sess.o
|