MT#61993 use module source directory for temp file

Change-Id: Iff873374618c37efcbb366ed1f8914ee53bac28f
pull/1910/head
Richard Fuchs 5 months ago
parent 7dbe24e4e5
commit c31b421ce2

@ -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