summaryrefslogtreecommitdiff
path: root/conf/distro/ucslugc.conf
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-07-31 17:35:04 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-31 17:35:04 +0000
commit4ee908e0d96dae594c302fa8102f0b34563bebb3 (patch)
tree4d98103ea72a34aa0b8207028bb04d650d148e26 /conf/distro/ucslugc.conf
parentc8862168e6398b8ebaca137d175ea5f93f949769 (diff)
Add support for UcSlugC builds.
(1) the 'standard' settings in local.conf.template (from the nslu2-linux.org master makefile) have been folded back into the three distro .conf files. (2) openslug-image now builds for any NSLU2 distro (3) ucslugc configuration added (4) more comments in the openslug and ucslugc configuration files
Diffstat (limited to 'conf/distro/ucslugc.conf')
-rw-r--r--conf/distro/ucslugc.conf95
1 files changed, 95 insertions, 0 deletions
diff --git a/conf/distro/ucslugc.conf b/conf/distro/ucslugc.conf
new file mode 100644
index 0000000000..af812922be
--- /dev/null
+++ b/conf/distro/ucslugc.conf
@@ -0,0 +1,95 @@
+#@TYPE: Distribution
+#@NAME: UcSlugC
+#@DESCRIPTION: UcSlugC Linux Distribution for the NSLU2
+
+#----------------------------------------------------------------------------------
+# STANDARD UcSlugC DEFINITIONS
+#----------------------------------------------------------------------------------
+DISTRO_NAME = "UcSlugC"
+DISTRO_VERSION = "1-beta"
+DISTRO_TYPE ?= "beta"
+
+TARGET_FPU = "soft"
+TARGET_OS = "linux-uclibc"
+
+USE_NLS ?= "no"
+USE_NLS_glib-2.0 = "yes"
+
+INHERIT += " package_ipk debian nslu2_flashimg"
+
+# The OVERRIDES are modified here so that 'openslug' overrides are picked up if
+# present (ucslugc overrides take precedence)
+OVERRIDES = "local:${MACHINE}:${DISTRO}:openslug:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}"
+
+# NOTE: to build new packages set UCSLUGC_EXTRA_BBFILES to the full path name to
+# the .bb files for the packages to build - see ucslugc-packages.conf in this
+# directory
+OPENSLUG_UCSLUGC_BBFILES ?= ""
+
+# pull in the frozen list of bbfiles - this sets BBFILES and this will override any
+# setting in local.conf
+include conf/distro/freeze.conf
+
+#----------------------------------------------------------------------------------
+# FEEDS
+# The following lines define where on the internet UcSlugC looks for packages
+# when downloading new packages or updating existing packages. Additional feeds
+# (such as a local feed) can be defined in local.conf
+#----------------------------------------------------------------------------------
+# Add to the user's feeds from local.conf (there may be none)
+FEED_URIS_append_linux += "cross##http://ipkg.nslu2-linux.org/feeds/ucslugc/cross/${DISTRO_VERSION}"
+FEED_URIS_append_linux += "native##http://ipkg.nslu2-linux.org/feeds/ucslugc/native/${DISTRO_VERSION}"
+
+#
+# Uncomment the following to get the unstable feeds
+#FEED_URIS_append_linux += "unstable_cross##http://ipkg.nslu2-linux.org/feeds/ucslugc/cross/unstable"
+#FEED_URIS_append_linux += "unstable_native##http://ipkg.nslu2-linux.org/feeds/ucslugc/native/unstable"
+
+#----------------------------------------------------------------------------------
+# FIRMWARE CONFIGURATION
+#----------------------------------------------------------------------------------
+# IMAGE BUILD OPTIONS
+# -------------------
+IMAGE_FSTYPES = "jffs2"
+
+OPENSLUG_DEVICE_TABLE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/device_table-openslug.txt')}"
+EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x20000 -D ${OPENSLUG_DEVICE_TABLE}"
+
+# CMDLINE* macros define the kernel command line. CMDLINE_DEBUG is provided
+# to enable/disable debugging in the distro. Here noirqdebug is used to
+# remove the messages about unhandled interrupts - people debugging interrupt
+# issues in the kernel need to cancel this (set CMDLINE_DEBUG empty in local.conf)
+CMDLINE_DEBUG = "noirqdebug"
+
+# EXTRA PACKAGES
+# --------------
+# UcSlugC builds an openslug-image with no extra packages - to add packages to the
+# firmware copy this file (to make a new 'distro' configuration file) and change
+# the definition below to include the requirements.
+# NOTE: as built this system will *not* be able to boot off anything other than
+# the flash file system ('turnup' will not work). You need to add the filesystem
+# modules for your chosen root file system (and any others which will be used).
+# See openslug.conf for a more full-featured system!
+UCLIBC_EXTRA_RDEPENDS ?= ""
+UCLIBC_EXTRA_DEPENDS ?= ""
+#UCLIBC_EXTRA_BBFILES above may also need to be set
+
+OPENSLUG_EXTRA_INSTALL = "${UCLIBC_EXTRA_RDEPENDS}"
+OPENSLUG_EXTRA_DEPENDS = "${UCLIBC_EXTRA_DEPENDS}"
+
+#----------------------------------------------------------------------------------
+# PACKAGE VERSION CONTROL
+#----------------------------------------------------------------------------------
+# Select the correct versions of the compiler tools (note that there
+# is also some selection in machine/nslu2.conf)
+PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
+PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
+PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
+
+# Select the correct versions of the kernel and modules
+PREFERRED_PROVIDER_virtual/kernel ?= "openslug-kernel"
+PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
+PREFERRED_VERSION_openslug-kernel ?= "2.6.12.2"
+
+PREFERRED_VERSION_ixp4xx-csr ?= "1.4"
+PREFERRED_VERSION_ixp425-eth ?= "1.1"