MT#61993 use module source directory for temp file

Change-Id: Iff873374618c37efcbb366ed1f8914ee53bac28f
(cherry picked from commit c31b421ce2)
mr13.2
Richard Fuchs 1 year ago committed by Guillem Jover
parent 358c3965a6
commit 4b0808b43d

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

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

Loading…
Cancel
Save