Last active
August 29, 2015 14:10
-
-
Save yoneken/f97bc6568a428f37a78f to your computer and use it in GitHub Desktop.
Yocto linux recipe for Intel Edison
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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