############################################################################# #@TYPE: Distribution #@NAME: Micro #@DESCRIPTION: Micro Linux Distribution (glibc 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}" ############################################################################# # TARGET OS ############################################################################# # Linux TARGET_OS = "linux" ############################################################################# # DISTRO FEATURE SELECTION ############################################################################# # No features selected DISTRO_FEATURES = "" ############################################################################# # LIBRARY NAMES ############################################################################# # Use Debian naming scheme for library (.so) files INHERIT += "debian" ############################################################################# # PACKAGING & FEEDS ############################################################################# # Select packaging system PREFERRED_PKG_FORMAT = "ipk" IPKG_VARIANT = "opkg-nogpg" 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 = "glibc" require conf/distro/include/sane-toolchain.inc ############################################################################# # OVERRIDES adjusted from bitbake.conf to feature the MACHINE_CLASS ############################################################################# OVERRIDES = "local:${MACHINE}:${MACHINE_CLASS}:${DISTRO}:${TARGET_OS}:\ ${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}" ############################################################################# # PREFERRED PROVIDERS ############################################################################# PREFERRED_PROVIDER_task-bootstrap = "task-bootstrap" PREFERRED_PROVIDER_virtual/libintl = "glibc" ############################################################################# # PREFERRED VERSIONS ############################################################################# require conf/distro/include/sane-srcdates.inc require conf/distro/include/sane-srcrevs.inc ############################################################################# # 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 / layout_prefix = "" layout_exec_prefix = "" # Don't install ldconfig and associated gubbins USE_LDCONFIG = "0" # Disable online package management ONLINE_PACKAGE_MANAGEMENT = "none"