kbuild: replace KBUILD_SRCTREE with boolean building_out_of_srctree
[linux-2.6-block.git] / scripts / gdb / linux / Makefile
index 9fd3d8ed731a8507a87b5257f14bd90d2048c2eb..12475508751082064b823da637853a9d10797647 100644 (file)
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 
-ifneq ($(srctree),.)
+ifdef building_out_of_srctree
 
 symlinks := $(patsubst $(srctree)/$(src)/%,%,$(wildcard $(srctree)/$(src)/*.py))