]> git.hungrycats.org Git - linux/commit
[PATCH] Move config tasks to kconfig/Makefile
authorSam Ravnborg <sam@ravnborg.org>
Sun, 17 Aug 2003 09:29:08 +0000 (02:29 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 17 Aug 2003 09:29:08 +0000 (02:29 -0700)
commit088205b5aef9f9eee6c442e6e1ecc3d4ad149786
tree1fffda5eeba7280911f0b6cf55b5dcec15446afe
parent300846139ec46b7f4dce64815b7940f181c0345e
[PATCH] Move config tasks to kconfig/Makefile

This fixes a bug with multiple targets.

Olaf Hering reported that the build failed for PowerPc if used like
this: make oldconfig zImage

The reason for this was that .config was not present for any targets
specified in arch/$(ARCH)/Makefile and below.

That's because .config would not be included when oldconfig is present
in the list of targets.  The fix is to move handling of *config task to
the kconfig/Makefile.  Furthermore the logic in top-level makefile has
changed a bit, creating a more logial structure.  When building a fresh
kernel, the user is now told that .config is missing, not an anonymous
report that .config did not exist.

The error has survided this long because the targets used in i386/boot
in general does not use CONFIG_ symbols.

Olaf Hering has tested this patch with success.
Makefile
scripts/Makefile.build
scripts/kconfig/Makefile