kbuild: Create Makefile in output dir for *config targets
Makefile line 384
Quoted 9 lines · Linux Kernel Mailing List
Makefile +3
-0@@ -379,6 +379,18 @@ scripts_basic: $(Q)$(MAKE) $(build)=scripts/basic +.PHONY: outputmakefile +# outputmakefile generate a Makefile to be placed in output directory, if +# using a seperate output directory. This allows convinient use
^^^^^^^^^^ convenient
Makefile line 393
Quoted 9 lines
Makefile +9
-0+# of make in output directory +outputmakefile: + $(Q)if /usr/bin/env test ! $(srctree) -ef $(objtree); then \ + $(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \ + $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) \ + > $(objtree)/Makefile; \ + echo ' GEN $(objtree)/Makefile'; \ + fi +
BTW, at least in 2.6.10-rc1 there's still something wrong with dependencies when doing:
make dir/file.o
or
make dir/
in the output directory. The full `make' does seem to care about all dependencies.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds