Error in documented build process - MokoMakefile updated to fix it

Rod Whitby rod at whitby.id.au
Fri Feb 16 14:42:53 CET 2007


The SVN revision referenced in
http://wiki.openmoko.org/wiki/Building_OpenMoko_from_scratch incorrectly
checks out version 1004 of the kernel patches (which then don't apply
cleanly to the 2.6.17.14 kernel).  Luckily, the correct patches seem to
have been moved to a branch in rev 1003 :-)

The following work-around has been added to MokoMakefile to fix this for
people who use MokoMakefile to set up their build environment:

> Index: trunk/oe/packages/linux/linux-gta01_2.6.17.14.bb
> ===================================================================
> --- trunk/oe/packages/linux/linux-gta01_2.6.17.14.bb    (revision 1004)
> +++ trunk/oe/packages/linux/linux-gta01_2.6.17.14.bb    (working copy)
> @@ -16,7 +16,7 @@
>  # source and patches
>  #
>  SRC_URI = "http://ftp.de.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.14.tar.bz2 \
> -           svn://svn.openmoko.org/trunk/src/target/kernel;module=patches;proto=http \
> +           svn://svn.openmoko.org/branches/src/target/kernel/2.6.17.14;rev=1003;module=patches;proto=http \
>             file://defconfig-${MACHINE}"
>  S = "${WORKDIR}/linux-2.6.17.14"
> 

The 'rev=1003' is there because otherwise SRCDATE is used to check out
the patches, and that branch did not exist on SRCDATE = "20060814".

If you were using a previous version of MokoMakefile ("make
check-makefile" will tell you if you have the latest or not), then just
run "make update-makefile ; make setup" and restart your build.

-- Rod



More information about the openmoko-devel mailing list