More Makefile Misery

Russell King (rmk@arm.linux.org.uk)
Sun, 20 Oct 2002 01:27:50 +0100


When running make clean on an ARM tree, I get:

make[1]: *** No rule to make target `arch/arm/mach-/Makefile'. Stop.

Seeing as we have many mach-* directories, and the relevant one is
selected by the relevant .config file.

I see two options:

- recurse into the correct one somehow, given that the .config file may
have changed since the kernel tree was built.
- recurse into all mach-* directories for make clean and not for the
normal build

(Its late, I've not looked at the makefiles yet)

Comments?

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/