Skip to content

Instantly share code, notes, and snippets.

@yoneken
Last active August 29, 2015 14:10
Show Gist options
  • Save yoneken/f97bc6568a428f37a78f to your computer and use it in GitHub Desktop.
Save yoneken/f97bc6568a428f37a78f to your computer and use it in GitHub Desktop.
Yocto linux recipe for Intel Edison
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
COMPATIBLE_MACHINE = "edison"
LINUX_VERSION = "3.10.17"
SRCREV_machine = "c03195ed6e3066494e3fb4be69154a57066e845b"
SRCREV_meta = "6ad20f049abd52b515a8e0a4664861cfd331f684"
SRC_URI += "file://defconfig"
SRC_URI += "file://upstream_to_edison.patch"
SRC_URI += "file://patch-3.10.17-rt12_edison.patch"
SRC_URI += "file://intel_mid_rpmsg.c.patch"
do_configure() {
cp "${WORKDIR}/defconfig" "${B}/.config"
}
do_kernel_configme() {
cp "${WORKDIR}/defconfig" "${B}/.config"
}
do_patch() {
cd ${S}
git am "${WORKDIR}/upstream_to_edison.patch"
git apply "${WORKDIR}/patch-3.10.17-rt12_edison.patch"
git apply "${WORKDIR}/intel_mid_rpmsg.c.patch"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment