summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/openslug.conf17
-rw-r--r--conf/distro/unslung.conf2
2 files changed, 14 insertions, 5 deletions
diff --git a/conf/distro/openslug.conf b/conf/distro/openslug.conf
index 78a6975b66..f49eba243f 100644
--- a/conf/distro/openslug.conf
+++ b/conf/distro/openslug.conf
@@ -7,19 +7,28 @@ TARGET_OS = "linux-uclibc"
INHERIT += " package_ipk debian nslu2_flashimg"
-IMAGE_FSTYPES = "ext2.gz jffs2"
+IMAGE_FSTYPES = "jffs2"
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 \
+OPENSLUG_EXTRA_DEPENDS += "virtual/kernel module-init-tools"
+OPENSLUG_EXTRA_RDEPENDS += "kernel-module-usbnet kernel-module-usbserial \
kernel-module-usbcore kernel-module-usb-storage kernel-module-ohci-hcd \
kernel-module-pegasus kernel-module-p8022 kernel-module-kaweth \
kernel-module-ehci-hcd \
kernel-module-scsi-mod kernel-module-sd-mod kernel-module-ext3 kernel-module-jbd \
module-init-tools"
+OPENSLUG_EXTRA_INSTALL += "kernel-module-usbnet kernel-module-usbserial \
+kernel-module-usbcore kernel-module-usb-storage kernel-module-ohci-hcd \
+kernel-module-pegasus kernel-module-p8022 kernel-module-kaweth \
+kernel-module-ehci-hcd \
+kernel-module-scsi-mod kernel-module-sd-mod kernel-module-ext3 kernel-module-jbd \
+module-init-tools"
+
+BOOTSTRAP_EXTRA_DEPENDS += "${OPENSLUG_EXTRA_DEPENDS}"
+BOOTSTRAP_EXTRA_RDEPENDS += "${OPENSLUG_EXTRA_RDEPENDS}"
+
PREFERRED_PROVIDER_virtual/kernel ?= "openslug-kernel"
PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
diff --git a/conf/distro/unslung.conf b/conf/distro/unslung.conf
index b005eb398f..dc06b61c68 100644
--- a/conf/distro/unslung.conf
+++ b/conf/distro/unslung.conf
@@ -8,7 +8,7 @@ TARGET_OS = "linux"
INHERIT += " package_ipk nslu2_flashimg"
IMAGE_FSTYPES = "ext2.gz jffs2"
-
+NSLU2_BUILD_RAMDISK_FIRMWARE = 1
UNSLUNG_DEVICE_TABLE = "${@oe.which(oe.data.getVar('OEPATH', d, 1), 'files/device_table-unslung.txt')}"
EXTRA_IMAGECMD_ext2.gz = "-f ${UNSLUNG_DEVICE_TABLE}"
EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x20000 -D ${UNSLUNG_DEVICE_TABLE}"