From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mailer.railtec-systems.ch ([85.119.154.248]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WkuRv-0005w7-Qq for ptxdist@pengutronix.de; Thu, 15 May 2014 14:07:48 +0200 Received: from mailer.railtec-systems.ch (localhost [127.0.0.1]) by mailer.railtec-systems.ch (Postfix) with ESMTP id 841E012DF8059 for ; Thu, 15 May 2014 14:07:52 +0200 (CEST) Received: from [192.168.5.88] (cust.static.109-164-209-249.swisscomdata.ch [109.164.209.249]) (Authenticated sender: marc.michalewicz@railtec-systems.ch) by mailer.railtec-systems.ch (Postfix) with ESMTPSA id 64DA512DF8056 for ; Thu, 15 May 2014 14:07:52 +0200 (CEST) Message-ID: <5374AE17.6070101@railtec-systems.ch> Date: Thu, 15 May 2014 14:07:51 +0200 From: "Marc Michalewicz, Railtec Systems GmbH" MIME-Version: 1.0 Subject: [ptxdist] kernel config question Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hello, I want to configure the kernel after it was unfolded and patched within the platform/build-target/linux-3.0.31 directory, so I did change to this dir and copied the kernelconfig from the configs-direcory of ptxdist as .config: ~/svn/ptxdist/ptxdist_CPU/platform/build-target/linux-3.0.31>cp ../../../configs/kernelconfig ./.config then I did a "make menuconfig", did *NOT* change anything but only saved the config before exiting upon getting the question if I want to save the config. =>as a result there is a completely different .config file. (For not bothering you with details, here is just the linecount of the different lines in .config and the .config before: diff .config ../../../configs/kernelconfig|wc -l 267 ) When I try to build the kernel with "make -j2 HOSTCC=gcc ARCH=i386 CROSS_COMPILE=i686-unknown-linux-gnu- clean bzImage" now there is a whole bunch of questions regarding some specific configurationissues, starting with " make -j2 HOSTCC=gcc ARCH=i386 CROSS_COMPILE=i686-unknown-linux-gnu- clean bzImage HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig * * Restart config... * * * Enable the block layer * Enable the block layer (BLOCK) [Y/?] y Support for large (2TB+) block devices and files (LBDAF) [Y/n/?] (NEW) " So as I found out the first modification above COULD be explained that the kernelconfig and the actual kernelversion might differ (but I did not check whether this is the case). But I do absolutely not understand that I still got those questions when trying to crosscompile. BTW fyi: if I do a native compile "make bzImage", there are no questions. Would be nice to understand this behavior, maybe somebody does and can explain to me. Thanks an advance for any help or hint, Marc -- Railtec Systems GmbH Marc Michalewicz Sonnenbergstrasse 19 CH-6052 Hergiswil Tel: +41 41 632 5533 Fax: +41 41 632 5539 www.railtec-systems.ch -- ptxdist mailing list ptxdist@pengutronix.de