summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-06-21 14:31:15 +0000
committerKoen Kooi <koen@openembedded.org>2007-06-21 14:31:15 +0000
commit1e25d5cdbe470c59c67fdfd34d325c3d9fc52879 (patch)
treedc229e916317edeee2b8458e25da037c9a33a62d
parent95cf12115af421c15c39c79cb86a732e7cfe94b8 (diff)
linux.inc: s/arm/${ARCH}/g
-rw-r--r--packages/linux/linux.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc
index d4f98f0978..3ee5e227f3 100644
--- a/packages/linux/linux.inc
+++ b/packages/linux/linux.inc
@@ -18,7 +18,11 @@ KERNEL_IMAGETYPE_at32stk1000 = "uImage"
KERNEL_IMAGETYPE_at91sam9263ek = "uImage"
# Specify the commandline for you device here:
+
+#boot from mmc
CMDLINE_at91sam9263ek = "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p1 rootfstype=ext2 rootdelay=5"
+#boot from nfs
+#CMDLINE_at91sam9263ek = "mem=64M console=ttyS0,115200 root=301 root=/dev/nfs nfsroot=172.20.3.1:/data/at91 ip=172.20.0.5:::255.255.0.0"
do_configure_prepend() {
echo "" > ${S}/.config
@@ -43,11 +47,11 @@ do_configure_prepend() {
do_install_prepend() {
if test -e arch/${ARCH}/boot/Image ; then
- ln -f arch/arm/boot/Image arch/arm/boot/uImage
+ ln -f arch/${ARCH}/boot/Image arch/${ARCH}/boot/uImage
fi
if test -e arch/${ARCH}/boot/images/uImage ; then
- ln -f arch/arm/boot/images/uImage arch/arm/boot/uImage
+ ln -f arch/${ARCH}/boot/images/uImage arch/${ARCH}/boot/uImage
fi
}