]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ctf: fix CONFIG_CTF && !CONFIG_DTRACE and CONFIG_DT_DISABLE_CTF
authorNick Alcock <nick.alcock@oracle.com>
Thu, 14 Jul 2016 17:05:24 +0000 (18:05 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 19 Jul 2016 11:05:09 +0000 (12:05 +0100)
commita65f50e6b73076ad4518c745a4e518c70746a663
treeba2104480ee9140d4e542c5a41ec609d89a0cf8c
parentd6066cf85f71fe35713b5956dddc2c2cf6904164
ctf: fix CONFIG_CTF && !CONFIG_DTRACE and CONFIG_DT_DISABLE_CTF

These combinations of config options, one of which should enable
CTF without enabling DTrace, the other one of which should enable
DTrace without enabling CTF, are both broken.

Fix them by making the CTF <-> DT_DISABLE_CTF relationship bidirectional,
by making dwarf2ctf compilation depend properly on CONFIG_CTF rather than
CONFIG_DTRACE, and by fixing the newly-introduced order-only dependency
of CTF on the sdtinfo stubs files so that it is only enforced when
both CTF and DTrace are enabled.

Orabug: 23859082
Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Reviewed-By: Todd Vierling <todd.vierling@oracle.com>
kernel/ctf/Kconfig
scripts/Makefile
scripts/Makefile.modpost
scripts/dwarf2ctf/Makefile