Hi Linus, Please pull this urgent fix for Kselftest. This update consists of an urgent fix for individual test build failures introduced in the 4.11-rc1 update. Without this fix individual test builds fail. This is a regression introduced in a commit in my previous pull update for 4.11-rc1. Diff is attached. thanks, -- Shuah ---------------------------------------------------------------------------- The following changes since commit 68bd42d97c30d51217b8c3b2b22fede577d8371c: selftests/powerpc: Fix remaining fallout from recent changes (2017-02-14 08:02:27 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-4.11-rc1-urgent_fix for you to fetch changes up to e53aff45c490ea04aa5d9e3cffa65b6b54397455: selftests: lib.mk Fix individual test builds (2017-03-02 07:53:01 -0700) ---------------------------------------------------------------- linux-kselftest-4.11-rc1-urgent_fix This update consists of an urgent fix for individual test build failures introduced in the 4.11-rc1 update. ---------------------------------------------------------------- Shuah Khan (1): selftests: lib.mk Fix individual test builds tools/testing/selftests/lib.mk | 4 ++++ 1 file changed, 4 insertions(+) ----------------------------------------------------------------------------- -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@xxxxxxxxxxxxxxx
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk index ce96d80..775c589 100644 --- a/tools/testing/selftests/lib.mk +++ b/tools/testing/selftests/lib.mk @@ -2,6 +2,10 @@ # Makefile can operate with or without the kbuild infrastructure. CC := $(CROSS_COMPILE)gcc +ifeq (0,$(MAKELEVEL)) +OUTPUT := $(shell pwd) +endif + TEST_GEN_PROGS := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS)) TEST_GEN_FILES := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_FILES))