]> git.pld-linux.org Git - packages/lttng-modules.git/blobdiff - build.patch
- up to 2.9.1
[packages/lttng-modules.git] / build.patch
index cddfd99a4bc42ee58b26fce9afcd6dc4683732dc..bc8ba1c78ddb43701f7ba561e79e3af891e253b3 100644 (file)
@@ -1,30 +1,29 @@
---- lttng-modules-2.5.1/Makefile~      2014-10-20 22:48:47.000000000 +0200
-+++ lttng-modules-2.5.1/Makefile       2014-11-09 16:11:25.914717733 +0100
-@@ -5,19 +5,19 @@
- ifneq ($(KERNELRELEASE),)
- ifneq ($(CONFIG_TRACEPOINTS),)
+--- lttng-modules-2.6.3/Makefile.orig  2015-09-14 20:30:29.749794009 +0200
++++ lttng-modules-2.6.3/Makefile       2015-09-14 20:31:10.693125624 +0200
+@@ -8,19 +8,19 @@
  
--lttng_check_linux_version = $(shell pwd)/include/linux/version.h
--lttng_check_generated_linux_version = $(shell pwd)/include/generated/uapi/linux/version.h
--
-+#lttng_check_linux_version = $(shell pwd)/include/linux/version.h
-+#lttng_check_generated_linux_version = $(shell pwd)/include/generated/uapi/linux/version.h
-+#
- #
- # Check for stale version.h, which can be a leftover from an old Linux
- # kernel tree moved to a newer kernel version, only pruned by make
- # distclean.
- #
--ifneq ($(wildcard $(lttng_check_linux_version)),)
--ifneq ($(wildcard $(lttng_check_generated_linux_version)),)
--$(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)
--endif
--endif
-+#ifneq ($(wildcard $(lttng_check_linux_version)),)
-+#ifneq ($(wildcard $(lttng_check_generated_linux_version)),)
-+#$(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)
-+#endif
-+#endif
+   TOP_LTTNG_MODULES_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))
+-  lttng_check_linux_version = $(shell pwd)/include/linux/version.h
+-  lttng_check_generated_linux_version = $(shell pwd)/include/generated/uapi/linux/version.h
++#  lttng_check_linux_version = $(shell pwd)/include/linux/version.h
++#  lttng_check_generated_linux_version = $(shell pwd)/include/generated/uapi/linux/version.h
+   #
+   # Check for stale version.h, which can be a leftover from an old Linux
+   # kernel tree moved to a newer kernel version, only pruned by make
+   # distclean.
+   #
+-  ifneq ($(wildcard $(lttng_check_linux_version)),)
+-    ifneq ($(wildcard $(lttng_check_generated_linux_version)),)
+-      $(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)
+-    endif
+-  endif
++#  ifneq ($(wildcard $(lttng_check_linux_version)),)
++#    ifneq ($(wildcard $(lttng_check_generated_linux_version)),)
++#      $(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)
++#    endif
++#  endif
+   include $(TOP_LTTNG_MODULES_DIR)/Makefile.ABI.workarounds
  
- obj-m += lttng-ring-buffer-client-discard.o
- obj-m += lttng-ring-buffer-client-overwrite.o
This page took 0.059362 seconds and 4 git commands to generate.