3 IMAGE_BASENAME = "openslug"
8 OPENSLUG_HIDDEN_PACKAGES = "ipkg-native ipkg-utils-native fakeroot-native ${PATCH_DEPENDS} virtual/armeb-linux-uclibc-gcc \
9 virtual/libc makedevs-native mtd-utils-native slugimage-native nslu2-linksys-firmware "
11 DEPENDS = "virtual/kernel base-files base-passwd \
12 busybox dropbear hotplug-ng initscripts-openslug netbase \
13 sysvinit tinylogin portmap \
14 ixp4xx-csr ixp425-eth openslug-init \
15 module-init-tools modutils-initscripts \
16 ipkg-collateral ipkg ipkg-link diffutils \
17 cpio findutils mtd-utils udev \
18 ${OPENSLUG_EXTRA_DEPENDS}"
20 # NOTE: file system kernel modules are defined in openslug.conf
21 # (OPENSLUG_EXTRA_FILESYSTEMS, included in OPENSLUG_EXTRA_INSTALL)
22 # kernel-module-af-packet must be in the image for DHCP to work
23 IPKG_INSTALL = "base-files base-passwd \
24 busybox dropbear hotplug-ng initscripts-openslug netbase \
25 update-modules sysvinit tinylogin portmap \
26 ixp4xx-csr ixp425-eth openslug-init \
27 module-init-tools modutils-initscripts \
28 ipkg-collateral ipkg ipkg-link diffutils \
30 kernel-module-af-packet \
31 kernel-module-netconsole \
32 ${OPENSLUG_EXTRA_INSTALL}"
37 # Don't build openslug images unless we're targeting an nslu2
38 mach = bb.data.getVar("MACHINE", d, 1)
40 raise bb.parse.SkipPackage("OpenSlug only builds for the Linksys NSLU2")