Skip to content
Commit 5fa94ceb authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: set correct abs_srctree and abs_objtree for package builds



When you run 'make rpm-pkg', the rpmbuild tool builds the kernel in
rpmbuild/BUILD, but $(abs_srctree) and $(abs_objtree) point to the
directory path where make was started, not the kernel is actually
being built. The same applies to 'make snap-pkg'. Fix it.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 71025b85
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment