From: Heiko Z. <he...@zu...> - 2012-03-17 14:36:18
|
Stefan, > -----Original Message----- > From: Stefan Engel [mailto:ma...@en...] > Sent: Friday, March 16, 2012 6:58 AM > To: dev...@li... > Subject: [Devil-linux-develop] DL compile: some settings missing in kernel > config? > > Hi, > > I have a small problem when trying to build DL from scratch (I am building for > x86_64). The build process stops in scripts/prepare when configuring the > kernel. > > I have set up a fresh build environment and checked out the current HEAD > revision from CVS without making any additional changes to the build > infrastructure (except removing some unneeded applications during 'make > menuconfig'). > > make unpack, make menuconfig and make prepare are running without any > problems. > > But when I run 'make build' then the first target (scripts/prepare) fails when > executing 'make oldconfig'. > > The last info in tmp/LOGS/build/prepare is: > > <<<snip>>> > `/data/build/scripts/config/linux-3.x/config_linux.x86_64' -> > `/data/build/tmp/linux-3.2/.config' > ... > executing set_all_kernel_options in drivers/hwmon ... > scripts/kconfig/conf --oldconfig Kconfig > .config:4108:warning: override: reassigning to symbol DEBUG_KERNEL ... > * > * Restart config... > * > * > * Configure standard kernel features (expert users) > * > Configure standard kernel features (expert users) (EXPERT) [N/y/?] n > Load all symbols for debugging/ksymoops (KALLSYMS) [Y/?] y > Include all symbols in kallsyms (KALLSYMS_ALL) [N/y/?] (NEW) <<<snip>>> > > So the base config file gets copied to tmp/linux-3.2/.config and then gets > further patched by scripts/prepare. But something seems to be missing here. > > If I manually run 'make oldconfig' in tmp/linux-3.2 then I have to step through > some additional config settings to get a valid kernel config file. > KALLSYMS_ALL is only the first undefined setting. > > Using 'find . -type f -exec grep KALLSYMS_ALL {} \;' in /data/build after make > unpack && make prepare results only in hits in tmp/linux-3.2 > (documentation, default configs in 'arch'). So the missing config settings do > not come from any files/scripts in the DL source tree. > > I don't want to enable the line '(yes "" | make oldconfig)' in scripts/prepare, > because a lot of stuff gets enabled which I do not need/want (debugging, > ...). > > > So my question is: am I doing something wrong here? Or what kind of linux > kernel config files are you using for building DL from scratch? > > Any help would be much appreciated. It should run right through. Can you email me your DL .config file? Send it to my directly, not the mailinglist. I'll see if I can reproduce your problem. -- Regards Heiko Zuerker http://www.devil-linux.org |