kernel/tools/testing/selftests/lib.mk
.. .. @@ -128,6 +128,11 @@ 128 128 clean: 129 129 $(CLEAN) 130 130 131 +# Enables to extend CFLAGS and LDFLAGS from command line, e.g.132 +# make USERCFLAGS=-Werror USERLDFLAGS=-static133 +CFLAGS += $(USERCFLAGS)134 +LDFLAGS += $(USERLDFLAGS)135 +131 136 # When make O= with kselftest target from main level 132 137 # the following aren't defined. 133 138 #