Re: [uml-devel] Re: [patch 07/10] uml: kbuild - add even more cleaning

From: BlaisorBlade
Date: Mon Oct 25 2004 - 15:29:15 EST


On Monday 25 October 2004 10:43, Chris Wedgwood wrote:
> On Tue, Oct 12, 2004 at 02:17:59AM +0200, blaisorblade_spam@xxxxxxxx wrote:
> > MRPROPER_FILES += $(SYMLINK_HEADERS) $(ARCH_SYMLINKS) \
> > - $(addprefix $(ARCH_DIR)/kernel/,$(KERN_SYMLINKS))
> > + $(addprefix $(ARCH_DIR)/kernel/,$(KERN_SYMLINKS)) $(ARCH_DIR)/os
>
> these sorts of rules don't work when doing "make O=build ARCH=um ..."
Yes, they do as much as they can. Kbuild cd's to the objtree before doing
anything. Specifying $(objtree) is not needed. Specifying $(obj) probably
does not even work in the ARCH Makefile.

That said, O=<whatever> is highly broken; it seems that Gerd Knorr was able to
build the tree with O=, but actually some files are still created in the
source tree, while they should not. This is a problem and would require
various changes.
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/