* btrfs-progs clean is incomplete
@ 2017-03-26 13:58 Chris
2017-03-27 12:26 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Chris @ 2017-03-26 13:58 UTC (permalink / raw)
To: linux-btrfs
"make clean-all" leaves generated files under the "kernel-shared" directory.
This causes problems when trying to build under the same tree when the
absolute path changes.
For example if you mount the source tree in one location,
generate/build, then mount it in a different location, clean-all,
re-build, and an error appears. "No rule to make target
'.../kerncompat.h', needed by 'kernel-shared/ulist.o'. Stop." This
happens because the "kernel-shared/ulist.o.d" file was not cleaned and
lists an incorrect path.
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: btrfs-progs clean is incomplete
2017-03-26 13:58 btrfs-progs clean is incomplete Chris
@ 2017-03-27 12:26 ` David Sterba
0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2017-03-27 12:26 UTC (permalink / raw)
To: Chris; +Cc: linux-btrfs
On Sun, Mar 26, 2017 at 09:58:21AM -0400, Chris wrote:
> "make clean-all" leaves generated files under the "kernel-shared" directory.
>
> This causes problems when trying to build under the same tree when the
> absolute path changes.
>
> For example if you mount the source tree in one location,
> generate/build, then mount it in a different location, clean-all,
> re-build, and an error appears. "No rule to make target
> '.../kerncompat.h', needed by 'kernel-shared/ulist.o'. Stop." This
> happens because the "kernel-shared/ulist.o.d" file was not cleaned and
> lists an incorrect path.
Thanks for the report, Qu sent a patch, now in the devel branch.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-27 12:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-26 13:58 btrfs-progs clean is incomplete Chris
2017-03-27 12:26 ` David Sterba
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.