make allyesconfig?
Hi all :))
I've seen posts here about doing 'make allyesconfig' on 2.4.19,
but allyesconfig is not on my 2.4.19 tree... AFAIK, the 'allyesconfig' target is on 2.5.x branch, am I wrong?
BTW, if 'allyesconfig' is only on the 2.5 branch, is going to be
included somewhere on 2.4? I would find it very useful when doing test compilations ;) A .config with all options enabled will be useful too if 'allyesconfig' cannot be included on 2.4.
And, if anyone is interested, I've compiled 2.4.19, 2.4.20-pre2
and 2.4.20-pre2-ac3 with GCC 3.2 and all has going OK (with my .config, at least).
If I am missing something, please tell, thanks :)
Raúl
Quoted 9 lines · DervishD
included somewhere on 2.4? I would find it very useful when doing test compilations ;) A .config with all options enabled will be useful too if 'allyesconfig' cannot be included on 2.4.
And, if anyone is interested, I've compiled 2.4.19, 2.4.20-pre2and 2.4.20-pre2-ac3 with GCC 3.2 and all has going OK (with my .config, at least).
If I am missing something, please tell, thanks :)
man yes
Quoted 5 lines · DervishD
Hi all :))
I've seen posts here about doing 'make allyesconfig' on 2.4.19,
but allyesconfig is not on my 2.4.19 tree... AFAIK, the 'allyesconfig' target is on 2.5.x branch, am I wrong?
you can download (and apply) kbuild-2.5 for 2.4.19 on sourceforge :
http://sourceforge.net/projects/showfiles.php?group_id=18813
I agree that allyesconfig and allmodconfig are very convenient ways to test kernels and compilation problems.
Cheers,
Willy
Hi Willy :)
Quoted 2 lines
I agree that allyesconfig and allmodconfig are very convenient ways to test kernels and compilation problems.
Thanks for your answer :). I'm particularly interested in
allmodconfig for compilation problems.
Raúl
Quoted 2 lines · DervishD
Thanks for your answer :). I'm particularly interested in
allmodconfig for compilation problems.
Take a copy of Configure from Linux-2.5
and add the following lines to the top-level Makefile around line 300:
+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
+
+defconfig: symlinks
+ yes '' | $(CONFIG_SHELL) scripts/Configure -d arch/$(ARCH)/config.in
That gives you the targets you have requested from 2.5
Sam