summaryrefslogtreecommitdiff
path: root/conf/distro
diff options
context:
space:
mode:
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 \