From e736e1ea72bb3ab5a486b0fcf52d9dccaa5b23ac Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Wed, 11 May 2011 17:43:43 +0100 Subject: import --- conf/distro/micro.conf | 101 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 conf/distro/micro.conf (limited to 'conf/distro/micro.conf') diff --git a/conf/distro/micro.conf b/conf/distro/micro.conf new file mode 100644 index 0000000..bb417b1 --- /dev/null +++ b/conf/distro/micro.conf @@ -0,0 +1,101 @@ +############################################################################# +#@TYPE: Distribution +#@NAME: Micro +#@DESCRIPTION: Micro Linux Distribution (eglibc based) +#@MAINTAINER: Martin Lund +#@COMMENT: This distribution configuration defines a truely tiny OE Linux +#@COMMENT: distribution. The matching buildable image target (micro-image) +#@COMMENT: basically consists of: libc, busybox, udev, sysv init, and a few +#@COMMENT: init scripts for running up the system. +############################################################################# + +############################################################################# +# DISTRO CONFIGURATION +############################################################################# +DISTRO_NAME = "micro" +DISTRO_VERSION = "${SRCDATE}" + +############################################################################# +# DISTRO FEATURE SELECTION +############################################################################# +# No features selected +DISTRO_FEATURES += "eabi" + +############################################################################# +# LIBRARY NAMES +############################################################################# +# Use Debian naming scheme for library (.so) files +INHERIT += "debian" + +############################################################################# +# PACKAGING & FEEDS +############################################################################# +# Select packaging system +PREFERRED_PKG_FORMAT = "ipk" +IPKG_VARIANT = "opkg" + +require conf/distro/include/sane-feed.inc +require conf/distro/include/sane-feed-${PREFERRED_PKG_FORMAT}.inc + +############################################################################# +# IMAGES +############################################################################# +# Name generated images +IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${LIBC}-\ +${PREFERRED_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}" + +CACHE ?= "${TMPDIR}/cache/${LIBC}/${MACHINE}" +DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}" +DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}" + +# Image output types +IMAGE_FSTYPES ?= "tar.gz jffs2" + +############################################################################# +# LINUX KERNEL SELECTION +############################################################################# +KERNEL = "kernel26" +MACHINE_KERNEL_VERSION = "2.6" + +############################################################################# +# TOOLCHAIN +############################################################################# +LIBC ?= "eglibc" +PREFERRED_VERSION_glibc ?= "2.10.1" +PREFERRED_VERSION_glibc-initial ?= "2.10.1" +PREFERRED_ARM_INSTRUCTION_SET ?= "thumb" +require conf/distro/include/sane-toolchain.inc +require conf/distro/include/arm-thumb.inc + +############################################################################# +# Ensure MACHINE_CLASS is in OVERRIDES +############################################################################# +MACHINE_CLASS ?= "" +MACHINE_OVERRIDES += "${MACHINE_CLASS}" + +############################################################################# +# NLS +############################################################################# +USE_NLS = "no" +USE_NLS_glib-2.0 = "yes" +USE_NLS_glib-2.0-native = "yes" +USE_NLS_gcc-cross = "no" + +# Disable binary locale generation +ENABLE_BINARY_LOCALE_GENERATION = "0" + +# Don't install useless symlinks to libraries +PACKAGE_SNAP_LIB_SYMLINKS = "1" + +# Collapse /usr into / +prefix = "" +exec_prefix = "" +prefix_native = "" + +# Don't install ldconfig and associated gubbins +USE_LDCONFIG = "0" + +# Disable online package management +ONLINE_PACKAGE_MANAGEMENT = "none" + +DISTRO_BLUETOOTH_MANAGER = "bluez4" -- cgit 1.2.3-korg