mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
kselftest: Fix error message for unconfigured LLVM builds
We are missing a ) when we attempt to complain about not having enough configuration for clang, resulting in the rather inscrutable error: ../lib.mk:23: *** unterminated call to function 'error': missing ')'. Stop. Add the required ) so we print the message we were trying to print. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
1b929c02af
commit
9fdaca2c1e
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ CLANG_TARGET_FLAGS := $(CLANG_TARGET_FLAGS_$(ARCH))
|
||||||
|
|
||||||
ifeq ($(CROSS_COMPILE),)
|
ifeq ($(CROSS_COMPILE),)
|
||||||
ifeq ($(CLANG_TARGET_FLAGS),)
|
ifeq ($(CLANG_TARGET_FLAGS),)
|
||||||
$(error Specify CROSS_COMPILE or add '--target=' option to lib.mk
|
$(error Specify CROSS_COMPILE or add '--target=' option to lib.mk)
|
||||||
else
|
else
|
||||||
CLANG_FLAGS += --target=$(CLANG_TARGET_FLAGS)
|
CLANG_FLAGS += --target=$(CLANG_TARGET_FLAGS)
|
||||||
endif # CLANG_TARGET_FLAGS
|
endif # CLANG_TARGET_FLAGS
|
||||||
|
|
Loading…
Reference in a new issue