diff options
author | Ross Zwisler <[email protected]> | 2018-05-18 16:08:51 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-05-18 17:17:12 -0700 |
commit | 8d9fa88edd5e360b71765feeadb915d4066c9684 (patch) | |
tree | 2c48b7f56ca34fe71b1954903e0ac3eef4c92cf3 /lib/memory-notifier-error-inject.c | |
parent | d97baf9470b0668904aa96865abe7db4000dc3ba (diff) |
radix tree test suite: fix mapshift build target
Commit c6ce3e2fe3da ("radix tree test suite: Add config option for map
shift") introduced a phony makefile target called 'mapshift' that ends
up generating the file generated/map-shift.h. This phony target was
then added as a dependency of the top level 'targets' build target,
which is what is run when you go to tools/testing/radix-tree and just
type 'make'.
Unfortunately, this phony target doesn't actually work as a dependency,
so you end up getting:
$ make
make: *** No rule to make target 'generated/map-shift.h', needed by 'main.o'. Stop.
make: *** Waiting for unfinished jobs....
Fix this by making the file generated/map-shift.h our real makefile
target, and add this a dependency of the top level build target.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ross Zwisler <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: CR, Sapthagirish <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions