aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo S. Mavridis Bartolome <angelo@pynell.com>2010-11-02 00:48:41 +0000
committerPaul Eggleton <bluelightning@bluelightning.org>2010-11-02 00:50:50 +0000
commit7c9258f655a05feec16158d3d7d46757c3dccad2 (patch)
tree4d6cc93d425679c39ada93a97c06bbc4a56fe279
parent4a001e542a980bda4e71e205ee43ccb587fc5066 (diff)
downloadopenembedded-7c9258f655a05feec16158d3d7d46757c3dccad2.zip
openembedded-7c9258f655a05feec16158d3d7d46757c3dccad2.tar.gz
openembedded-7c9258f655a05feec16158d3d7d46757c3dccad2.tar.bz2
add metano linux distribution
Signed-off-by: Angelo S. Mavridis Bartolome <angelo@pynell.com>
-rw-r--r--conf/distro/metano.conf133
1 files changed, 133 insertions, 0 deletions
diff --git a/conf/distro/metano.conf b/conf/distro/metano.conf
new file mode 100644
index 0000000..9bab8d9
--- /dev/null
+++ b/conf/distro/metano.conf
@@ -0,0 +1,133 @@
+#@--------------------------------------------------------------------
+#@TYPE: Distribution
+#@NAME: Metano Linux <http://www.pynell.com>
+#@DESCRIPTION: Metano Linux configuration file to distro version Metano PD ( Metano Packages Development )
+#@MAINTAINER: Angelo 'Angelox_123' S. Mavridis Bartolome <angelo@pynell.com>
+#@MAINTAINER: Hong 'penghb' Bo Peng <winice@sina.com>
+#@MAINTAINER: Saurabh 'pr0d1gy' Singh <satan.com@gmail.com>
+#@--------------------------------------------------------------------
+# This is the Metano PD Distro configuration file
+# Use it for packages and images,development and
+# system tasks
+
+DISTRO_NAME ?= "Metano-Linux"
+DISTRO_VERSION = "${SRCDATE}"
+DISTRO_TYPE = "debug"
+
+
+DISTRO_CHECK := "${@bb.data.getVar('DISTRO_VERSION',d,1) or bb.fatal('Remove this line or set a dummy DISTRO_VERSION')}"
+
+#############################################################################
+# FEATURE SELECTION OF SYSTEM
+#############################################################################
+# Use bluetooth 4.0
+DISTRO_BLUETOOTH_MANAGER = "bluez4"
+PREFERRED_PROVIDER_bluez-utils-dbus = "bluez4"
+PREFERRED_PROVIDER_bluez-libs = "bluez-libs"
+PREFERRED_PROVIDER_bluez-utils = "bluez4"
+
+
+DISTRO_FEATURES = "ipv4 ipv6 nfs smbfs wifi ppp alsa ext2 vfat pcmcia usbgadget usbhost pci"
+DISTRO_FEATURES += "eabi"
+DISTRO_FEATURES += "mplt"
+DISTRO_FEATURES += ' ${@["", "thumb-interwork"][bb.data.getVar('THUMB_INTERWORK', d, 1) == "yes"]}'
+IMAGE_LINGUAS = '${@base_less_or_equal("ROOT_FLASH_SIZE", "16", "", "en-us", d)}'
+
+#############################################################################
+# LIBRARY NAMES
+#############################################################################
+
+INHERIT += "debian"
+
+#############################################################################
+# PACKAGING SYSTEM
+#############################################################################
+# Packaging system
+
+INHERIT += "package_ipk"
+IMAGE_FSTYPES ?= "tar.gz"
+PREFERRED_PKG_FORMAT ?= "ipk"
+
+INHERIT += "src_distribute_local"
+SRC_DIST_LOCAL ?= "symlink"
+
+IPKG_VARIANT = "opkg"
+
+#############################################################################
+# IMAGES CONFIGURATION
+#############################################################################
+IMAGE_NAME = "Metano_Linux-PD.Edition-${DISTRO_VERSION}-${MACHINE}"
+
+CACHE = "${TMPDIR}/cache/${LIBC}/${MACHINE}"
+DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}"
+DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"
+SPLASH ?= '${@base_contains("MACHINE_FEATURES", "screen", "psplash", "",d)}'
+PREFERRED_PROVIDER_virtual/psplash = "psplash"
+
+EXTRA_IMAGECMD_ext2 = "-i 8192"
+
+#############################################################################
+# KERNEL CHANGES
+#############################################################################
+KERNEL = "kernel26"
+MACHINE_KERNEL_VERSION = "2.6"
+
+#############################################################################
+# Ensure MACHINE_CLASS is in OVERRIDES
+#############################################################################
+MACHINE_CLASS ?= ""
+MACHINE_OVERRIDES += "${MACHINE_CLASS}"
+
+#############################################################################
+# TOOLCHAIN SELECTION
+#############################################################################
+LIBC ?= "eglibc"
+require conf/distro/include/sane-toolchain.inc
+require conf/distro/include/arm-thumb.inc
+
+#############################################################################
+# PREFERRED VERSIONS
+#############################################################################
+require conf/distro/include/sane-srcdates.inc
+require conf/distro/include/sane-srcrevs.inc
+require conf/distro/include/preferred-e-versions.inc
+require conf/distro/include/preferred-opie-versions-1.2.4.inc
+require conf/distro/include/preferred-xorg-versions-X11R7.5.inc
+
+PREFERRED_PROVIDER_opkg ?= "opkg"
+PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg"
+XSERVER ?= "xserver-xorg xf86-input-evdev xf86-input-keyboard xf86-input-mouse xf86-video-fbdev"
+
+#############################################################################
+# CONTENTS OF PACKAGE
+#############################################################################
+# Now you will can change the default things that'll be included on your image
+
+DISTRO_EXTRA_APPS ?= ""
+DISTRO_EXTRA_APPS += '${@base_conditional("DISTRO_TYPE", "release", "", "task-cli-tools-debug",d)}'
+
+
+DISTRO_EXTRA_RDEPENDS += "\
+ distro-feed-configs \
+ util-linux-ng-mount util-linux-ng-umount \
+ angstrom-libc-fixup-hack \
+ ${DISTRO_EXTRA_APPS} \
+"
+
+DISTRO_EXTRA_RRECOMMENDS += " \
+ kernel-module-vfat \
+ kernel-module-ext2 \
+ kernel-module-ext3 \
+ kernel-module-af-packet \
+ mplayer \
+ alsa-lib \
+ alsa-utils \
+ nano \
+ gpe-filemanager \
+ gpe-mini-browser \
+ ${XSERVER} \
+ avahi-daemon \
+ avahi-autoipd \
+ openssh-sftp-server \
+"
+