summaryrefslogtreecommitdiff
path: root/conf/distro
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2004-11-17 09:48:45 +0000
committerRod Whitby <rod@whitby.id.au>2004-11-17 09:48:45 +0000
commitf6d4b62dacd2b2a0e5a3479b2c890a9433030116 (patch)
tree0e7d97f7c66a4621246dab8146aaf3a66bb11714 /conf/distro
parentc12b697c467d918c9ed2070de29391998157a7ac (diff)
Changed openslug device_table from minimal to nslu2.
BKrev: 419b1e7dy7u5G4zIo_qeRzoq8Z0MXQ
Diffstat (limited to 'conf/distro')
-rw-r--r--conf/distro/openslug.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/distro/openslug.conf b/conf/distro/openslug.conf
index b8ec8df817..7d3694b714 100644
--- a/conf/distro/openslug.conf
+++ b/conf/distro/openslug.conf
@@ -9,8 +9,9 @@ INHERIT += " package_ipk debian nslu2_flashimg"
IMAGE_FSTYPES = "ext2.gz jffs2"
-EXTRA_IMAGECMD_ext2.gz = "-f ${IMAGE_DEVICE_TABLE}"
-EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x20000 -D ${IMAGE_DEVICE_TABLE}"
+OPENSLUG_DEVICE_TABLE = "${@oe.which(oe.data.getVar('OEPATH', d, 1), 'files/device_table-nslu2.txt')}"
+EXTRA_IMAGECMD_ext2.gz = "-f ${OPENSLUG_DEVICE_TABLE}"
+EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x20000 -D ${OPENSLUG_DEVICE_TABLE}"
BOOTSTRAP_EXTRA_DEPENDS += "virtual/kernel module-init-tools"
BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-usbnet kernel-module-usbserial \