1 --- lttng-modules-2.6.3/Makefile.orig 2015-09-14 20:30:29.749794009 +0200
2 +++ lttng-modules-2.6.3/Makefile 2015-09-14 20:31:10.693125624 +0200
4 KERNELDIR = ${LTTNG_KERNELDIR}
5 MAKEFILEDIR = $(shell dirname $(lastword $(MAKEFILE_LIST)))
7 -lttng_check_linux_version = $(shell pwd)/include/linux/version.h
8 -lttng_check_generated_linux_version = $(shell pwd)/include/generated/uapi/linux/version.h
9 +#lttng_check_linux_version = $(shell pwd)/include/linux/version.h
10 +#lttng_check_generated_linux_version = $(shell pwd)/include/generated/uapi/linux/version.h
15 # kernel tree moved to a newer kernel version, only pruned by make
18 -ifneq ($(wildcard $(lttng_check_linux_version)),)
19 -ifneq ($(wildcard $(lttng_check_generated_linux_version)),)
20 -$(error Duplicate version.h files found in $(lttng_check_linux_version) and $(lttng_check_generated_linux_version). Consider running make distclean on your kernel, or removing the stale $(lttng_check_linux_version) file)
23 +#ifneq ($(wildcard $(lttng_check_linux_version)),)
24 +#ifneq ($(wildcard $(lttng_check_generated_linux_version)),)
25 +#$(error Duplicate version.h files found in $(lttng_check_linux_version) and $(lttng_check_generated_linux_version). Consider running make distclean on your kernel, or removing the stale $(lttng_check_linux_version) file)
29 include $(MAKEFILEDIR)/Makefile.ABI.workarounds