On 2012-03-14 6:14 PM, Christian Gagneraud wrote:
> Hi all,
> 
> I'm having trouble with my condif-default's.
> I have 2 config-default:
> target/linux/at91/config-default
> target/linux/at91/tmbbv3/config-default
> 
> when I do "make target/linux/{clean,prepare} V=99 QUILT=1", my kernel is 
> configured correctly, by that I mean that my subtarget config-default is 
> used. (Still I'm asked for some kernel config related to USB gadget that 
> are defined in my subtarget config-default...)
> 
> This is confirmed by seeing this command line:
> /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/scripts/kconfig.pl 
> + + 
> /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/generic/config-2.6.38
>  
> /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/config-default
>  
> /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/tmbbv3/config-default
>  
>  > 
> /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/build_dir/linux-at91_tmbbv3/linux-2.6.38.8/.config.target
> 
> Which means that to build the .config.target, it merges:
> target/linux/generic/config-2.6.38
> target/linux/at91/config-default
> target/linux/at91/tmbbv3/config-default
> 
> Now the strangest thing is that, if now I call "make kernel_menuconfig 
> V=99", I'm asked about more things because the kernel is configured for 
> the wrong target (AT91RM9200 instead of AT91SAM9G20).
> I've track down this one to the fact that my subtraget config default is 
> not used as shown by this command line:
> /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/scripts/kconfig.pl 
> + 
> /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/generic/config-2.6.38
>  
> /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/config-default
>  
>  > 
> /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/build_dir/linux-at91_tmbbv3/linux-2.6.38.8/.config
> 
> Which means that to build the .config.target, it merges only:
> target/linux/generic/config-2.6.38
> target/linux/at91/config-default
> 
> Could anyone shed some light on what is going on with my configuration?
> Is use to work correctly (I think), but then i started to add packages 
> (and kernel modules via profiles), and now it seems to be broken.
> 
> 
> Has anyone had this kind of problems before? Any clue on how to debug 
> the problem, is there anyway to get more debugging messages out of the 
> buildroot stuff?
Try make kernel_menuconfig CONFIG_TARGET=subtarget.
CONFIG_TARGET allows you to select which config you want to edit.
possible options: target, subtarget, env.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to