[PATCH](Makefile) Automatic Configuration of a Kernel

From: Ahmad Reza Cheraghi
Date: Mon Sep 26 2005 - 07:11:01 EST


--- linux.org/scripts/kconfig/Makefile 2005-09-23
09:27:39.000000000 +0200
+++ linux-2.6.13.2/scripts/kconfig/Makefile 2005-09-25
21:42:18.000000000 +0200
@@ -17,6 +17,14 @@
config: $(obj)/conf
$< arch/$(ARCH)/Kconfig

+autoconfig: $(obj)/conf
+ @if [ -f .config ]; then rm .config; fi;
+ $< -a arch/$(ARCH)/Kconfig
+
+autochoiceconfig: $(obj)/conf
+ @if [ -f .config ]; then rm .config; fi;
+ $< -c arch/$(ARCH)/Kconfig
+
oldconfig: $(obj)/conf
$< -o arch/$(ARCH)/Kconfig

@@ -67,7 +75,8 @@
@echo ' allmodconfig - New config selecting
modules when possible'
@echo ' allyesconfig - New config where all
options are accepted with yes'
@echo ' allnoconfig - New minimal config'
-
+ @echo ' autoconfig - New config with
automatically answer to elected-options based on the
System'
+ @echo ' autochoiceconfig - New config like
autoconfig, but the user will be asked for including
the elected-options'
#
===========================================================================
# Shared Makefile for the various kconfig
executables:
# conf: Used for defconfig, oldconfig and related
targets





__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
-
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/