changeset 585:dd03aa5996e6

Two more $ARCH->$ARCH_NAME changes for hw- targets, add another example to config, and make hw-wrt610n build.
author Rob Landley <rob@landley.net>
date Tue, 13 Jan 2009 18:35:25 -0600
parents 26a5ac0c01ce
children c9c7420e952b
files config run-from-build.sh sources/include.sh sources/targets/hw-wrt610n/details
diffstat 4 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/config	Tue Jan 13 18:32:38 2009 -0600
+++ b/config	Tue Jan 13 18:35:25 2009 -0600
@@ -23,6 +23,11 @@
 
 # export CROSS_BUILD_STATIC=1
 
+# This may be set by the target's "details" file, but you can override it here.
+# You can set it to ext2, initramfs, or squashfs.  It defaults to ext2 if blank.
+
+# export SYSIMAGE_TYPE=ext2
+
 # If this is set, try downloading packages from this location first.
 
 # export PREFERRED_MIRROR=http://landley.net/code/firmware/mirror
--- a/run-from-build.sh	Tue Jan 13 18:32:38 2009 -0600
+++ b/run-from-build.sh	Tue Jan 13 18:35:25 2009 -0600
@@ -4,7 +4,7 @@
 source sources/include.sh
 PATH="$SAVEPATH"
 
-cd "${BUILD}/system-image-$ARCH" || exit 1
+cd "${BUILD}/system-image-$ARCH_NAME" || exit 1
 
 # A little paranoia.
 fsck.ext2 -y "image-${ARCH}.ext2" </dev/null
--- a/sources/include.sh	Tue Jan 13 18:32:38 2009 -0600
+++ b/sources/include.sh	Tue Jan 13 18:35:25 2009 -0600
@@ -77,7 +77,7 @@
 
   # Which platform are we building for?
 
-  export WORK="${BUILD}/temp-$ARCH"
+  export WORK="${BUILD}/temp-$ARCH_NAME"
   rm -rf "${WORK}"
   mkdir -p "${WORK}" || dienow
 
--- a/sources/targets/hw-wrt610n/details	Tue Jan 13 18:32:38 2009 -0600
+++ b/sources/targets/hw-wrt610n/details	Tue Jan 13 18:35:25 2009 -0600
@@ -3,4 +3,4 @@
 ARCH=mipsel
 source "$CONFIG_DIR/$ARCH/details"
 
-KERNEL_PATH=thingy
+KERNEL_PATH=vmlinux