aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/nonworking/wrt54.conf
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2011-04-24 01:15:07 +0200
committerAndrea Adami <andrea.adami@gmail.com>2011-04-24 01:15:07 +0200
commit7782e6b485e565285a13fb8a42028194e1386032 (patch)
tree2c1824955c61fde01ea7f94a0d0f843441877411 /conf/machine/nonworking/wrt54.conf
parent6bcdb69fb9dd46e41478cefc35557d2a951a3851 (diff)
downloadopenembedded-7782e6b485e565285a13fb8a42028194e1386032.tar.gz
wrt54: move machine to nonworking (using 2.4 kernel)
* we do actually support 2.6 kernels only Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'conf/machine/nonworking/wrt54.conf')
-rw-r--r--conf/machine/nonworking/wrt54.conf33
1 files changed, 33 insertions, 0 deletions
diff --git a/conf/machine/nonworking/wrt54.conf b/conf/machine/nonworking/wrt54.conf
new file mode 100644
index 0000000000..1b07df2666
--- /dev/null
+++ b/conf/machine/nonworking/wrt54.conf
@@ -0,0 +1,33 @@
+#@TYPE: Machine
+#@NAME: Linksys WRT54G(S)
+#@DESCRIPTION: Machine configuration for the MIPS based WRT54G(S) devices
+
+TARGET_ARCH = "mipsel"
+
+SERIAL_CONSOLE = "tts/0"
+
+#FIXME loader should perhaps be an EXTRA_IMAGEDEPENDS?
+#BOOTSTRAP_EXTRA_DEPENDS += "loader"
+BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-wl kernel-module-et kernel-module-wlcompat kernel-module-diag"
+BOOTSTRAP_EXTRA_RDEPENDS += "wrt-init wrt-utils"
+BOOTSTRAP_EXTRA_RRECOMMENDS += ""
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-wrt"
+
+# build jffs2 and squashfs-lzma images
+IMAGE_FSTYPES = "squashfs-lzma jffs2"
+
+EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --squash --eraseblock=0x10000 -n"
+
+# squashfs-lzma image type (could be in bitbake.conf like the others)
+IMAGE_DEPENDS_squashfs-lzma = "squashfs-tools-native"
+IMAGE_CMD_squashfs-lzma = "mksquashfs-lzma ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs-lzma ${EXTRA_IMAGECMD} -noappend"
+EXTRA_IMAGECMD_squashfs-lzma = "-root-owned -le"
+
+# build trx images
+INHERIT += "wrt-image"
+
+# strip even more:
+# would be nice but breaks automatic shared library dependencies
+#DEPENDS_prepend = "${@["elfkickers-native ", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
+#export STRIP = "sstrip"