[yocto] Changing Config for linux-raspberrypi

John Whitmore arigead at gmail.com
Wed Nov 6 14:06:18 PST 2013


On Wed, Nov 06, 2013 at 04:47:21PM -0500, Robert P. J. Day wrote:
> On Wed, 6 Nov 2013, John Whitmore wrote:
> 
> > Was struggling with the documentation on making chages to the config file used
> > by the raspberrypi linux kernel. I'd got my own layer with a two line append file:
> >
> > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}"
>                                               ^
>                                               there should be a ":"
>

typo in the manual, unless I've got an out of date one:

http://www.yoctoproject.org/docs/1.5/kernel-dev/kernel-dev.html#creating-the-append-file


But unfortunately that has not changed anything, I'm afraid. I've tried a
build and it failed and then checked with "bitbake -e linux-raspberrypi"

The output from the -e gives the lines at the start of do_configure()

do_configure() {
	install -m 0644 /home/john/raspberrypi/poky/build/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi/3.6.11+git63b69a8806ce1890711ff55280c90673ea415933-r7/git/arch/arm/configs/defconfig /home/john/raspberrypi/poky/build/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi/3.6.11+git63b69a8806ce1890711ff55280c90673ea415933-r7/defconfig || die "No default configuration for raspberrypi / defconfig available."
	# Clean .config



As you can see the install command is hard wired to copy the config file from
the build tree as opposed to my-layer tree.





 
> rday
> 
> -- 
> 
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                         http://crashcourse.ca
> 
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================



More information about the yocto mailing list