From: Stefan E. <ma...@en...> - 2012-03-16 11:58:01
|
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. Best regards, Stefan |