makefile: use immediate expansion and use correct template patterns

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2018-12-16 00:50:39 +01:00
parent 48a31572f1
commit 89662178c6
2 changed files with 2 additions and 0 deletions

View File

@ -24,5 +24,6 @@ offset-finder-m := offset-finder.o
oldsrc := $(src)
src := $(src)/../../../src
include $(src)/compat/Kbuild.include
include $(src)/crypto/Kbuild.include
src := $(oldsrc)
endif

View File

@ -27,5 +27,6 @@ config-m := config.o
oldsrc := $(src)
src := $(src)/../../../src
include $(src)/compat/Kbuild.include
include $(src)/crypto/Kbuild.include
src := $(oldsrc)
endif