[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-bdf37b4dd35d2517cadc10735cd33022da7df133@git.kernel.org>
Date: Fri, 9 Nov 2018 00:09:50 -0800
From: tip-bot for Borislav Petkov <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: tglx@...utronix.de, hpa@...or.com, sfr@...b.auug.org.au,
mark.rutland@....com, will.deacon@....com, boqun.feng@...il.com,
torvalds@...ux-foundation.org, mingo@...nel.org, bp@...e.de,
peterz@...radead.org, linux-kernel@...r.kernel.org
Subject: [tip:locking/core] locking/atomics: Fix out-of-tree build
Commit-ID: bdf37b4dd35d2517cadc10735cd33022da7df133
Gitweb: https://git.kernel.org/tip/bdf37b4dd35d2517cadc10735cd33022da7df133
Author: Borislav Petkov <bp@...e.de>
AuthorDate: Thu, 8 Nov 2018 20:41:28 +0100
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Fri, 9 Nov 2018 09:06:01 +0100
locking/atomics: Fix out-of-tree build
Building a kernel out of tree with:
make O=/tmp/b oldconfig
cd /tmp/b
make
gives this error:
CALL /mnt/kernel/kernel/linux/scripts/atomic/check-atomics.sh
/bin/bash: scripts/atomic/check-atomics.sh: No such file or directory
make[3]: *** [/mnt/kernel/kernel/linux/./Kbuild:86: old-atomics] Error 127
make[3]: *** Waiting for unfinished jobs....
Make the command use the proper build prerequisite which is the absolute
path to the script.
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Signed-off-by: Borislav Petkov <bp@...e.de>
Cc: Boqun Feng <boqun.feng@...il.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Mark Rutland <mark.rutland@....com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Will Deacon <will.deacon@....com>
Cc: arnd@...db.de
Cc: aryabinin@...tuozzo.com
Cc: catalin.marinas@....com
Cc: dvyukov@...gle.com
Cc: glider@...gle.com
Cc: linux-arm-kernel@...ts.infradead.org
Cc: linuxdrivers@...otech.com
Fixes: 8d32588077bd ("locking/atomics: Check generated headers are up-to-date")
Link: http://lkml.kernel.org/r/20181108194128.13368-1-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
Kbuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Kbuild b/Kbuild
index 47c9fe175bd9..780048056ac5 100644
--- a/Kbuild
+++ b/Kbuild
@@ -80,7 +80,7 @@ always += old-atomics
targets += old-atomics
quiet_cmd_atomics = CALL $<
- cmd_atomics = $(CONFIG_SHELL) scripts/atomic/check-atomics.sh
+ cmd_atomics = $(CONFIG_SHELL) $<
old-atomics: scripts/atomic/check-atomics.sh FORCE
$(call cmd,atomics)
Powered by blists - more mailing lists