3 #@DESCRIPTION: OpenSlug Linux Distribution for the NSLU2
5 #----------------------------------------------------------------------------------
6 # STANDARD OpenSlug DEFINITIONS
7 #----------------------------------------------------------------------------------
8 DISTRO_NAME = "OpenSlug"
9 # DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}"
10 # DISTRO_FEED = "unstable"
12 SLUGOS_IMAGENAME = "openslug"
13 SLUGOS_IMAGESEX = "big-endian"
15 # openslug builds a complete image (not just the parts)
16 SLUGOS_FLASH_IMAGE = "nslu2"
18 # NOTE: to build new packages set OPENSLUG_EXTRA_BBFILES to the full path name to
19 # the .bb files for the packages to build - see ucslugc-packages.conf in this
21 OPENSLUG_EXTRA_BBFILES ?= ""
23 #----------------------------------------------------------------------------------
24 # FIRMWARE CONFIGURATION
25 #----------------------------------------------------------------------------------
28 # Filesystem support modules are listed in here for easy removal,
29 # as is the lrzsz serial package and other kernel modules which are
30 # not absolutely required for boot.
31 # NOTE: only jffs2 support is an absolute requirement of boot, even
32 # the ext2/ext3 support is optional!
33 OPENSLUG_EXT2_PROGS = "e2fsprogs-mke2fs e2fsprogs-fsck e2fsprogs-e2fsck e2fsprogs-badblocks"
34 OPENSLUG_REISER_PROGS = "reiserfsprogs"
36 # The standard firmware contents and additional packages built as requirements
37 # of the firmware are defined here in OPENSLUG_STANDARD_RDEPENDS and
38 # OPENSLUG_STANDARD_DEPENDS respectively.
39 OPENSLUG_STANDARD_RDEPENDS = ""
41 # Support for a variety of file systems is built in to the openslug
42 # image, programs to format disks with these file systems may be
43 # added or removed. By default ext2. ext3 and reiserfs supported
44 # is included by the following lines.
46 # These lines add support for formatting ext2 and ext3 file systems
47 # on a hard disk attached to the NSLU2. ext3 is the standard Linux
49 OPENSLUG_STANDARD_RDEPENDS += "${OPENSLUG_EXT2_PROGS}"
51 # These lines add support for formatting reiserfs file systems on
53 OPENSLUG_STANDARD_RDEPENDS += "${OPENSLUG_REISER_PROGS}"
55 # These lines add support for an X/Y/ZModem package called lrzsz
56 # (this is of use for people with modified NSLU2 hardware which
57 # supports a serial port.)
58 OPENSLUG_STANDARD_RDEPENDS += "lrzsz"
60 # Filesystem selection. Adding entries here adds the module to the
61 # image. The module must be built as part of nslu2-kernel (i.e. it
62 # must be specified as a module in the defconfig file). The NLS
63 # support charset modules must be given explicitly and must match
64 # the codepage/iocharset and NLS handling for the file systems which
65 # require them. The installed lanugage set is minimal but sufficient
66 # for any file system (since it uses utf8). See
67 # http://www.nslu2-linux.orgwiki/HowTo/MountFATFileSystems
68 # for more information on the language behaviour of the DOS file
71 # KERNEL LEVEL FILE SYSTEM SUPPORT
72 # --------------------------------
73 # NOTE: removing kernel-module-nfs from this list will prevent NFS
74 # boot (however you can do a simple flash file system boot - no
75 # attached disk - and install the nfs modules from ssh.)
76 OPENSLUG_STANDARD_RDEPENDS += "\
84 kernel-module-reiserfs \
85 kernel-module-nls-cp437 \
86 kernel-module-nls-utf8 \
89 # Add module to create i2c chardev
90 OPENSLUG_STANDARD_RDEPENDS += "\
91 kernel-module-i2c-dev \
94 # Add module & daemon required for HW RNG support
95 OPENSLUG_STANDARD_RDEPENDS += "\
96 kernel-module-ixp4xx-rng \
100 # Add modules required for usb support
101 OPENSLUG_STANDARD_RDEPENDS += "\
102 kernel-module-usbcore \
103 kernel-module-ohci-hcd \
104 kernel-module-ehci-hcd \
105 kernel-module-uhci-hcd \
106 kernel-module-scsi-mod \
107 kernel-module-sd-mod \
108 kernel-module-usb-storage \
111 # Add modules required for IDE support
112 OPENSLUG_STANDARD_RDEPENDS += "\
113 kernel-module-libata \
114 kernel-module-pata-artop \
117 # This documents other file systems which are built but not installed
118 # by default in the flash image.
120 # kernel-module-msdos - mounts a FAT file system without long file names
121 # (use kernel-module-vfat, it shows the long names
124 # The 'standard' values are the defaults for the 'extra' packages added
125 # to the firmware image. None of these things are requirements to have
126 # a bootable, useable, system however they *are* expected to be present
127 # in OpenSlug - see nslu2-bag for a more minimal configuration and some
128 # more instructions about how to make a non-openslug image.
129 OPENSLUG_EXTRA_RDEPENDS ?= ""
130 SLUGOS_EXTRA_RDEPENDS = "${OPENSLUG_STANDARD_RDEPENDS} ${OPENSLUG_EXTRA_RDEPENDS}"
132 #----------------------------------------------------------------------------------
133 # PACKAGE VERSION CONTROL
134 #----------------------------------------------------------------------------------
135 PREFERRED_VERSION_nslu2-linksys-firmware ?= "2.3r63"
137 #----------------------------------------------------------------------------------
138 # BASE VERSION SELECTION
139 #----------------------------------------------------------------------------------
141 # a - ARM instruction set
144 require conf/distro/slugos-bag.conf