X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lib%2FMakefile;h=6074406678c1554fe38d3592e88f058c1cdc7291;hb=4c6aff7942bea112216f7a19e89ca5e2b6d98395;hp=e5735ecaa6fc53a883805c2a1e77d96c60042786;hpb=a33e44a60b7128349043753e53affba8ebc40716;p=lttng-modules.git diff --git a/lib/Makefile b/lib/Makefile index e5735eca..60744066 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,6 +1,11 @@ -obj-m += lib-ring-buffer.o +KERNELDIR = ${LTTNG_KERNELDIR} +MAKEFILEDIR = $(shell dirname $(lastword $(MAKEFILE_LIST))) -lib-ring-buffer-objs := \ +include $(MAKEFILEDIR)/../Makefile.ABI.workarounds + +obj-m += lttng-lib-ring-buffer.o + +lttng-lib-ring-buffer-objs := \ ringbuffer/ring_buffer_backend.o \ ringbuffer/ring_buffer_frontend.o \ ringbuffer/ring_buffer_iterator.o \