]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ctf: write the CTF files for standalone modules to a subdir of the module dir
authorNick Alcock <nick.alcock@oracle.com>
Fri, 7 Sep 2012 19:26:17 +0000 (20:26 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:40:30 +0000 (22:40 +0100)
commit6a64416b76e97c47ad4a140d82ea933a65eed86d
tree10f1e4a017cdac02d211060bd516664f6cc2b2ec
parent6db727d0ec2e97a94ca0d58d0819cc1c89e31aca
ctf: write the CTF files for standalone modules to a subdir of the module dir

Writing all ctf to the .ctf subdirectory of the kernel directory is problematic
when building standalone modules, when the kernel directory may be unwritable.
So write it to the .ctf subdirectory of the module directory in this case
as well.  (The old .ctf relative path was hardwired into dwarf2ctf, so this
too is changed to accept the path to write the CTF files to as the first
parameter, in both non-standalone and standalone mode.)

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
scripts/Makefile.modpost
scripts/dwarf2ctf/dwarf2ctf.c