summaryrefslogtreecommitdiff
path: root/conf/machine
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-06-12 21:40:09 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-06-12 21:40:09 +0000
commit9275be14b544aea8fd376a6602d21669404c5093 (patch)
treebb5d9c26304602a2ae3eee4e9bfbb5302d99c1c3 /conf/machine
parent76b46a7fc3c1c66dd8b6cd6769a6ec501523c758 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/06/12 23:35:14+02:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/06/12 22:51:57+02:00 (none)!br1 wrt cleanup 2005/06/12 22:49:31+02:00 (none)!br1 Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into null.(none):/data/mtx/src/build/unstable.wrt/openembedded 2005/06/12 22:02:49+02:00 (none)!br1 add squashfs-lzma patches for smaller wrt images 2005/06/12 17:25:32+02:00 (none)!br1 wrt updates: create squashfs and jffs2 images 2005/06/12 16:35:25+02:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/06/12 14:43:00+02:00 uni-frankfurt.de!mickeyl pygtk rdepends on python-shell BKrev: 42acabb9DYchxo1fFJnbe2sjmsq4GQ
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/wrt54.conf22
1 files changed, 18 insertions, 4 deletions
diff --git a/conf/machine/wrt54.conf b/conf/machine/wrt54.conf
index 4df924d07c..856ca97013 100644
--- a/conf/machine/wrt54.conf
+++ b/conf/machine/wrt54.conf
@@ -8,12 +8,26 @@ IPKG_ARCHS = "all mipsel ${MACHINE}"
SERIAL_CONSOLE = "tts/0"
-BOOTSTRAP_EXTRA_DEPENDS = "virtual/kernel"
-BOOTSTRAP_EXTRA_RDEPENDS = "kernel-module-wl kernel-module-et kernel-module-wlcompat wrt-init wrt-utils"
-BOOTSTRAP_EXTRA_RRECOMMENDS = ""
+BOOTSTRAP_EXTRA_DEPENDS += "virtual/kernel"
+BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-wl kernel-module-et kernel-module-wlcompat"
+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"
-INHERIT += "wrt-image" \ No newline at end of file
+# 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:
+DEPENDS += "elfkickers-native"
+export STRIP = "sstrip" \ No newline at end of file