From 622cef6f81a297b51728fd47c9ae8986bd5a4c76 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 16 Dec 2018 00:50:39 +0100 Subject: makefile: use immediate expansion and use correct template patterns --- src/compat/Kbuild.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compat') diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include index 530f71d..2164dbf 100644 --- a/src/compat/Kbuild.include +++ b/src/compat/Kbuild.include @@ -2,7 +2,7 @@ # # Copyright (C) 2015-2018 Jason A. Donenfeld . All Rights Reserved. -kbuild-dir ?= $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) +kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) ccflags-y += -include $(kbuild-dir)/compat/compat.h asflags-y += -include $(kbuild-dir)/compat/compat-asm.h -- cgit v1.2.3-59-g8ed1b