This file is used only for the dwarf2ctf run inside Makefile.modpost. That run
is conditionalized on CONFIG_DT_DISABLE_CTF, so objects.builtin should be
conditionalized on that too.
Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modbuild
ifdef CONFIG_DTRACE
+ifndef CONFIG_DT_DISABLE_CTF
# This contains all the object files that are unconditionally built into the
# kernel, for consumption by dwarf2ctf in Makefile.modpost.
# This is made doubly annoying by the presence of '.o' files which are actually
PHONY += objects.builtin
objects.builtin:
endif
+else
+PHONY += objects.builtin
+objects.builtin:
+endif
# Target to prepare building external modules
PHONY += modules_prepare