r4010 - branches/src/target/kernel/2.6.24.x/scripts
werner at sita.openmoko.org
werner at sita.openmoko.org
Sat Feb 2 00:46:07 CET 2008
Author: werner
Date: 2008-02-02 00:46:02 +0100 (Sat, 02 Feb 2008)
New Revision: 4010
Added:
branches/src/target/kernel/2.6.24.x/scripts/README
branches/src/target/kernel/2.6.24.x/scripts/update
Modified:
branches/src/target/kernel/2.6.24.x/scripts/build
Log:
Updates "scripts" directory for location under /branches, brought in still
missing files from /trunk.
Added: branches/src/target/kernel/2.6.24.x/scripts/README
===================================================================
--- branches/src/target/kernel/2.6.24.x/scripts/README 2008-02-01 13:47:10 UTC (rev 4009)
+++ branches/src/target/kernel/2.6.24.x/scripts/README 2008-02-01 23:46:02 UTC (rev 4010)
@@ -0,0 +1,30 @@
+Kernel build scripts
+====================
+
+This is a collection of scripts to build the Linux kernel. This is the "manual"
+build process, which only needs a cross-toolchain and u-boot, but nothing else
+from OpenEmbedded or any similar environment.
+
+They're mainly intended as examples for how the process works and aren't
+necessarily useful "as is" for daily work:
+
+build
+ Build the kernel from scratch, using either the latest or some specific
+ version from the ftp.kernel.org kernel (HTTP) and the OpenMoko patches (SVN).
+
+update
+ Update the kernel sources to either the latest or some specific SVN version.
+
+
+Toolchain
+---------
+
+We use the OpenEmbedded EABI toolchain. See
+../../../../../../trunk/src/target/u-boot/scripts/README
+for details.
+
+
+Environment variables
+---------------------
+
+See "build".
Modified: branches/src/target/kernel/2.6.24.x/scripts/build
===================================================================
--- branches/src/target/kernel/2.6.24.x/scripts/build 2008-02-01 13:47:10 UTC (rev 4009)
+++ branches/src/target/kernel/2.6.24.x/scripts/build 2008-02-01 23:46:02 UTC (rev 4010)
@@ -5,7 +5,7 @@
# an example for individual scripts.
#
# This script uses the gnueabi toolchain, see the file
-# ../../u-boot/scripts/README in this
+# ../../../../../../trunk/src/target/u-boot/scripts/README
#
#
# Environment variables:
@@ -26,7 +26,7 @@
# UBOOT_DIR=/wherever/u-boot
#
# SVN_REV, if defined, specifies which SVN revision we use, e.g.,
-# SVN_REV=3950
+# SVN_REV=4009
#
# wget http://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KERNEL}.tar.bz2
Added: branches/src/target/kernel/2.6.24.x/scripts/update
===================================================================
--- branches/src/target/kernel/2.6.24.x/scripts/update 2008-02-01 13:47:10 UTC (rev 4009)
+++ branches/src/target/kernel/2.6.24.x/scripts/update 2008-02-01 23:46:02 UTC (rev 4010)
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+#
+# This script illustrates how to update the Linux kernel to either a specific
+# of the latest OpenMoko version. This is mainly intended as a template for
+# copy & paste, and as an example for individual scripts.
+#
+# See ../../../../../../trunk/src/target/u-boot/scripts/README
+# for the toolchain and ./build for environment variables.
+#
+# We use SVN, KERNEL, and SVN_REV.
+#
+
+cd linux-$KERNEL
+
+# If there are uncommitted changes, "quilt refresh" them first.
+# If the SVN repository has been updated before running this script,
+# "quilt pop -a" may fail, and you have to use "quilt pop -f" or
+# "quilt pop -a -f".
+#
+quilt pop -a
+
+base=$SVN/branches/src/target/kernel/2.6.24.x
+
+defconfig=$base/config/defconfig-$KERNEL
+( cd patches && svn update -r${SVN_REV:-HEAD} . $defconfig; )
+
+quilt push -a
+make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- oldconfig
+make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- uImage
Property changes on: branches/src/target/kernel/2.6.24.x/scripts/update
___________________________________________________________________
Name: svn:executable
+ *
More information about the commitlog
mailing list