This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
#@TYPE: Machine |
| 2 |
#@NAME: Linksys WRT54G(S) |
| 3 |
#@DESCRIPTION: Machine configuration for the MIPS based WRT54G(S) devices |
| 4 |
|
| 5 |
TARGET_ARCH = "mipsel" |
| 6 |
|
| 7 |
SERIAL_CONSOLE = "tts/0" |
| 8 |
|
| 9 |
#FIXME loader should perhaps be an EXTRA_IMAGEDEPENDS? |
| 10 |
#BOOTSTRAP_EXTRA_DEPENDS += "loader" |
| 11 |
BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-wl kernel-module-et kernel-module-wlcompat kernel-module-diag" |
| 12 |
BOOTSTRAP_EXTRA_RDEPENDS += "wrt-init wrt-utils" |
| 13 |
BOOTSTRAP_EXTRA_RRECOMMENDS += "" |
| 14 |
|
| 15 |
PREFERRED_PROVIDER_virtual/kernel = "linux-wrt" |
| 16 |
|
| 17 |
# build jffs2 and squashfs-lzma images |
| 18 |
IMAGE_FSTYPES = "squashfs-lzma jffs2" |
| 19 |
|
| 20 |
EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --squash --eraseblock=0x10000 -n" |
| 21 |
|
| 22 |
# squashfs-lzma image type (could be in bitbake.conf like the others) |
| 23 |
IMAGE_DEPENDS_squashfs-lzma = "squashfs-tools-native" |
| 24 |
IMAGE_CMD_squashfs-lzma = "mksquashfs-lzma ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs-lzma ${EXTRA_IMAGECMD} -noappend" |
| 25 |
EXTRA_IMAGECMD_squashfs-lzma = "-root-owned -le" |
| 26 |
|
| 27 |
# build trx images |
| 28 |
INHERIT += "wrt-image" |
| 29 |
|
| 30 |
# strip even more: |
| 31 |
# would be nice but breaks automatic shared library dependencies |
| 32 |
#DEPENDS_prepend = "${@["elfkickers-native ", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}" |
| 33 |
#export STRIP = "sstrip" |