Skip to contentSkip to conversation

-2.4.23 switches to kbuild

PATCH New Xose Vazquez Perez 1 participant 1 message Nov 28, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 -2.4.23 switches to kbuild

hi,

Added random configurations options for stress testing.

This patch was done by Ghozlane Toumi <[email protected]> and documented by Keith Owens <[email protected]> on October 7 2000.

Very useful with OSDL compregress.sh[1] for stress testing of kernel constructions.

[1] http://developer.osdl.org/~cherry/compile/

-thanks-
--
Software is like sex, it's better when it's bug free.

Documentation/kbuild/00-INDEX +2 -0
@@ -8,3 +8,5 @@
 	- specification of Config Language, the language in Config.in files
 makefiles.txt
 	- developer information for linux kernel makefiles
+random.txt
+	- automatically generate random configurations for stress testing
Documentation/kbuild/random.txt +47 -0

47 lines not on this page · raw message

Makefile +16 -0
@@ -316,6 +316,22 @@
 config: symlinks
 	$(CONFIG_SHELL) scripts/Configure arch/$(ARCH)/config.in
 
+defconfig: symlinks
+	@rm -f .config
+	yes '' | $(CONFIG_SHELL) scripts/Configure arch/$(ARCH)/config.in
+
+randconfig: symlinks
+	$(CONFIG_SHELL) scripts/Configure -r arch/$(ARCH)/config.in
+
+allyesconfig: symlinks
+	$(CONFIG_SHELL) scripts/Configure -y arch/$(ARCH)/config.in
+
+allnoconfig: symlinks
+	$(CONFIG_SHELL) scripts/Configure -n arch/$(ARCH)/config.in
+
+allmodconfig: symlinks
+	$(CONFIG_SHELL) scripts/Configure -m arch/$(ARCH)/config.in
+
 include/config/MARKER: scripts/split-include include/linux/autoconf.h
 	scripts/split-include include/linux/autoconf.h include/config
 	@ touch include/config/MARKER
scripts/Configure +132 -12

217 lines not on this page · raw message