Tested by: Bamvor Jian Zhang
On 9 February 2017 at 16:56, Michael Ellerman wrote:
> In commit 88baa78d1f31 ("selftests: remove duplicated all and clean
> target"), the "all" target was removed from individual Makefiles and
> added to lib.mk.
>
> However the "all" target was added to lib.mk *afte
Tested-by: Bamvor Jian Zhang
On 9 February 2017 at 16:56, Michael Ellerman wrote:
> Currently we can't build some tests, for example:
>
> $ make -C tools/testing/selftests/ TARGETS=vm
> ...
> gcc -Wall -I ../../../../usr/include -lrt -lpthread
> ../../../../usr/include/linux/kernel.h us
Tested-by: Bamvor Jian Zhang
On 9 February 2017 at 16:56, Michael Ellerman wrote:
> Both these rules incorrectly use $< (first prerequisite) rather than
> $^ (all prerequisites), meaning they don't work if we're using more than
> one .S file as input. Switch them to using $^.
>
> They also don't