]> git.pld-linux.org Git - packages/lttng-modules.git/blob - build.patch
663b9dccb0b31e39598c56daf9802301a2099c35
[packages/lttng-modules.git] / build.patch
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
3 @@ -8,19 +8,19 @@
4  
5    TOP_LTTNG_MODULES_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))
6  
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
11  
12    #
13    # Check for stale version.h, which can be a leftover from an old Linux
14    # kernel tree moved to a newer kernel version, only pruned by make
15    # distclean.
16    #
17 -  ifneq ($(wildcard $(lttng_check_linux_version)),)
18 -    ifneq ($(wildcard $(lttng_check_generated_linux_version)),)
19 -      $(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)
20 -    endif
21 -  endif
22 +#  ifneq ($(wildcard $(lttng_check_linux_version)),)
23 +#    ifneq ($(wildcard $(lttng_check_generated_linux_version)),)
24 +#      $(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)
25 +#    endif
26 +#  endif
27  
28    include $(TOP_LTTNG_MODULES_DIR)/Kbuild.common
29  
This page took 0.099416 seconds and 2 git commands to generate.