summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-egs
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openbmc-mods/meta-egs')
-rw-r--r--meta-openbmc-mods/meta-egs/conf/bblayers.conf.sample25
-rw-r--r--meta-openbmc-mods/meta-egs/conf/conf-notes.txt6
-rw-r--r--meta-openbmc-mods/meta-egs/conf/layer.conf14
-rw-r--r--meta-openbmc-mods/meta-egs/conf/local.conf.sample29
-rw-r--r--meta-openbmc-mods/meta-egs/conf/machine/intel-ast2600.conf1
5 files changed, 75 insertions, 0 deletions
diff --git a/meta-openbmc-mods/meta-egs/conf/bblayers.conf.sample b/meta-openbmc-mods/meta-egs/conf/bblayers.conf.sample
new file mode 100644
index 000000000..3879d00a1
--- /dev/null
+++ b/meta-openbmc-mods/meta-egs/conf/bblayers.conf.sample
@@ -0,0 +1,25 @@
+# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
+# changes incompatibly
+LCONF_VERSION = "10"
+
+BBPATH = "${TOPDIR}"
+BBFILES ?= ""
+
+BBLAYERS ?= " \
+ ##OEROOT##/meta \
+ ##OEROOT##/meta-poky \
+ ##OEROOT##/meta-openembedded/meta-oe \
+ ##OEROOT##/meta-openembedded/meta-networking \
+ ##OEROOT##/meta-openembedded/meta-perl \
+ ##OEROOT##/meta-openembedded/meta-python \
+ ##OEROOT##/meta-phosphor \
+ ##OEROOT##/meta-aspeed \
+ ##OEROOT##/meta-x86 \
+ ##OEROOT##/meta-openbmc-mods \
+ ##OEROOT##/meta-intel \
+ ##OEROOT##/meta-openbmc-mods/meta-common \
+ ##OEROOT##/meta-openbmc-mods/meta-common-small \
+ ##OEROOT##/meta-openbmc-mods/meta-ast2600 \
+ ##OEROOT##/meta-openbmc-mods/meta-egs \
+ ##OEROOT##/meta-security \
+ "
diff --git a/meta-openbmc-mods/meta-egs/conf/conf-notes.txt b/meta-openbmc-mods/meta-egs/conf/conf-notes.txt
new file mode 100644
index 000000000..91059a72d
--- /dev/null
+++ b/meta-openbmc-mods/meta-egs/conf/conf-notes.txt
@@ -0,0 +1,6 @@
+Common targets are:
+ intel-platforms
+ obmc-phosphor-image
+ qemu-helper-native
+ virtual/kernel
+ phosphor-ipmi-host
diff --git a/meta-openbmc-mods/meta-egs/conf/layer.conf b/meta-openbmc-mods/meta-egs/conf/layer.conf
new file mode 100644
index 000000000..e139b7249
--- /dev/null
+++ b/meta-openbmc-mods/meta-egs/conf/layer.conf
@@ -0,0 +1,14 @@
+LOCALCONF_VERSION = "4"
+# 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 += "egs"
+BBFILE_PATTERN_egs = ""
+BBFILE_PRIORITY_egs = "7"
+LAYERSERIES_COMPAT_egs = "warrior zeus"
+
+PRODUCT_GENERATION = "egs"
diff --git a/meta-openbmc-mods/meta-egs/conf/local.conf.sample b/meta-openbmc-mods/meta-egs/conf/local.conf.sample
new file mode 100644
index 000000000..3cf6a01b3
--- /dev/null
+++ b/meta-openbmc-mods/meta-egs/conf/local.conf.sample
@@ -0,0 +1,29 @@
+MACHINE ??= "intel-ast2600"
+DISTRO ?= "openbmc-phosphor"
+PACKAGE_CLASSES ?= "package_rpm"
+SANITY_TESTED_DISTROS_append ?= " RedHatEnterpriseWorkstation-6.*"
+EXTRA_IMAGE_FEATURES = "debug-tweaks"
+USER_CLASSES ?= "buildstats image-mklibs image-prelink"
+PATCHRESOLVE = "noop"
+
+# PFR image Build
+# Before exporting the conf, please uncomment the below line
+# for building Intel PFR compliant images.
+#IMAGE_FSTYPES += "intel-pfr"
+
+BB_DISKMON_DIRS = "\
+ STOPTASKS,${TMPDIR},1G,100K \
+ STOPTASKS,${DL_DIR},1G,100K \
+ STOPTASKS,${SSTATE_DIR},1G,100K \
+ STOPTASKS,/tmp,100M,100K \
+ ABORT,${TMPDIR},100M,1K \
+ ABORT,${DL_DIR},100M,1K \
+ ABORT,${SSTATE_DIR},100M,1K \
+ ABORT,/tmp,10M,1K"
+CONF_VERSION = "4"
+#BB_NUMBER_THREADS = "70"
+
+FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}"
+require conf/distro/include/security_flags.inc
+#SSTATE_DIR="~/.yocto/sstate"
+#DL_DIR="~/.yocto/download"
diff --git a/meta-openbmc-mods/meta-egs/conf/machine/intel-ast2600.conf b/meta-openbmc-mods/meta-egs/conf/machine/intel-ast2600.conf
new file mode 100644
index 000000000..c46d87dde
--- /dev/null
+++ b/meta-openbmc-mods/meta-egs/conf/machine/intel-ast2600.conf
@@ -0,0 +1 @@
+require conf/machine/include/intel-ast2600.inc