summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-11-04 11:51:34 -0600
committerJesse Gilles <jgilles@multitech.com>2014-11-04 11:51:34 -0600
commite243c30f04c18722dc65effe6d4f275a3f35de46 (patch)
tree807610ce8af0ead02681d6c3cc89d902ec941652 /conf
downloadmeta-mlinux-e243c30f04c18722dc65effe6d4f275a3f35de46.tar.gz
meta-mlinux-e243c30f04c18722dc65effe6d4f275a3f35de46.tar.bz2
meta-mlinux-e243c30f04c18722dc65effe6d4f275a3f35de46.zip
initial commit of mLinux layer
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/java.inc9
-rw-r--r--conf/distro/mlinux.conf62
-rw-r--r--conf/layer.conf10
3 files changed, 81 insertions, 0 deletions
diff --git a/conf/distro/java.inc b/conf/distro/java.inc
new file mode 100644
index 0000000..ff620d8
--- /dev/null
+++ b/conf/distro/java.inc
@@ -0,0 +1,9 @@
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
diff --git a/conf/distro/mlinux.conf b/conf/distro/mlinux.conf
new file mode 100644
index 0000000..0b1c18e
--- /dev/null
+++ b/conf/distro/mlinux.conf
@@ -0,0 +1,62 @@
+DISTRO = "mlinux"
+DISTRO_NAME = "mLinux"
+DISTRO_VERSION = "3.0"
+DISTRO_CODENAME = ""
+SDK_VENDOR = "-mlinux"
+SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
+SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
+SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
+
+MAINTAINER = "MultiTech Systems <oe-devel@multitech.net>"
+
+TARGET_VENDOR = "-mlinux"
+
+LOCALCONF_VERSION = "1"
+LAYER_CONF_VERSION ?= "6"
+
+DISTRO_FEATURES_MLINUX = "argp largefile xattr \
+ ipv6 ipsec ppp \
+ bluetooth irda usbgadget usbhost wifi \
+ cramfs ext2 smbfs nfs \
+ libc-crypt pam \
+ sysvinit x11"
+DISTRO_FEATURES ?= "${DISTRO_FEATURES_LIBC} ${DISTRO_FEATURES_MLINUX}"
+
+# disable pulseaudio
+DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
+
+# extra packages to add to images
+DISTRO_EXTRA_RDEPENDS += "mlinux-version"
+
+EXTRAOPKGCONFIG = ""
+
+# don't append to tmpdir
+TCLIBCAPPEND = ""
+
+IPKG_VARIANT = "opkg"
+DEFAULT_TIMEZONE = "America/Chicago"
+
+# default root password
+ROOT_PASSWORD_HASH ?= "e97PZLy9l09O6"
+
+SANITY_TESTED_DISTROS ?= " \
+ Ubuntu-12.04 \n \
+ Ubuntu-13.10 \n \
+ Ubuntu-14.04 \n \
+ Fedora-19 \n \
+ Fedora-20 \n \
+ CentOS-6.4 \n \
+ CentOS-6.5 \n \
+ Debian-7.0 \n \
+ Debian-7.1 \n \
+ Debian-7.2 \n \
+ Debian-7.3 \n \
+ Debian-7.4 \n \
+ SUSE-LINUX-12.2 \n \
+ openSUSE-project-12.3 \n \
+ openSUSE-project-13.1 \n \
+ "
+
+PREFERRED_PROVIDER_jpeg = "jpeg"
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+require java.inc
diff --git a/conf/layer.conf b/conf/layer.conf
new file mode 100644
index 0000000..719bdf9
--- /dev/null
+++ b/conf/layer.conf
@@ -0,0 +1,10 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "mlinux"
+BBFILE_PATTERN_mlinux = "^${LAYERDIR}/"
+BBFILE_PRIORITY_mlinux = "10"