Re: [PATCH] selftests: more general make nesting support

2020-08-05 Thread Greg Thelen
Shuah Khan wrote: > On 8/5/20 1:36 PM, Greg Thelen wrote: >> On Tue, Jul 28, 2020 at 12:32 AM Greg Thelen wrote: >>> >>> selftests can be built from the toplevel kernel makefile (e.g. make >>> kselftest-all) or directly (make -C tools/testing/selftests all). >>> >>> The toplevel kernel makefile

Re: [PATCH] selftests: more general make nesting support

2020-08-05 Thread Shuah Khan
On 8/5/20 1:36 PM, Greg Thelen wrote: On Tue, Jul 28, 2020 at 12:32 AM Greg Thelen wrote: selftests can be built from the toplevel kernel makefile (e.g. make kselftest-all) or directly (make -C tools/testing/selftests all). The toplevel kernel makefile explicitly disables implicit rules with

Re: [PATCH] selftests: more general make nesting support

2020-08-05 Thread Greg Thelen
On Tue, Jul 28, 2020 at 12:32 AM Greg Thelen wrote: > > selftests can be built from the toplevel kernel makefile (e.g. make > kselftest-all) or directly (make -C tools/testing/selftests all). > > The toplevel kernel makefile explicitly disables implicit rules with > "MAKEFLAGS += -rR", which is

[PATCH] selftests: more general make nesting support

2020-07-28 Thread Greg Thelen
selftests can be built from the toplevel kernel makefile (e.g. make kselftest-all) or directly (make -C tools/testing/selftests all). The toplevel kernel makefile explicitly disables implicit rules with "MAKEFLAGS += -rR", which is passed to tools/testing/selftests. Some selftest makefiles