MT#61993 use module source directory for temp file

Change-Id: Iff873374618c37efcbb366ed1f8914ee53bac28f
(cherry picked from commit c31b421ce2)
mr12.5
Richard Fuchs 10 months ago committed by Guillem Jover
parent 1e1075bf38
commit b1ae6e3620

@ -7,3 +7,4 @@ Module.symvers
rtpengine.mk
.*.cmd
xt_RTPENGINE.mod
rtpengine-kmod.mk

@ -4,7 +4,7 @@ M ?= $(CURDIR)
export M
include rtpengine-kmod.mk
include $(M)/rtpengine-kmod.mk
EXTRA_CFLAGS+= -DRTPENGINE_VERSION="\"$(RTPENGINE_VERSION)\""
@ -26,5 +26,5 @@ install:
install -D xt_RTPENGINE.ko $(DESTDIR)/lib/modules/$(shell uname -r)/updates/xt_RTPENGINE.ko
depmod -a
rtpengine-kmod.mk:
./gen-rtpengine-kmod-flags >$@
$(M)/rtpengine-kmod.mk:
$(M)/gen-rtpengine-kmod-flags >$@

Loading…
Cancel
Save