Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Differences in kernel configuration
@ 2008-03-21 10:17 Guillaume Dargaud
  2008-03-21 10:34 ` Bernhard Fischer
  0 siblings, 1 reply; 3+ messages in thread
From: Guillaume Dargaud @ 2008-03-21 10:17 UTC (permalink / raw)
  To: buildroot

Hello all,

How come I don't get the same options if I do this from the buildroot 
directory:
make ARCH=ppc menuconfig
(with the [Kernel][Run make ARCH=$(ARCH) xconfig before build] activated)

And this:
cd ./project_build_ppc/genepy/linux-2.6.24; make ARCH=ppc xconfig

In particular, in the 2nd case I have an option for [Processor][IBM 4xx 
options][Machine type]  available for Xilinx-ML403 which is missing in the 
first case

linux-2.6.24 $ grep XIL .config
# CONFIG_XILINX_ML300 is not set
CONFIG_XILINX_ML403=y
CONFIG_XILINX_VIRTEX_4_FX=y
CONFIG_XILINX_VIRTEX=y
# CONFIG_XILINX_SYSACE is not set

buildroot $ grep XIL project_build_ppc/genepy/linux-2.6.24/.config
CONFIG_XILINX_VIRTEX_GENERIC_BOARD=y
CONFIG_XILINX_VIRTEX=y
CONFIG_XILINX_VIRTEX_II_PRO=y
CONFIG_XILINX_VIRTEX_4_FX=y
# CONFIG_XILINX_SYSACE is not set


I've also heard that there can be discrepancies between using xconfig and 
menuconfig, so is it possible to tell the main 'make' to use the kernel's 
menuconfig instead of its xconfig. I did search the main makefile without 
success.
-- 
Guillaume Dargaud
http://www.gdargaud.net/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Differences in kernel configuration
  2008-03-21 10:17 [Buildroot] Differences in kernel configuration Guillaume Dargaud
@ 2008-03-21 10:34 ` Bernhard Fischer
  2008-03-21 14:47   ` [Buildroot] Wrong compiling commands ? Guillaume Dargaud
  0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Fischer @ 2008-03-21 10:34 UTC (permalink / raw)
  To: buildroot

On Fri, Mar 21, 2008 at 11:17:02AM +0100, Guillaume Dargaud wrote:
>Hello all,
>
>How come I don't get the same options if I do this from the buildroot 
>directory:
>make ARCH=ppc menuconfig
>(with the [Kernel][Run make ARCH=$(ARCH) xconfig before build] activated)
>
>And this:
>cd ./project_build_ppc/genepy/linux-2.6.24; make ARCH=ppc xconfig
>
>In particular, in the 2nd case I have an option for [Processor][IBM 4xx 
>options][Machine type]  available for Xilinx-ML403 which is missing in the 
>first case
>
>linux-2.6.24 $ grep XIL .config
># CONFIG_XILINX_ML300 is not set
>CONFIG_XILINX_ML403=y
>CONFIG_XILINX_VIRTEX_4_FX=y
>CONFIG_XILINX_VIRTEX=y
># CONFIG_XILINX_SYSACE is not set
>
>buildroot $ grep XIL project_build_ppc/genepy/linux-2.6.24/.config
>CONFIG_XILINX_VIRTEX_GENERIC_BOARD=y
>CONFIG_XILINX_VIRTEX=y
>CONFIG_XILINX_VIRTEX_II_PRO=y
>CONFIG_XILINX_VIRTEX_4_FX=y
># CONFIG_XILINX_SYSACE is not set
>
>
>I've also heard that there can be discrepancies between using xconfig and 
>menuconfig, so is it possible to tell the main 'make' to use the kernel's 

xconfig and menuconfig should result in the same .config, IIRC.

Apart from that you want to read
docs/README
for the reliable way to configure your kernel.

HTH,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Wrong compiling commands ?
  2008-03-21 10:34 ` Bernhard Fischer
@ 2008-03-21 14:47   ` Guillaume Dargaud
  0 siblings, 0 replies; 3+ messages in thread
From: Guillaume Dargaud @ 2008-03-21 14:47 UTC (permalink / raw)
  To: buildroot

Hello all,
sorry if I ask a lot of newbie questions here, but 12 years since my last 
embedded work on totally different architectures (TI), I have a hard time 
getting back in the game.

The more I look at what is going on, the more I think things are just plain 
wrong. Look at the invocation to compile uClibc:

$ make ARCH=ppc
[...]
/usr/bin/make MAKE="/usr/bin/make -j1" -C 
/home/guinevere/buildroot/toolchain_build_ppc/uClibc-0.9.29 \
        PREFIX= \
        DEVEL_PREFIX=/ \
        RUNTIME_PREFIX=/ \
        HOSTCC="/usr/bin/gcc" \
        all
[...]
Finishing with a whole bunch of errors...
Shouldn't there be a CROSS=something in there ? And some path for PREFIX ?

Thanks
-- 
Guillaume Dargaud
http://www.gdargaud.net/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-21 14:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21 10:17 [Buildroot] Differences in kernel configuration Guillaume Dargaud
2008-03-21 10:34 ` Bernhard Fischer
2008-03-21 14:47   ` [Buildroot] Wrong compiling commands ? Guillaume Dargaud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox