From at least 2006 the Makefile in arch/um uses $(shell cd ...) but the cd command outputs to stdout if CDPATH is in effect and this causes the Makefile to break with *** missing separator.
One fix is to suppress the stdout of the cd command. Another is to assign the result e.g.: JUNK := $(shell cd ... ) I think CDPATH is silly. --- /usr/src/linux-2.6.22.17-0.1/arch/um/Makefile.orig 2008-04-04 11:59:35.0000 00000 +0100 +++ /usr/src/linux-2.6.22.17-0.1/arch/um/Makefile 2008-04-04 12:00:08.0000 00000 +0100 @@ -110,7 +110,7 @@ ifneq ($(KBUILD_SRC),) $(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/ Kconfig.$(SUBARC H) $(ARCH_DIR)/Kconfig.arch) else -$(shell cd $(ARCH_DIR) && ln -sf Kconfig.$(SUBARCH) Kconfig.arch) +$(shell cd $(ARCH_DIR) > /dev/null && ln -sf Kconfig.$(SUBARCH) Kconfig.arch) endif archprepare: $(ARCH_SYMLINKS) $(ARCH_DIR)/include/user_constants.h ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
