]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dtrace: ensure that builds in a separate objdir work
authorKris Van Hees <kris.van.hees@oracle.com>
Wed, 28 Aug 2013 22:58:45 +0000 (18:58 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:11 +0000 (15:29 +0100)
Orabug: 17369799

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
scripts/Makefile.modpost
scripts/link-vmlinux.sh

index bab3c7f292d61ca9aa5e064dfb5c16a4ce9d1184..3bb4ca9c7e75d8f7f306d12f97abc309e0deea10 100644 (file)
@@ -197,7 +197,7 @@ $(ctf-stamp): $(ctf-filelist)
                [[ -f $${name}.new ]] || rm -f $$name; \
        done; \
        for name in $(ctf-dir)/*.ctf.new; do \
-               scripts/move-if-change $$name $${name%.new}; \
+               $(srctree)/scripts/move-if-change $$name $${name%.new}; \
        done
        @touch $(ctf-stamp)
 
index 5cc4baea072898050086908133ae42eb04fd0f5c..c61eca2494ae98b3949f742546470491c20ab14c 100755 (executable)
@@ -62,7 +62,7 @@ sdtinfo()
 {
        info DT-SDT ${3}
 
-       scripts/dtrace_sdt.sh ${1} ${2} > .tmp_sdtinfo.S
+       ${srctree}/scripts/dtrace_sdt.sh ${1} ${2} > .tmp_sdtinfo.S
 
        local aflags="${KBUILD_AFLAGS} ${KBUILD_AFLAGS_KERNEL}               \
                      ${NOSTDINC_FLAGS} ${LINUXINCLUDE} ${KBUILD_CPPFLAGS}"