#----------------------------------------------------------------------------- #@TYPE: Distribution #@NAME: Minimal #@DESCRIPTION: Embedded Linux Distribution Configuration (minimal) # #@COMMENT: This distribution configuration serves as a starting point for #@COMMENT: the integration of new target platforms, machines, or distributions. #@COMMENT: It bases on conservative settings and should always be buildable. #----------------------------------------------------------------------------- # # Header # DISTRO_NAME = "minimal-glibc" DISTRO_VERSION = ".dev-snapshot-${SRCDATE}" #DISTRO_TYPE = "release" DISTRO_TYPE = "debug" # # Naming schemes # INHERIT += "debian" # # Packaging and output format # INHERIT += "package_ipk" IMAGE_FSTYPES ?= "tar.gz ext2.gz jffs2" # # Kernel # KERNEL = "kernel26" MACHINE_KERNEL_VERSION = "2.6" # # Binutils & Compiler # PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial" PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "gcc-cross-intermediate" PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross" PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross" PREFERRED_PROVIDER_virtual/arm-linux-binutils = "binutils-cross" PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers" PREFERRED_VERSION_gcc ?= "4.3.3" PREFERRED_VERSION_gcc-cross ?= "4.3.3" PREFERRED_VERSION_gcc-cross-initial ?= "4.3.3" PREFERRED_VERSION_gcc-cross-intermediate ?= "4.3.3" PREFERRED_VERSION_binutils ?= "2.18" PREFERRED_VERSION_binutils-cross ?= "2.18" # # Target OS & FPU system # TARGET_OS = "linux" TARGET_FPU_arm = "soft" TARGET_FPU_armeb = "soft" # # C library # PREFERRED_PROVIDER_virtual/libiconv = "glibc" PREFERRED_PROVIDER_virtual/libintl = "glibc" PREFERRED_PROVIDER_virtual/libc = "glibc" PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "glibc" PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers" PREFERRED_VERSION_linux-libc-headers ?= "2.6.23" PREFERRED_VERSION_glibc ?= "2.6.1" # # Bootstrap & Init # PREFERRED_PROVIDER_task-bootstrap = "task-bootstrap" # # # PREFERRED_PROVIDER_gconf = "gconf-dbus" PREFERRED_PROVIDER_gtk+ = "gtk+" PREFERRED_PROVIDER_libgpewidget = "libgpewidget" PREFERRED_PROVIDER_virtual/libsdl = "libsdl-x11" PREFERRED_PROVIDER_avahi = "avahi" PREFERRED_PROVIDER_virtual/db = "db3" PREFERRED_PROVIDER_virtual/db-native = "db3-native" #NOTE: multiple providers are available for virtual/arm-linux-libc-initial (glibc-initial, eglibc-initial); #NOTE: consider defining PREFERRED_PROVIDER_virtual/arm-linux-libc-initial # # Preferred versions # require conf/distro/include/sane-srcdates.inc require conf/distro/include/sane-srcrevs.inc PREFERRED_PROVIDER_virtual/libx11 ?= "libx11" require conf/distro/include/preferred-xorg-versions-X11R7.4.inc