X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lib%2FMakefile;h=1ea65cec0a9bdc41f7ca33bdf6b7afaa40864f5e;hb=6ccec97391876d0d977a6add820aa0ca13c042d7;hp=e5735ecaa6fc53a883805c2a1e77d96c60042786;hpb=a33e44a60b7128349043753e53affba8ebc40716;p=lttng-modules.git diff --git a/lib/Makefile b/lib/Makefile index e5735eca..1ea65cec 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-$(CONFIG_LTTNG) += 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 \