Skip to content

Commit 9fdaca2

Browse files
broonieshuahkh
authored andcommitted
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 <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 1b929c0 commit 9fdaca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/lib.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CLANG_TARGET_FLAGS := $(CLANG_TARGET_FLAGS_$(ARCH))
2020

2121
ifeq ($(CROSS_COMPILE),)
2222
ifeq ($(CLANG_TARGET_FLAGS),)
23-
$(error Specify CROSS_COMPILE or add '--target=' option to lib.mk
23+
$(error Specify CROSS_COMPILE or add '--target=' option to lib.mk)
2424
else
2525
CLANG_FLAGS += --target=$(CLANG_TARGET_FLAGS)
2626
endif # CLANG_TARGET_FLAGS

0 commit comments

Comments
 (0)