Skip to content

kselftest Makefiles don't support separate output directory build #85

@musamaanjum

Description

@musamaanjum

Kselftest Makefiles have hard-coded paths. Out of tree build of kselftest fails of some tests if they depend on latest uapi in tree headers.

To reproduce:
Run make -C tools/testing/selftests/ O=<build_dir> inside kernel top most directory. The build of some tests will get fail in this way.

Workaround:
Either build kselftests in tree in same directory or build kselftest from the build directory with slightly changed command, make -C source/tools/testing/selftests.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions