kernel-defaults: fix external kernel build when user_headers is missing
authorMatt Merhar <mattmerhar@protonmail.com>
Fri, 26 Feb 2021 04:28:53 +0000 (23:28 -0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 23 May 2021 13:11:38 +0000 (15:11 +0200)
commitcc76e34c10e57cb1a4f7971268a77aad2f24c8ca
treeadd5a62b03b513b7f388ca6c85a2e98200bd6267
parent42cd06f7fe49668399a010db8f5d2100e45465a9
kernel-defaults: fix external kernel build when user_headers is missing

Use an 'if' so the absence of $(LINUX_DIR)/user_headers doesn't make the
line evaluate to false and cause the build to fail.

Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
include/kernel-defaults.mk