Skip to content

Instantly share code, notes, and snippets.

@pepone
Created January 30, 2019 13:08
Show Gist options
  • Save pepone/1ff01e03e1de6b35e4b2eb321e5bdc1a to your computer and use it in GitHub Desktop.
Save pepone/1ff01e03e1de6b35e4b2eb321e5bdc1a to your computer and use it in GitHub Desktop.
Yocto local.conf
MACHINE = "beaglebone-yocto"
DISTRO = "poky"
SDKMACHINE = "x86_64"
EXTRA_IMAGE_FEATURES = "debug-tweaks tools-sdk tools-debug dev-pkgs staticdev-pkgs ssh-server-dropbear"
#
# Enable bluetooth and NFS on the image
#
DISTRO_FEATURES_append = " bluetooth bluez5 nfs"
#
# Packages required for testing a source dist build, this set doesn't include
# Ice packages or packages required for build
#
IMAGE_INSTALL_append = " \
os-release \
git \
make \
nfs-utils-client \
glibc-gconvs \
glibc-utils \
ca-certificates \
python-misc \
python-modules \
python \
openssl \
bzip2 \
mcpp \
lmdb \
dbus-glib \
python \
zeroc-ice \
zeroc-glacier2 \
zeroc-icegrid \
zeroc-icepatch2 \
zeroc-icebox \
zeroc-icestorm \
zeroc-icebridge \
zeroc-ice-python \
zeroc-ice-slice \
zeroc-ice-utils \
dhcp-client"
ENABLE_BINARY_LOCALE_GENERATION = "1"
GLIBC_GENERATE_LOCALES = "en_US.UTF-8"
IMAGE_LINGUAS = "en-us"
#
# Add the target dev packages required for cross build
#
TOOLCHAIN_TARGET_TASK_append = " mcpp-staticdev lmdb-staticdev zeroc-ice-staticdev"
#
# Add the dev package to the host, we do that to get slice2xx compiler for the host
#
TOOLCHAIN_HOST_TASK_append = " nativesdk-zeroc-ice-dev"
#
# Match the last 3.7.2 commit
#
PREFERRED_VERSION_zeroc-ice = "3.7.2+git%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment