Skip to content

Commit

Permalink
MT#61993 use module source directory for temp file
Browse files Browse the repository at this point in the history
Change-Id: Iff873374618c37efcbb366ed1f8914ee53bac28f
  • Loading branch information
rfuchs committed Jan 30, 2025
1 parent 7dbe24e commit c31b421
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions kernel-module/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Module.symvers
rtpengine.mk
.*.cmd
xt_RTPENGINE.mod
rtpengine-kmod.mk
6 changes: 3 additions & 3 deletions kernel-module/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ M ?= $(CURDIR)

export M

include rtpengine-kmod.mk
include $(M)/rtpengine-kmod.mk

EXTRA_CFLAGS+= -DRTPENGINE_VERSION="\"$(RTPENGINE_VERSION)\""

Expand All @@ -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 >$@

0 comments on commit c31b421

Please sign in to comment.